From 7da3ab573c054cbfa80449e51dbe12705bdeff5a Mon Sep 17 00:00:00 2001 From: Andrew <47818697+Nyeriah@users.noreply.github.com> Date: Mon, 25 Nov 2024 03:15:07 -0300 Subject: [PATCH] =?UTF-8?q?fix(Scripts/Events):=20Earning=20Spirit=20of=20?= =?UTF-8?q?Sharing=20should=20remove=20the=20othe=E2=80=A6=20(#20732)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix(Scripts/Events): Earning Spirit of Sharing should remove the other buffs --- src/server/scripts/Events/pilgrims_bounty.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/server/scripts/Events/pilgrims_bounty.cpp b/src/server/scripts/Events/pilgrims_bounty.cpp index d1d5c7029..cdcc85301 100644 --- a/src/server/scripts/Events/pilgrims_bounty.cpp +++ b/src/server/scripts/Events/pilgrims_bounty.cpp @@ -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); + } } } }