Core/Scripts: Fixed typo in spell_pilgrims_bounty_a_serving_of

This commit is contained in:
sirikfoll authored and Aokromes committed 2017-11-10 20:29:37 +01:00
1 parent 6acf8d0e62
commit 438e9001ae
1 file changed
+2 -2
+2 -2
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);
}