mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 17:54:48 +01:00
Core/Scripts: Fixed typo in spell_pilgrims_bounty_a_serving_of
This commit is contained in:
@@ -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