Core/Spells: cleaned up SpellAuraEffects::SetAmount helper and restore original handing of sending amounts

This commit is contained in:
Ovahlord committed 2022-09-30 00:40:37 +02:00
1 parent 34386e2b47
commit 62b8db9f6e
4 files changed
+15 -12

No files matched your search

+1 -1
View File
@@ -1036,7 +1036,7 @@ class spell_pal_exorcism : public SpellScript
return;
if (AuraEffect* exorcismAuraEff = target->GetAuraEffect(GetSpellInfo()->Id, EFFECT_1, caster->GetGUID()))
exorcismAuraEff->SetAmount(GetHitDamage() * 0.0688f);
exorcismAuraEff->ChangeAmount(GetHitDamage() * 0.0688f);
}
void Register() override