No categories assigned
LUA:LastSpellAttackHit
- Last edited 12 years ago by I need to Update My Profile
LUA Functions: LastSpellAttackHit()
Checks to see if the last SpellDamage() call in the spellscript hit successfully.
Syntax
LastSpellAttackHit()
Parameters
None
Usage
function cast(Caster, Target)
if LastSpellAttackHit() then
Say(Caster, "last spelldamage successful")
end
end
If the last spelldamage call in this spellscript hit successfully, the player will say, "last spelldamage successful".