AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
BattlegroundDS.h File Reference
#include "Arena.h"
#include "Duration.h"
#include "EventMap.h"

Go to the source code of this file.

Classes

class  BattlegroundDS
 

Enumerations

enum  BattlegroundDSObjectTypes {
  BG_DS_OBJECT_DOOR_1 = 0 ,
  BG_DS_OBJECT_DOOR_2 = 1 ,
  BG_DS_OBJECT_WATER_1 = 2 ,
  BG_DS_OBJECT_WATER_2 = 3 ,
  BG_DS_OBJECT_BUFF_1 = 4 ,
  BG_DS_OBJECT_BUFF_2 = 5 ,
  BG_DS_OBJECT_READY_MARKER_1 = 6 ,
  BG_DS_OBJECT_READY_MARKER_2 = 7 ,
  BG_DS_OBJECT_MAX = 8
}
 
enum  BattlegroundDSGameObjects {
  BG_DS_OBJECT_TYPE_DOOR_1 = 192642 ,
  BG_DS_OBJECT_TYPE_DOOR_2 = 192643 ,
  BG_DS_OBJECT_TYPE_WATER_1 = 194395 ,
  BG_DS_OBJECT_TYPE_WATER_2 = 191877 ,
  BG_DS_OBJECT_TYPE_BUFF_1 = 184663 ,
  BG_DS_OBJECT_TYPE_BUFF_2 = 184664
}
 
enum  BattlegroundDSCreatureTypes {
  BG_DS_NPC_WATERFALL_KNOCKBACK = 0 ,
  BG_DS_NPC_PIPE_KNOCKBACK_1 = 1 ,
  BG_DS_NPC_PIPE_KNOCKBACK_2 = 2 ,
  BG_DS_NPC_MAX = 3
}
 
enum  BattlegroundDSCreatures { BG_DS_NPC_TYPE_WATER_SPOUT = 28567 }
 
enum  BattlegroundDSSpells {
  BG_DS_SPELL_FLUSH = 57405 ,
  BG_DS_SPELL_FLUSH_KNOCKBACK = 61698 ,
  BG_DS_SPELL_WATER_SPOUT = 58873 ,
  SPELL_WARL_DEMONIC_CIRCLE = 48018
}
 
enum  BattlegroundDSData {
  BG_DS_PIPE_KNOCKBACK_FIRST_DELAY = 5000 ,
  BG_DS_PIPE_KNOCKBACK_DELAY = 3000 ,
  BG_DS_PIPE_KNOCKBACK_TOTAL_COUNT = 2
}
 
enum  BattlegroundDSEvents {
  BG_DS_EVENT_WATERFALL_WARNING = 1 ,
  BG_DS_EVENT_WATERFALL_ON = 2 ,
  BG_DS_EVENT_WATERFALL_OFF = 3 ,
  BG_DS_EVENT_WATERFALL_KNOCKBACK = 4 ,
  BG_DS_EVENT_PIPE_KNOCKBACK = 5
}
 

Variables

constexpr Seconds BG_DS_WATERFALL_TIMER_MIN = 30s
 
constexpr Seconds BG_DS_WATERFALL_TIMER_MAX = 60s
 
constexpr Seconds BG_DS_WATERFALL_WARNING_DURATION = 5s
 
constexpr Seconds BG_DS_WATERFALL_DURATION = 30s
 
constexpr Milliseconds BG_DS_WATERFALL_KNOCKBACK_TIMER = 1500ms
 

Enumeration Type Documentation

◆ BattlegroundDSCreatures

Enumerator
BG_DS_NPC_TYPE_WATER_SPOUT 
57{
59};
@ BG_DS_NPC_TYPE_WATER_SPOUT
Definition: BattlegroundDS.h:58

◆ BattlegroundDSCreatureTypes

Enumerator
BG_DS_NPC_WATERFALL_KNOCKBACK 
BG_DS_NPC_PIPE_KNOCKBACK_1 
BG_DS_NPC_PIPE_KNOCKBACK_2 
BG_DS_NPC_MAX 
49{
54};
@ BG_DS_NPC_PIPE_KNOCKBACK_2
Definition: BattlegroundDS.h:52
@ BG_DS_NPC_PIPE_KNOCKBACK_1
Definition: BattlegroundDS.h:51
@ BG_DS_NPC_WATERFALL_KNOCKBACK
Definition: BattlegroundDS.h:50
@ BG_DS_NPC_MAX
Definition: BattlegroundDS.h:53

◆ BattlegroundDSData

Enumerator
BG_DS_PIPE_KNOCKBACK_FIRST_DELAY 
BG_DS_PIPE_KNOCKBACK_DELAY 
BG_DS_PIPE_KNOCKBACK_TOTAL_COUNT 
70{
74};
@ BG_DS_PIPE_KNOCKBACK_DELAY
Definition: BattlegroundDS.h:72
@ BG_DS_PIPE_KNOCKBACK_FIRST_DELAY
Definition: BattlegroundDS.h:71
@ BG_DS_PIPE_KNOCKBACK_TOTAL_COUNT
Definition: BattlegroundDS.h:73

◆ BattlegroundDSEvents

