LUA Functions: IsHeroic(), LastSpellAttackHit()
Posted: Sun Dec 08, 2013 6:56 pm
Couple new functions, IsHeroic(Spawn* spawn) returns true only if the spawn's heroic flag == 1 (not if target is epic).
LastSpellAttackHit() requires no params but must be used from a spellscript, this returns true/false if the last SpellDamage() call in the spell hit successfully.
LastSpellAttackHit() requires no params but must be used from a spellscript, this returns true/false if the last SpellDamage() call in the spell hit successfully.