Implement persist death spell field

This commit is contained in:
Michael Cook (mackal)
2014-01-07 23:29:46 -05:00
parent 8a04d8e2b7
commit 50caef0086
7 changed files with 36 additions and 3 deletions
+8
View File
@@ -966,6 +966,14 @@ bool IsBuffSpell(uint16 spell_id)
return false;
}
bool IsPersistDeathSpell(uint16 spell_id)
{
if (IsValidSpell(spell_id) && spells[spell_id].persistdeath)
return true;
return false;
}
uint32 GetMorphTrigger(uint32 spell_id)
{
for (int i = 0; i < EFFECT_COUNT; ++i)