From e83c0b07d14f191020a66a4a103c4367e950c83f Mon Sep 17 00:00:00 2001 From: sirikfoll Date: Wed, 8 Nov 2017 10:21:32 -0200 Subject: Core/Scripts: Fixed typo in spell_pilgrims_bounty_a_serving_of (cherry picked from commit 1a638b39e374fd4733be7d13bd9e4d4052412596) --- src/server/scripts/Spells/spell_holiday.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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); } -- cgit v1.2.3