mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 00:18:43 +01:00
Core/Battlegrounds: Remove temporary currency bonus auras before rewarding player at battleground end
(cherry picked from commit a2f6a2b6ca)
This commit is contained in:
@@ -769,6 +769,10 @@ void Battleground::EndBattleground(uint32 winner)
|
||||
CharacterDatabase.Execute(stmt);
|
||||
}
|
||||
|
||||
// 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