Core/Scripts: Fixed typo in spell_pilgrims_bounty_a_serving_of
This commit is contained in:
1 parent
6acf8d0e62
commit
438e9001ae
1 file changed
+2
-2
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user