mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 07:48:02 +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
|
// Cast spirit of sharing
|
||||||
if (count >= 5)
|
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);
|
player->CastSpell(player, SPELL_SPIRIT_OF_SHARING, true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user