Enumerator
BG_DS_EVENT_WATERFALL_WARNING 
BG_DS_EVENT_WATERFALL_ON 
BG_DS_EVENT_WATERFALL_OFF 
BG_DS_EVENT_WATERFALL_KNOCKBACK 
BG_DS_EVENT_PIPE_KNOCKBACK 
84{
85 BG_DS_EVENT_WATERFALL_WARNING = 1, // Water starting to fall, but no LoS Blocking nor movement blocking
86 BG_DS_EVENT_WATERFALL_ON = 2, // LoS and Movement blocking active
89
91};
@ BG_DS_EVENT_WATERFALL_ON
Definition: BattlegroundDS.h:86
@ BG_DS_EVENT_WATERFALL_WARNING
Definition: BattlegroundDS.h:85
@ BG_DS_EVENT_PIPE_KNOCKBACK
Definition: BattlegroundDS.h:90
@ BG_DS_EVENT_WATERFALL_KNOCKBACK
Definition: BattlegroundDS.h:88
@ BG_DS_EVENT_WATERFALL_OFF
Definition: BattlegroundDS.h:87

◆ BattlegroundDSGameObjects

Enumerator
BG_DS_OBJECT_TYPE_DOOR_1 
BG_DS_OBJECT_TYPE_DOOR_2 
BG_DS_OBJECT_TYPE_WATER_1 
BG_DS_OBJECT_TYPE_WATER_2 
BG_DS_OBJECT_TYPE_BUFF_1 
BG_DS_OBJECT_TYPE_BUFF_2 
39{
42 BG_DS_OBJECT_TYPE_WATER_1 = 194395, // Collision
46};
@ BG_DS_OBJECT_TYPE_BUFF_1
Definition: BattlegroundDS.h:44
@ BG_DS_OBJECT_TYPE_DOOR_2
Definition: BattlegroundDS.h:41
@ BG_DS_OBJECT_TYPE_DOOR_1
Definition: BattlegroundDS.h:40
@ BG_DS_OBJECT_TYPE_WATER_2
Definition: BattlegroundDS.h:43
@ BG_DS_OBJECT_TYPE_WATER_1
Definition: BattlegroundDS.h:42
@ BG_DS_OBJECT_TYPE_BUFF_2
Definition: BattlegroundDS.h:45

◆ BattlegroundDSObjectTypes

Enumerator
BG_DS_OBJECT_DOOR_1 
BG_DS_OBJECT_DOOR_2 
BG_DS_OBJECT_WATER_1 
BG_DS_OBJECT_WATER_2 
BG_DS_OBJECT_BUFF_1 
BG_DS_OBJECT_BUFF_2 
BG_DS_OBJECT_READY_MARKER_1 
BG_DS_OBJECT_READY_MARKER_2 
BG_DS_OBJECT_MAX 
26{
29 BG_DS_OBJECT_WATER_1 = 2, // Collision
36};
@ BG_DS_OBJECT_READY_MARKER_1
Definition: BattlegroundDS.h:33
@ BG_DS_OBJECT_DOOR_2
Definition: BattlegroundDS.h:28
@ BG_DS_OBJECT_WATER_2
Definition: BattlegroundDS.h:30
@ BG_DS_OBJECT_MAX
Definition: BattlegroundDS.h:35
@ BG_DS_OBJECT_DOOR_1
Definition: BattlegroundDS.h:27
@ BG_DS_OBJECT_READY_MARKER_2
Definition: BattlegroundDS.h:34
@ BG_DS_OBJECT_BUFF_1
Definition: BattlegroundDS.h:31
@ BG_DS_OBJECT_BUFF_2
Definition: BattlegroundDS.h:32
@ BG_DS_OBJECT_WATER_1
Definition: BattlegroundDS.h:29

◆ BattlegroundDSSpells

Enumerator
BG_DS_SPELL_FLUSH 
BG_DS_SPELL_FLUSH_KNOCKBACK 
BG_DS_SPELL_WATER_SPOUT 
SPELL_WARL_DEMONIC_CIRCLE 
62{
63 BG_DS_SPELL_FLUSH = 57405, // Visual and target selector for the starting knockback from the pipe
64 BG_DS_SPELL_FLUSH_KNOCKBACK = 61698, // Knockback effect for previous spell (triggered, not need to be casted)
65 BG_DS_SPELL_WATER_SPOUT = 58873, // Knockback effect of the central waterfall
66 SPELL_WARL_DEMONIC_CIRCLE = 48018 // Demonic Circle Summon
67};
@ BG_DS_SPELL_FLUSH_KNOCKBACK
Definition: BattlegroundDS.h:64
@ BG_DS_SPELL_FLUSH
Definition: BattlegroundDS.h:63
@ BG_DS_SPELL_WATER_SPOUT
Definition: BattlegroundDS.h:65
@ SPELL_WARL_DEMONIC_CIRCLE
Definition: BattlegroundDS.h:66

Variable Documentation

◆ BG_DS_WATERFALL_DURATION

constexpr Seconds BG_DS_WATERFALL_DURATION = 30s
constexpr

◆ BG_DS_WATERFALL_KNOCKBACK_TIMER

constexpr Milliseconds BG_DS_WATERFALL_KNOCKBACK_TIMER = 1500ms
constexpr

◆ BG_DS_WATERFALL_TIMER_MAX

constexpr Seconds BG_DS_WATERFALL_TIMER_MAX = 60s
constexpr

◆ BG_DS_WATERFALL_TIMER_MIN

constexpr Seconds BG_DS_WATERFALL_TIMER_MIN = 30s
constexpr

◆ BG_DS_WATERFALL_WARNING_DURATION

constexpr Seconds BG_DS_WATERFALL_WARNING_DURATION = 5s
constexpr