AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
OutdoorPvPNA.h File Reference
#include "OutdoorPvP.h"

Go to the source code of this file.

Classes

struct  HalaaIds
 
class  OPvPCapturePointNA
 
class  OutdoorPvPNA
 

Typedefs

typedef std::map< uint32, ObjectGuid::LowTypeHalaaNPCS
 

Enumerations

enum  OutdoorPvPNASpells {
  NA_KILL_TOKEN_ALLIANCE = 33005 ,
  NA_KILL_TOKEN_HORDE = 33004 ,
  NA_CAPTURE_BUFF = 33795
}
 
enum  ControlGOTypes {
  NA_ROOST_S = 0 ,
  NA_ROOST_W = 1 ,
  NA_ROOST_N = 2 ,
  NA_ROOST_E = 3 ,
  NA_BOMB_WAGON_S = 4 ,
  NA_BOMB_WAGON_W = 5 ,
  NA_BOMB_WAGON_N = 6 ,
  NA_BOMB_WAGON_E = 7 ,
  NA_DESTROYED_ROOST_S = 8 ,
  NA_DESTROYED_ROOST_W = 9 ,
  NA_DESTROYED_ROOST_N = 10 ,
  NA_DESTROYED_ROOST_E = 11 ,
  NA_CONTROL_GO_NUM = 12
}
 
enum  FlightSpellsNA {
  NA_SPELL_FLY_SOUTH = 32059 ,
  NA_SPELL_FLY_WEST = 32068 ,
  NA_SPELL_FLY_NORTH = 32075 ,
  NA_SPELL_FLY_EAST = 32081
}
 
enum  HalaaGuardsNA {
  NA_HALAANI_GUARD_A = 18256 ,
  NA_HALAANI_GUARD_H = 18192
}
 
enum  HalaaCreaturesSpawn {
  NA_HALAA_CREATURES = 12 ,
  NA_HALAA_CREATURE_TEAM_SPAWN = 20 ,
  NA_HALAA_MAX_CREATURE_SPAWN = 40
}
 
enum  WyvernStates {
  WYVERN_NEU_HORDE = 1 ,
  WYVERN_NEU_ALLIANCE = 2 ,
  WYVERN_HORDE = 4 ,
  WYVERN_ALLIANCE = 8
}
 
enum  HalaaStates {
  HALAA_N = 1 ,
  HALAA_N_A = 2 ,
  HALAA_A = 4 ,
  HALAA_N_H = 8 ,
  HALAA_H = 16
}
 

Variables

const uint32 NA_CREDIT_MARKER = 24867
 
const uint32 NA_GUARDS_MAX = 15
 
const uint32 NA_BUFF_ZONE = 3518
 
const uint32 NA_HALAA_GRAVEYARD = 993
 
const uint32 NA_HALAA_GRAVEYARD_ZONE = 3518
 
uint32 const NA_HALAA_ZONE_ID = 3628
 
const uint32 NA_RESPAWN_TIME = 3600000
 
const uint32 NA_GUARD_CHECK_TIME = 500
 
const uint32 NA_HALAA_BOMB = 24538
 
const uint32 FLIGHT_NODES_NUM = 4
 
const uint32 FlightPathStartNodes [FLIGHT_NODES_NUM] = {103, 105, 107, 109}
 
const uint32 FlightPathEndNodes [FLIGHT_NODES_NUM] = {104, 106, 108, 110}
 
const go_type HordeControlGOs [NA_CONTROL_GO_NUM]
 
const go_type AllianceControlGOs [NA_CONTROL_GO_NUM]
 
const HalaaIds PatrolCreatureEntry [NA_HALAA_CREATURES]
 

Typedef Documentation

◆ HalaaNPCS

typedef std::map<uint32, ObjectGuid::LowType> HalaaNPCS

Enumeration Type Documentation

◆ ControlGOTypes

