mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[9452] Replace battleground announcer options.
* Drop Battleground.QueueAnnouncer.Enable and Battleground.QueueAnnouncer.PlayerOnly * Add Battleground.QueueAnnouncer.Join with 0..2 values (1=to joined player, 2=to world) * Add Battleground.QueueAnnouncer.Start for start bg event Also fixed bug when not rated arenas announced as BG announces Also lost mangosd.config changes from prev commit.
This commit is contained in:
parent
19b14c5d58
commit
010b0504b6
6 changed files with 22 additions and 22 deletions
|
|
@ -708,10 +708,9 @@ void World::LoadConfigSettings(bool reload)
|
|||
else
|
||||
setConfig(CONFIG_BOOL_DECLINED_NAMES_USED, "DeclinedNames", false);
|
||||
|
||||
setConfig(CONFIG_BOOL_BATTLEGROUND_CAST_DESERTER, "Battleground.CastDeserter", true);
|
||||
setConfig(CONFIG_BOOL_BATTLEGROUND_QUEUE_ANNOUNCER_ENABLE, "Battleground.QueueAnnouncer.Enable", false);
|
||||
setConfig(CONFIG_BOOL_BATTLEGROUND_QUEUE_ANNOUNCER_PLAYERONLY, "Battleground.QueueAnnouncer.PlayerOnly", false);
|
||||
|
||||
setConfig(CONFIG_BOOL_BATTLEGROUND_CAST_DESERTER, "Battleground.CastDeserter", true);
|
||||
setConfigMinMax(CONFIG_UINT32_BATTLEGROUND_QUEUE_ANNOUNCER_JOIN, "Battleground.QueueAnnouncer.Join", 0, 0, 2);
|
||||
setConfig(CONFIG_BOOL_BATTLEGROUND_QUEUE_ANNOUNCER_START, "Battleground.QueueAnnouncer.Start", false);
|
||||
setConfig(CONFIG_UINT32_BATTLEGROUND_INVITATION_TYPE, "Battleground.InvitationType", 0);
|
||||
setConfig(CONFIG_UINT32_BATTLEGROUND_PREMATURE_FINISH_TIMER, "BattleGround.PrematureFinishTimer", 5 * MINUTE * IN_MILISECONDS);
|
||||
setConfig(CONFIG_UINT32_BATTLEGROUND_PREMADE_GROUP_WAIT_FOR_MATCH, "BattleGround.PremadeGroupWaitForMatch", 30 * MINUTE * IN_MILISECONDS);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue