mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-22 16:28:28 +00:00
Make use of the suspendable spell flag
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user