Enumerator
NA_ROOST_S 
NA_ROOST_W 
NA_ROOST_N 
NA_ROOST_E 
NA_BOMB_WAGON_S 
NA_BOMB_WAGON_W 
NA_BOMB_WAGON_N 
NA_BOMB_WAGON_E 
NA_DESTROYED_ROOST_S 
NA_DESTROYED_ROOST_W 
NA_DESTROYED_ROOST_N 
NA_DESTROYED_ROOST_E 
NA_CONTROL_GO_NUM 
55{
56 NA_ROOST_S = 0,
57 NA_ROOST_W = 1,
58 NA_ROOST_N = 2,
59 NA_ROOST_E = 3,
60
65
70
72};
@ NA_ROOST_W
Definition OutdoorPvPNA.h:57
@ NA_BOMB_WAGON_E
Definition OutdoorPvPNA.h:64
@ NA_DESTROYED_ROOST_S
Definition OutdoorPvPNA.h:66
@ NA_BOMB_WAGON_N
Definition OutdoorPvPNA.h:63
@ NA_BOMB_WAGON_W
Definition OutdoorPvPNA.h:62
@ NA_DESTROYED_ROOST_E
Definition OutdoorPvPNA.h:69
@ NA_BOMB_WAGON_S
Definition OutdoorPvPNA.h:61
@ NA_DESTROYED_ROOST_N
Definition OutdoorPvPNA.h:68
@ NA_DESTROYED_ROOST_W
Definition OutdoorPvPNA.h:67
@ NA_ROOST_E
Definition OutdoorPvPNA.h:59
@ NA_CONTROL_GO_NUM
Definition OutdoorPvPNA.h:71
@ NA_ROOST_N
Definition OutdoorPvPNA.h:58
@ NA_ROOST_S
Definition OutdoorPvPNA.h:56

◆ FlightSpellsNA

Enumerator
NA_SPELL_FLY_SOUTH 
NA_SPELL_FLY_WEST 
NA_SPELL_FLY_NORTH 
NA_SPELL_FLY_EAST 
78{
79 NA_SPELL_FLY_SOUTH = 32059,
80 NA_SPELL_FLY_WEST = 32068,
81 NA_SPELL_FLY_NORTH = 32075,
82 NA_SPELL_FLY_EAST = 32081
83};
@ NA_SPELL_FLY_SOUTH
Definition OutdoorPvPNA.h:79
@ NA_SPELL_FLY_WEST
Definition OutdoorPvPNA.h:80
@ NA_SPELL_FLY_EAST
Definition OutdoorPvPNA.h:82
@ NA_SPELL_FLY_NORTH
Definition OutdoorPvPNA.h:81

◆ HalaaCreaturesSpawn

Enumerator
NA_HALAA_CREATURES 
NA_HALAA_CREATURE_TEAM_SPAWN 
NA_HALAA_MAX_CREATURE_SPAWN 
93{
94 NA_HALAA_CREATURES = 12, //Quantity of creatures_templates contains HALAA
95 NA_HALAA_CREATURE_TEAM_SPAWN = 20, //Number of creatures by team
96 NA_HALAA_MAX_CREATURE_SPAWN = 40 //Number of creatures by both teams
97};
@ NA_HALAA_MAX_CREATURE_SPAWN
Definition OutdoorPvPNA.h:96
@ NA_HALAA_CREATURES
Definition OutdoorPvPNA.h:94
@ NA_HALAA_CREATURE_TEAM_SPAWN
Definition OutdoorPvPNA.h:95

◆ HalaaGuardsNA

Enumerator
NA_HALAANI_GUARD_A 
NA_HALAANI_GUARD_H 
87{
88 NA_HALAANI_GUARD_A = 18256,
89 NA_HALAANI_GUARD_H = 18192
90};
@ NA_HALAANI_GUARD_H
Definition OutdoorPvPNA.h:89
@ NA_HALAANI_GUARD_A
Definition OutdoorPvPNA.h:88

◆ HalaaStates

Enumerator
HALAA_N 
HALAA_N_A 
HALAA_A 
HALAA_N_H 
HALAA_H 
169{
170 HALAA_N = 1,
171 HALAA_N_A = 2,
172 HALAA_A = 4,
173 HALAA_N_H = 8,
174 HALAA_H = 16
175};
@ HALAA_N
Definition OutdoorPvPNA.h:170
@ HALAA_N_A
Definition OutdoorPvPNA.h:171
@ HALAA_H
Definition OutdoorPvPNA.h:174
@ HALAA_A
Definition OutdoorPvPNA.h:172
@ HALAA_N_H
Definition OutdoorPvPNA.h:173

