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

This commit is contained in:
KayenEQ
2021-08-31 01:35:18 -04:00
committed by GitHub
parent 3b01608a71
commit 5f3c054044
7 changed files with 28 additions and 18 deletions
+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;
}