[Spells] Updated pet suspend code to use spell effect data and bonuses (#1501)

This commit is contained in:
KayenEQ authored and GitHub committed 2021-08-31 00:35:18 -05:00
1 parent 3b01608a71
commit 5f3c054044
7 files changed
+28 -18

No files matched your search

+1 -2
View File
@@ -2534,11 +2534,10 @@ bool Mob::SpellEffect(Mob* caster, uint16 spell_id, float partial, int level_ove
break;
}
case SE_SuspendMinion:
case SE_SuspendPet:
{
if(IsClient())
CastToClient()->SuspendMinion();
CastToClient()->SuspendMinion(spell.base[i]);
break;
}