Make use of the suspendable spell flag

This commit is contained in:
Michael Cook (mackal)
2014-01-08 00:24:33 -05:00
parent 50caef0086
commit 5199364091
4 changed files with 12 additions and 2 deletions
+8
View File
@@ -974,6 +974,14 @@ bool IsPersistDeathSpell(uint16 spell_id)
return false;
}
bool IsSuspendableSpell(uint16 spell_id)
{
if (IsValidSpell(spell_id) && spells[spell_id].suspendable)
return true;
return false;
}
uint32 GetMorphTrigger(uint32 spell_id)
{
for (int i = 0; i < EFFECT_COUNT; ++i)