mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-07 15:28:02 +00:00
feat(Core/Scripting): Add OnBattlefieldWarEnd script hook (#25754)
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -364,6 +364,7 @@ void Battlefield::EndBattle(bool endByTimer)
|
||||
DoPlaySoundToAll(BF_HORDE_WINS);
|
||||
|
||||
OnBattleEnd(endByTimer);
|
||||
sScriptMgr->OnBattlefieldWarEnd(this, endByTimer);
|
||||
|
||||
// Reset battlefield timer
|
||||
Timer = NoWarBattleTime;
|
||||
|
||||
Reference in New Issue
Block a user