Core/Battlegrounds: Remove temporary currency bonus auras before rewarding player at battleground end
This commit is contained in:
1 parent
ef9101ea83
commit
a2f6a2b6ca
1 file changed
+4
@@ -836,6 +836,10 @@ void Battleground::EndBattleground(uint32 winner)
|
||||
uint32 loser_kills = player->GetRandomWinner() ? BG_REWARD_LOSER_HONOR_LAST : BG_REWARD_LOSER_HONOR_FIRST;
|
||||
uint32 winner_arena = player->GetRandomWinner() ? BG_REWARD_WINNER_ARENA_LAST : BG_REWARD_WINNER_ARENA_FIRST;
|
||||
|
||||
// remove temporary currency bonus auras before rewarding player
|
||||
player->RemoveAura(SPELL_HONORABLE_DEFENDER_25Y);
|
||||
player->RemoveAura(SPELL_HONORABLE_DEFENDER_60Y);
|
||||
|
||||
// Reward winner team
|
||||
if (team == winner)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user