◆ OutdoorPvPNASpells

Todo:
: "sometimes" set to neutral
Enumerator
NA_KILL_TOKEN_ALLIANCE 
NA_KILL_TOKEN_HORDE 
NA_CAPTURE_BUFF 
26{
28 NA_KILL_TOKEN_HORDE = 33004,
29 NA_CAPTURE_BUFF = 33795 // strength of the halaani
30};
@ NA_CAPTURE_BUFF
Definition OutdoorPvPNA.h:29
@ NA_KILL_TOKEN_HORDE
Definition OutdoorPvPNA.h:28
@ NA_KILL_TOKEN_ALLIANCE
Definition OutdoorPvPNA.h:27

◆ WyvernStates

Enumerator
WYVERN_NEU_HORDE 
WYVERN_NEU_ALLIANCE 
WYVERN_HORDE 
WYVERN_ALLIANCE 
161{
164 WYVERN_HORDE = 4,
166};
@ WYVERN_NEU_HORDE
Definition OutdoorPvPNA.h:162
@ WYVERN_NEU_ALLIANCE
Definition OutdoorPvPNA.h:163
@ WYVERN_ALLIANCE
Definition OutdoorPvPNA.h:165
@ WYVERN_HORDE
Definition OutdoorPvPNA.h:164

Variable Documentation

◆ AllianceControlGOs

const go_type AllianceControlGOs[NA_CONTROL_GO_NUM]
Initial value:
=
{
{182301, 530, -1815.8f, 8036.51f, -26.2354f, -2.89725f, 0.0f, 0.0f, 0.992546f, -0.121869f},
{182302, 530, -1507.95f, 8132.1f, -19.5585f, -1.3439f, 0.0f, 0.0f, 0.622515f, -0.782608f},
{182303, 530, -1384.52f, 7779.33f, -11.1663f, -0.575959f, 0.0f, 0.0f, 0.284015f, -0.95882f},
{182304, 530, -1650.11f, 7732.56f, -15.4505f, -2.80998f, 0.0f, 0.0f, 0.986286f, -0.165048f},
{182305, 530, -1825.4022f, 8039.2602f, -26.08f, -2.89725f, 0.0f, 0.0f, 0.992546f, -0.121869f},
{182306, 530, -1517.44f, 8140.24f, -20.17f, -2.8099f, 0.0f, 0.0f, 0.622515f, -0.782608f},
{182307, 530, -1389.53f, 7782.50f, -11.62f, -1.5184f, 0.0f, 0.0f, 0.284015f, -0.95882f},
{182308, 530, -1662.28f, 7735.00f, -15.96f, 1.8845f, 0.0f, 0.0f, 0.986286f, -0.165048f},
{182297, 530, -1815.8f, 8036.51f, -26.2354f, -2.89725f, 0.0f, 0.0f, 0.992546f, -0.121869f},
{182298, 530, -1507.95f, 8132.1f, -19.5585f, -1.3439f, 0.0f, 0.0f, 0.622515f, -0.782608f},
{182299, 530, -1384.52f, 7779.33f, -11.1663f, -0.575959f, 0.0f, 0.0f, 0.284015f, -0.95882f},
{182300, 530, -1650.11f, 7732.56f, -15.4505f, -2.80998f, 0.0f, 0.0f, 0.986286f, -0.165048f}
}
120{
121 {182301, 530, -1815.8f, 8036.51f, -26.2354f, -2.89725f, 0.0f, 0.0f, 0.992546f, -0.121869f}, //HORDE_ROOST_SOUTH
122 {182302, 530, -1507.95f, 8132.1f, -19.5585f, -1.3439f, 0.0f, 0.0f, 0.622515f, -0.782608f}, //HORDE_ROOST_WEST
123 {182303, 530, -1384.52f, 7779.33f, -11.1663f, -0.575959f, 0.0f, 0.0f, 0.284015f, -0.95882f}, //HORDE_ROOST_NORTH
124 {182304, 530, -1650.11f, 7732.56f, -15.4505f, -2.80998f, 0.0f, 0.0f, 0.986286f, -0.165048f}, //HORDE_ROOST_EAST
125
126 {182305, 530, -1825.4022f, 8039.2602f, -26.08f, -2.89725f, 0.0f, 0.0f, 0.992546f, -0.121869f}, //ALLY_BOMB_WAGON_SOUTH
127 {182306, 530, -1517.44f, 8140.24f, -20.17f, -2.8099f, 0.0f, 0.0f, 0.622515f, -0.782608f}, //ALLY_BOMB_WAGON_WEST
128 {182307, 530, -1389.53f, 7782.50f, -11.62f, -1.5184f, 0.0f, 0.0f, 0.284015f, -0.95882f}, //ALLY_BOMB_WAGON_NORTH
129 {182308, 530, -1662.28f, 7735.00f, -15.96f, 1.8845f, 0.0f, 0.0f, 0.986286f, -0.165048f}, //ALLY_BOMB_WAGON_EAST
130
131 {182297, 530, -1815.8f, 8036.51f, -26.2354f, -2.89725f, 0.0f, 0.0f, 0.992546f, -0.121869f}, //DESTROYED_HORDE_ROOST_SOUTH
132 {182298, 530, -1507.95f, 8132.1f, -19.5585f, -1.3439f, 0.0f, 0.0f, 0.622515f, -0.782608f}, //DESTROYED_HORDE_ROOST_WEST
133 {182299, 530, -1384.52f, 7779.33f, -11.1663f, -0.575959f, 0.0f, 0.0f, 0.284015f, -0.95882f}, //DESTROYED_HORDE_ROOST_NORTH
134 {182300, 530, -1650.11f, 7732.56f, -15.4505f, -2.80998f, 0.0f, 0.0f, 0.986286f, -0.165048f} //DESTROYED_HORDE_ROOST_EAST
135};

