mirror of
https://github.com/mangosfour/server.git
synced 2025-12-22 13:37:08 +00:00
[8546] implement battleground bonusweekends call to arms
This commit is contained in:
parent
b30fed45de
commit
0208c54bc9
7 changed files with 29 additions and 8 deletions
|
|
@ -21,7 +21,8 @@
|
|||
#include "BattleGround.h"
|
||||
#include "BattleGroundAB.h"
|
||||
#include "Creature.h"
|
||||
#include "ObjectMgr.h"
|
||||
#include "GameObject.h"
|
||||
#include "BattleGroundMgr.h"
|
||||
#include "Language.h"
|
||||
#include "Util.h"
|
||||
#include "WorldPacket.h"
|
||||
|
|
@ -580,7 +581,7 @@ void BattleGroundAB::Reset()
|
|||
m_ReputationScoreTics[BG_TEAM_ALLIANCE] = 0;
|
||||
m_ReputationScoreTics[BG_TEAM_HORDE] = 0;
|
||||
m_IsInformedNearVictory = false;
|
||||
bool isBGWeekend = false; //TODO FIXME - call sBattleGroundMgr.IsBGWeekend(m_TypeID); - you must also implement that call!
|
||||
bool isBGWeekend = sBattleGroundMgr.IsBGWeekend(GetTypeID());
|
||||
m_HonorTics = (isBGWeekend) ? BG_AB_ABBGWeekendHonorTicks : BG_AB_NotABBGWeekendHonorTicks;
|
||||
m_ReputationTics = (isBGWeekend) ? BG_AB_ABBGWeekendReputationTicks : BG_AB_NotABBGWeekendReputationTicks;
|
||||
m_TeamScores500Disadvantage[BG_TEAM_ALLIANCE] = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue