aboutsummaryrefslogtreecommitdiff
path: root/src/game/BattleGroundWS.h
diff options
context:
space:
mode:
authorraczman <none@none>2009-05-22 13:23:07 +0200
committerraczman <none@none>2009-05-22 13:23:07 +0200
commitf1ea5714f24ea0c3e51a6c37e0ce0bec577804b6 (patch)
tree76c2dc12cc2ca6d56d966606afd2550b3e28eef2 /src/game/BattleGroundWS.h
parentb0a48f60c92291c80ff40379316787e77f46321d (diff)
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
Diffstat (limited to 'src/game/BattleGroundWS.h')
-rw-r--r--src/game/BattleGroundWS.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/game/BattleGroundWS.h b/src/game/BattleGroundWS.h
index 4e57826cd30..837414fe6d2 100644
--- a/src/game/BattleGroundWS.h
+++ b/src/game/BattleGroundWS.h
@@ -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