
Originally Posted by
Trumpy
OK with that new code I am gettin on a buff change a new error:
Line 365 is the:
modify you function name from this
function buff_change(buff,gain)
to
function buff_change(name,gain,buff_table)
and i also answered your second question
job abilitys use this
windower.ffxi.get_ability_recasts()[spell.recast_id]
spells use this
windower.ffxi.get_spell_recasts()[spell.recast_id]
if you want to you somthing like your original code here:
Code:
if spell.skill == 'Healing Magic' then
equip(sets.FC.Cure)
if na_spells[spell.name] and spell.target.in_party and spell.target.type ~= "SELF" then
if windower.ffxi.get_ability_recasts()[32] > 0 then
cancel_spell()
send_command('input /ja "Divine Caress" <me>;wait 1.5;input /ma "'..spell.name..'" <me>')
return
end
end
end