mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 19:37:03 +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
|
|
@ -471,7 +471,7 @@ void BattleGround::Update(uint32 diff)
|
|||
if (Player* plr = sObjectMgr.GetPlayer(itr->first))
|
||||
plr->RemoveAurasDueToSpell(SPELL_PREPARATION);
|
||||
//Announce BG starting
|
||||
if (sWorld.getConfig(CONFIG_BOOL_BATTLEGROUND_QUEUE_ANNOUNCER_ENABLE))
|
||||
if (sWorld.getConfig(CONFIG_BOOL_BATTLEGROUND_QUEUE_ANNOUNCER_START))
|
||||
{
|
||||
sWorld.SendWorldText(LANG_BG_STARTED_ANNOUNCE_WORLD, GetName(), GetMinLevel(), GetMaxLevel());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue