aboutsummaryrefslogtreecommitdiff
path: root/src/game/BattleGroundRL.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/BattleGroundRL.h')
-rw-r--r--src/game/BattleGroundRL.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/game/BattleGroundRL.h b/src/game/BattleGroundRL.h
index 2fdbfc4c83c..75b568d7b61 100644
--- a/src/game/BattleGroundRL.h
+++ b/src/game/BattleGroundRL.h
@@ -24,13 +24,17 @@ enum BattleGroundRLObjectTypes
{
BG_RL_OBJECT_DOOR_1 = 0,
BG_RL_OBJECT_DOOR_2 = 1,
- BG_RL_OBJECT_MAX = 2
+ BG_RL_OBJECT_BUFF_1 = 2,
+ BG_RL_OBJECT_BUFF_2 = 3,
+ BG_RL_OBJECT_MAX = 4
};
enum BattleGroundRLObjects
{
BG_RL_OBJECT_TYPE_DOOR_1 = 185918,
- BG_RL_OBJECT_TYPE_DOOR_2 = 185917
+ BG_RL_OBJECT_TYPE_DOOR_2 = 185917,
+ BG_RL_OBJECT_TYPE_BUFF_1 = 184663,
+ BG_RL_OBJECT_TYPE_BUFF_2 = 184664
};
class BattleGroundRLScore : public BattleGroundScore
@@ -57,9 +61,8 @@ class BattleGroundRL : public BattleGround
void HandleAreaTrigger(Player *Source, uint32 Trigger);
bool SetupBattleGround();
virtual void ResetBGSubclass();
+ virtual void FillInitialWorldStates(WorldPacket &d);
void HandleKillPlayer(Player* player, Player *killer);
-
- private:
- uint32 m_TeamKills[2]; // count of kills for each team
+ bool HandlePlayerUnderMap(Player * plr);
};
#endif