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:
Andrew
2024-11-25 03:15:07 -03:00
committed by GitHub
parent 78dc29371c
commit 7da3ab573c

View File

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