mirror of
https://github.com/mangosfour/server.git
synced 2025-12-27 10:37:02 +00:00
[11794] Add support to start timed achievements in BGs
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
parent
0eff04c161
commit
dc5595a91f
12 changed files with 30 additions and 1 deletions
|
|
@ -127,6 +127,9 @@ void BattleGroundWS::StartingEventOpenDoors()
|
|||
SpawnEvent(WS_EVENT_SPIRITGUIDES_SPAWN, 0, true);
|
||||
SpawnEvent(WS_EVENT_FLAG_A, 0, true);
|
||||
SpawnEvent(WS_EVENT_FLAG_H, 0, true);
|
||||
|
||||
// Players that join battleground after start are not eligible to get achievement.
|
||||
StartTimedAchievement(ACHIEVEMENT_CRITERIA_TYPE_WIN_BG, BG_WS_EVENT_START_BATTLE);
|
||||
}
|
||||
|
||||
void BattleGroundWS::AddPlayer(Player *plr)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue