diff options
author | sirikfoll <sirikfoll@hotmail.com> | 2017-11-08 10:21:32 -0200 |
---|---|---|
committer | sirikfoll <sirikfoll@hotmail.com> | 2017-11-08 10:21:32 -0200 |
commit | 1a638b39e374fd4733be7d13bd9e4d4052412596 (patch) | |
tree | 940bd1bdc2dbaa982e0cbc656b349ca1df371423 | |
parent | c99b89934e872343bece31f4bd744ebaec80364f (diff) |
Core/Scripts: Fixed typo in spell_pilgrims_bounty_a_serving_of
-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 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); } |