Anyone have a plugin function for auto divine caress gearswap.
Currently using motes whm gs but this is one thing I loved having when I was using spellcast
Tia
Auto Divine Caress Gearswap |
||
Auto divine caress gearswap
Offline
Posts: 11
Anyone have a plugin function for auto divine caress gearswap.
Currently using motes whm gs but this is one thing I loved having when I was using spellcast Tia This is among the rules of my whm Gearswap, which is written by Bokura.
Lines 13 to 16 cover automatic Divine Caress. I hope it helps. Code function pretarget(spell,action) if midaction() then add_to_chat(123, '****** ['..spell.name..' CANCELED] ******') canceled = true return elseif spell.action_type == 'Magic' and buffactive.silence then -- Auto Use Echo Drops If You Are Silenced -- cancel_spell() send_command('input /item "Echo Drops" <me>') elseif spell.english:ifind("Cure") and player.mp<actualCost(spell.mp_cost) then degrade_spell(spell,Cure_Spells) elseif spell.english:ifind("Curaga") and player.mp<actualCost(spell.mp_cost) then degrade_spell(spell,Curaga_Spells) elseif Na_Spells:contains(spell.english) then -- Auto Divine Caress -- if windower.ffxi.get_ability_recasts()[32] < 1 and (spell.target.type == 'PLAYER' or spell.target.name == player.name) and not buffactive.amnesia and not buffactive.charm and spell.english ~= "Erase" then cancel_spell() send_command('DivineCaress;wait 1.7;input /ma "'..spell.english..'" '..spell.target.name) end http://pastebin.com/u/Bokura |
||
All FFXI content and images © 2002-2024 SQUARE ENIX CO., LTD. FINAL
FANTASY is a registered trademark of Square Enix Co., Ltd.
|