mirror of
https://github.com/mangosfour/server.git
synced 2025-12-29 16:37:04 +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
|
|
@ -109,6 +109,9 @@ void BattleGroundEY::StartingEventOpenDoors()
|
|||
uint8 buff = urand(0, 2);
|
||||
SpawnBGObject(m_BgObjects[BG_EY_OBJECT_SPEEDBUFF_FEL_REAVER + buff + i * 3], RESPAWN_IMMEDIATELY);
|
||||
}
|
||||
|
||||
// Players that join battleground after start are not eligible to get achievement.
|
||||
StartTimedAchievement(ACHIEVEMENT_CRITERIA_TYPE_WIN_BG, BG_EY_EVENT_START_BATTLE);
|
||||
}
|
||||
|
||||
void BattleGroundEY::AddPoints(Team team, uint32 Points)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue