diff options
author | sirikfoll <sirikfoll@hotmail.com> | 2017-11-08 10:21:32 -0200 |
---|---|---|
committer | funjoker <funjoker109@gmail.com> | 2021-01-29 19:23:53 +0100 |
commit | e83c0b07d14f191020a66a4a103c4367e950c83f (patch) | |
tree | 029c5c5aafd70c15c72d5462079675010e550654 | |
parent | 0ec169958596a4fd2f7c17a5f67e7123f27820e9 (diff) |
Core/Scripts: Fixed typo in spell_pilgrims_bounty_a_serving_of
(cherry picked from commit 1a638b39e374fd4733be7d13bd9e4d4052412596)
-rw-r--r-- | src/server/scripts/Spells/spell_holiday.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/Spells/spell_holiday.cpp b/src/server/scripts/Spells/spell_holiday.cpp index 2556d465842..f6c58fdb7fa 100644 --- a/src/server/scripts/Spells/spell_holiday.cpp +++ b/src/server/scripts/Spells/spell_holiday.cpp @@ -923,14 +923,14 @@ class spell_pilgrims_bounty_a_serving_of : public SpellScriptLoader void OnApply(AuraEffect const* aurEff, AuraEffectHandleModes /*mode*/) { Unit* target = GetTarget(); - target->CastSpell(target, uint32(aurEff->GetBaseAmount()), true); + target->CastSpell(target, uint32(aurEff->GetAmount()), true); HandlePlate(target, true); } void OnRemove(AuraEffect const* aurEff, AuraEffectHandleModes /*mode*/) { Unit* target = GetTarget(); - target->RemoveAurasDueToSpell(aurEff->GetBaseAmount()); + target->RemoveAurasDueToSpell(aurEff->GetAmount()); HandlePlate(target, false); } |