by LYQ » Mon Dec 07, 2015 8:07 am
Tanktest wrote:- Code: Select all
/run isUsable, notEnoughMana = isUsableAction(6); if (isUsable) then CastSpellByName("Revenge") else CastSpellByName("Sunder Armor"); end
It sunders armor correctly but it never casts Revenge, even if its available to use
I guess the first parameter "isUsable" means another another thing than you expect it to, since the logic is fine.
LYQ / Virose
Talentsaver (viewtopic.php?f=63&t=15429) - Totemtimers Enhanced (viewtopic.php?f=63&t=24422)
NostalriusAcceptTrade (viewtopic.php?f=63&t=31729)