LUA Functions: IsHeroic(), LastSpellAttackHit()

Discussions on development of both the EQ2Emulator LUA Script Engine and Script specifications

Moderator: Team Members

Post Reply
User avatar
thefoof
Retired
Posts: 630
Joined: Wed Nov 07, 2012 7:36 pm
Location: Florida

LUA Functions: IsHeroic(), LastSpellAttackHit()

Post by thefoof » 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.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests