aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsirikfoll <sirikfoll@hotmail.com>2017-11-08 10:21:32 -0200
committersirikfoll <sirikfoll@hotmail.com>2017-11-08 10:21:32 -0200
commit1a638b39e374fd4733be7d13bd9e4d4052412596 (patch)
tree940bd1bdc2dbaa982e0cbc656b349ca1df371423
parentc99b89934e872343bece31f4bd744ebaec80364f (diff)
Core/Scripts: Fixed typo in spell_pilgrims_bounty_a_serving_of
-rw-r--r--src/server/scripts/Spells/spell_holiday.cpp4
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 b278cec06bd..f211f3248ae 100644
--- a/src/server/scripts/Spells/spell_holiday.cpp
+++ b/src/server/scripts/Spells/spell_holiday.cpp
@@ -921,14 +921,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);
}