[7432] Fixed BattleGround's bonus_honor based on player level and reputation rewards. Implement functions for BattleGroundWeekends. Author: balrok, Triply

Correctly assigned some comments.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-03-09 18:14:06 -06:00
parent 0684515b90
commit b332caa1b5
9 changed files with 115 additions and 37 deletions
+4 -2
View File
@@ -179,6 +179,7 @@ class BattleGroundWS : public BattleGround
void HandleKillPlayer(Player *player, Player *killer);
bool SetupBattleGround();
virtual void Reset();
void EndBattleGround(uint32 winner);
virtual WorldSafeLocsEntry const* GetClosestGraveYard(Player* player);
void UpdateFlagState(uint32 team, uint32 value);
@@ -202,8 +203,9 @@ class BattleGroundWS : public BattleGround
int32 m_FlagsTimer[2];
int32 m_FlagsDropTimer[2];
int32 m_FlagSpellForceTimer;
int32 m_FlagSpellBrutalTimer;
uint32 m_ReputationCapture;
uint32 m_HonorWinKills;
uint32 m_HonorEndKills;
};
#endif