From 438e9001ae75cf53591da5076bdfe6a053e02202 Mon Sep 17 00:00:00 2001 From: sirikfoll Date: Wed, 8 Nov 2017 10:21:32 -0200 Subject: [PATCH] Core/Scripts: Fixed typo in spell_pilgrims_bounty_a_serving_of --- src/server/scripts/Spells/spell_holiday.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/scripts/Spells/spell_holiday.cpp b/src/server/scripts/Spells/spell_holiday.cpp index 588bccb9596..8cf817b3aaa 100644 --- a/src/server/scripts/Spells/spell_holiday.cpp +++ b/src/server/scripts/Spells/spell_holiday.cpp @@ -920,14 +920,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); }