mirror of
https://github.com/mangosfour/server.git
synced 2025-12-27 19:37:04 +00:00
[7432] Fixed BattleGround's bonus_honor based on player level and reputation rewards. Implement functions for BattleGroundWeekends. Patch originally provided by Balrok. Thx
Correctly assigned some comments. Signed-off-by: Triply <triply@getmangos.com>
This commit is contained in:
parent
82e0e0b027
commit
aebcf212dc
9 changed files with 116 additions and 35 deletions
|
|
@ -93,7 +93,6 @@ enum BattleGroundTimeIntervals
|
|||
RESPAWN_ONE_DAY = 86400, // secs
|
||||
RESPAWN_IMMEDIATELY = 0, // secs
|
||||
BUFF_RESPAWN_TIME = 180, // secs
|
||||
BG_HONOR_SCORE_TICKS = 330 // points
|
||||
};
|
||||
|
||||
enum BattleGroundStartTimeIntervals
|
||||
|
|
@ -315,6 +314,7 @@ class BattleGround
|
|||
uint8 GetArenaType() const { return m_ArenaType; }
|
||||
uint8 GetWinner() const { return m_Winner; }
|
||||
uint32 GetBattlemasterEntry() const;
|
||||
uint32 GetBonusHonorFromKill(uint32 kills) const;
|
||||
|
||||
// Set methods:
|
||||
void SetName(char const* Name) { m_Name = Name; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue