mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 09:17:18 +00:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user