Core/Spells: use ModStackAmount to drop stacks for Fingers of Frost

This commit is contained in:
Ovahlord committed 2019-02-14 08:44:31 +01:00
1 parent cb26db90f1
commit 9b88acf4dc
1 file changed
+1 -4
+1 -4
View File
@@ -2147,10 +2147,7 @@ class spell_mage_fingers_of_frost_charges : public AuraScript
void HandleProc(AuraEffect const* aurEff, ProcEventInfo& /*eventInfo*/)
{
PreventDefaultAction();
if (GetStackAmount() > 1)
SetStackAmount(GetStackAmount() - 1);
else
Remove();
GetAura()->ModStackAmount(-1);
}
void Register() override