fix(Scripts/Events): Earning Spirit of Sharing should remove the othe… (#20732)
fix(Scripts/Events): Earning Spirit of Sharing should remove the other buffs
This commit is contained in:
parent
78dc29371c
commit
7da3ab573c
1 changed files with 7 additions and 0 deletions
|
|
@ -501,7 +501,14 @@ class spell_pilgrims_bounty_feast_on_generic : public SpellScript
|
|||
|
||||
// Cast spirit of sharing
|
||||
if (count >= 5)
|
||||
{
|
||||
player->RemoveAurasDueToSpell(SPELL_PLAYER_TURKEY);
|
||||
player->RemoveAurasDueToSpell(SPELL_PLAYER_STUFFING);
|
||||
player->RemoveAurasDueToSpell(SPELL_PLAYER_PIE);
|
||||
player->RemoveAurasDueToSpell(SPELL_PLAYER_CRANBERRY);
|
||||
player->RemoveAurasDueToSpell(SPELL_PLAYER_SWEET_POTATOES);
|
||||
player->CastSpell(player, SPELL_SPIRIT_OF_SHARING, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue