mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[12100] Finalize Outdoor PvP Implementation
Implementation by Xfurry and stfx Thanks to all original Outdoor PvP authors - especially Balrok Thanks to X-Savior for the proper data Thanks to crackm for help with database And thanks to all people who contributed and/or posted bug reports Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
parent
59c3a02eb6
commit
088ed3ff69
2 changed files with 7 additions and 1 deletions
|
|
@ -50,6 +50,7 @@
|
|||
#include "CreatureAIRegistry.h"
|
||||
#include "Policies/SingletonImp.h"
|
||||
#include "BattleGroundMgr.h"
|
||||
#include "OutdoorPvP/OutdoorPvP.h"
|
||||
#include "TemporarySummon.h"
|
||||
#include "VMapFactory.h"
|
||||
#include "MoveMap.h"
|
||||
|
|
@ -1370,6 +1371,10 @@ void World::SetInitialWorldSettings()
|
|||
sBattleGroundMgr.CreateInitialBattleGrounds();
|
||||
sBattleGroundMgr.InitAutomaticArenaPointDistribution();
|
||||
|
||||
///- Initialize Outdoor PvP
|
||||
sLog.outString("Starting Outdoor PvP System");
|
||||
sOutdoorPvPMgr.InitOutdoorPvP();
|
||||
|
||||
// Not sure if this can be moved up in the sequence (with static data loading) as it uses MapManager
|
||||
sLog.outString("Loading Transports...");
|
||||
sMapMgr.LoadTransports();
|
||||
|
|
@ -1538,6 +1543,7 @@ void World::Update(uint32 diff)
|
|||
///- Update objects (maps, transport, creatures,...)
|
||||
sMapMgr.Update(diff);
|
||||
sBattleGroundMgr.Update(diff);
|
||||
sOutdoorPvPMgr.Update(diff);
|
||||
|
||||
///- Delete all characters which have been deleted X days before
|
||||
if (m_timers[WUPDATE_DELETECHARS].Passed())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue