Core/Scripts: Fixed typo in spell_pilgrims_bounty_a_serving_of

This commit is contained in:
sirikfoll
2017-11-08 10:21:32 -02:00
committed by Aokromes
parent 6acf8d0e62
commit 438e9001ae

View File

@@ -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);
}