Referenced by OPvPCapturePointNA::HandleOpenGo(), and OPvPCapturePointNA::SpawnGOsForTeam().

◆ FLIGHT_NODES_NUM

const uint32 FLIGHT_NODES_NUM = 4

◆ FlightPathEndNodes

const uint32 FlightPathEndNodes[FLIGHT_NODES_NUM] = {104, 106, 108, 110}
75{104, 106, 108, 110};

Referenced by OPvPCapturePointNA::HandleCustomSpell().

◆ FlightPathStartNodes

const uint32 FlightPathStartNodes[FLIGHT_NODES_NUM] = {103, 105, 107, 109}
74{103, 105, 107, 109};

Referenced by OPvPCapturePointNA::HandleCustomSpell().

◆ HordeControlGOs

const go_type HordeControlGOs[NA_CONTROL_GO_NUM]
Initial value:
=
{
{182267, 530, -1815.8f, 8036.51f, -26.2354f, -2.89725f, 0.0f, 0.0f, 0.992546f, -0.121869f},
{182280, 530, -1507.95f, 8132.1f, -19.5585f, -1.3439f, 0.0f, 0.0f, 0.622515f, -0.782608f},
{182281, 530, -1384.52f, 7779.33f, -11.1663f, -0.575959f, 0.0f, 0.0f, 0.284015f, -0.95882f},
{182282, 530, -1650.11f, 7732.56f, -15.4505f, -2.80998f, 0.0f, 0.0f, 0.986286f, -0.165048f},
{182222, 530, -1825.4022f, 8039.2602f, -26.08f, -2.89725f, 0.0f, 0.0f, 0.992546f, -0.121869f},
{182272, 530, -1517.44f, 8140.24f, -20.17f, -2.8099f, 0.0f, 0.0f, 0.622515f, -0.782608f},
{182273, 530, -1389.53f, 7782.50f, -11.62f, -1.5184f, 0.0f, 0.0f, 0.284015f, -0.95882f},
{182274, 530, -1662.28f, 7735.00f, -15.96f, 1.8845f, 0.0f, 0.0f, 0.986286f, -0.165048f},
{182266, 530, -1815.8f, 8036.51f, -26.2354f, -2.89725f, 0.0f, 0.0f, 0.992546f, -0.121869f},
{182275, 530, -1507.95f, 8132.1f, -19.5585f, -1.3439f, 0.0f, 0.0f, 0.622515f, -0.782608f},
{182276, 530, -1384.52f, 7779.33f, -11.1663f, -0.575959f, 0.0f, 0.0f, 0.284015f, -0.95882f},
{182277, 530, -1650.11f, 7732.56f, -15.4505f, -2.80998f, 0.0f, 0.0f, 0.986286f, -0.165048f}
}
101{
102 {182267, 530, -1815.8f, 8036.51f, -26.2354f, -2.89725f, 0.0f, 0.0f, 0.992546f, -0.121869f}, //ALLY_ROOST_SOUTH
103 {182280, 530, -1507.95f, 8132.1f, -19.5585f, -1.3439f, 0.0f, 0.0f, 0.622515f, -0.782608f}, //ALLY_ROOST_WEST
104 {182281, 530, -1384.52f, 7779.33f, -11.1663f, -0.575959f, 0.0f, 0.0f, 0.284015f, -0.95882f}, //ALLY_ROOST_NORTH
105 {182282, 530, -1650.11f, 7732.56f, -15.4505f, -2.80998f, 0.0f, 0.0f, 0.986286f, -0.165048f}, //ALLY_ROOST_EAST
106
107 {182222, 530, -1825.4022f, 8039.2602f, -26.08f, -2.89725f, 0.0f, 0.0f, 0.992546f, -0.121869f}, //HORDE_BOMB_WAGON_SOUTH
108 {182272, 530, -1517.44f, 8140.24f, -20.17f, -2.8099f, 0.0f, 0.0f, 0.622515f, -0.782608f}, //HORDE_BOMB_WAGON_WEST
109 {182273, 530, -1389.53f, 7782.50f, -11.62f, -1.5184f, 0.0f, 0.0f, 0.284015f, -0.95882f}, //HORDE_BOMB_WAGON_NORTH
110 {182274, 530, -1662.28f, 7735.00f, -15.96f, 1.8845f, 0.0f, 0.0f, 0.986286f, -0.165048f}, //HORDE_BOMB_WAGON_EAST
111
112 {182266, 530, -1815.8f, 8036.51f, -26.2354f, -2.89725f, 0.0f, 0.0f, 0.992546f, -0.121869f}, //DESTROYED_ALLY_ROOST_SOUTH
113 {182275, 530, -1507.95f, 8132.1f, -19.5585f, -1.3439f, 0.0f, 0.0f, 0.622515f, -0.782608f}, //DESTROYED_ALLY_ROOST_WEST
114 {182276, 530, -1384.52f, 7779.33f, -11.1663f, -0.575959f, 0.0f, 0.0f, 0.284015f, -0.95882f}, //DESTROYED_ALLY_ROOST_NORTH
115 {182277, 530, -1650.11f, 7732.56f, -15.4505f, -2.80998f, 0.0f, 0.0f, 0.986286f, -0.165048f} //DESTROYED_ALLY_ROOST_EAST
116};

