Implemented carrier debuffs in WSG battleground
After 10 and 15 minutes players carrying flags will receive debuffs, if both flags are kept. In case of dropping flag buff is removed. When Flag is picked up by another player, he gets debuff. Please test and report bugs. --HG-- branch : trunk
This commit is contained in:
@@ -128,6 +128,12 @@ enum BG_WS_CreatureTypes
|
||||
BG_CREATURES_MAX_WS = 2
|
||||
};
|
||||
|
||||
enum BG_WS_CarrierDebuffs
|
||||
{
|
||||
WS_SPELL_FOCUSED_ASSAULT = 46392,
|
||||
WS_SPELL_BRUTAL_ASSAULT = 46393
|
||||
};
|
||||
|
||||
class BattleGroundWGScore : public BattleGroundScore
|
||||
{
|
||||
public:
|
||||
@@ -196,9 +202,11 @@ class BattleGroundWS : public BattleGround
|
||||
uint32 m_TeamScores[2];
|
||||
int32 m_FlagsTimer[2];
|
||||
int32 m_FlagsDropTimer[2];
|
||||
|
||||
|
||||
int32 m_FlagSpellForceTimer;
|
||||
int32 m_FlagSpellBrutalTimer;
|
||||
bool m_BothFlagsKept;
|
||||
uint8 m_FlagDebuffState; // 0 - no debuffs, 1 - focused assault, 2 - brutal assault
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user