Referenced by OPvPCapturePointNA::HandleOpenGo(), and OPvPCapturePointNA::SpawnGOsForTeam().

◆ NA_BUFF_ZONE

const uint32 NA_BUFF_ZONE = 3518

◆ NA_CREDIT_MARKER

const uint32 NA_CREDIT_MARKER = 24867

◆ NA_GUARD_CHECK_TIME

const uint32 NA_GUARD_CHECK_TIME = 500

◆ NA_GUARDS_MAX

◆ NA_HALAA_BOMB

const uint32 NA_HALAA_BOMB = 24538

◆ NA_HALAA_GRAVEYARD

const uint32 NA_HALAA_GRAVEYARD = 993

◆ NA_HALAA_GRAVEYARD_ZONE

◆ NA_HALAA_ZONE_ID

uint32 const NA_HALAA_ZONE_ID = 3628

◆ NA_RESPAWN_TIME

const uint32 NA_RESPAWN_TIME = 3600000

◆ PatrolCreatureEntry

const HalaaIds PatrolCreatureEntry[NA_HALAA_CREATURES]
Initial value:
=
{
{18192},
{18816},
{18821},
{21474},
{21484},
{21483},
{18256},
{18817},
{18822},
{21485},
{21487},
{21488}
}
143{
144 // Horde
145 {18192},
146 {18816},
147 {18821},
148 {21474},
149 {21484},
150 {21483},
151 // Ally
152 {18256},
153 {18817},
154 {18822},
155 {21485},
156 {21487},
157 {21488}
158};

Referenced by outdoorpvp_na_halaa_creatures::UpdateAI().