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 = AREA_NAGRAND
 
const uint32 NA_HALAA_GRAVEYARD = 993
 
const uint32 NA_HALAA_GRAVEYARD_ZONE = AREA_NAGRAND
 
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 
53{
54 NA_ROOST_S = 0,
55 NA_ROOST_W = 1,
56 NA_ROOST_N = 2,
57 NA_ROOST_E = 3,
58
63
68
70};
@ NA_ROOST_W
Definition OutdoorPvPNA.h:55
@ NA_BOMB_WAGON_E
Definition OutdoorPvPNA.h:62
@ NA_DESTROYED_ROOST_S
Definition OutdoorPvPNA.h:64
@ NA_BOMB_WAGON_N
Definition OutdoorPvPNA.h:61
@ NA_BOMB_WAGON_W
Definition OutdoorPvPNA.h:60
@ NA_DESTROYED_ROOST_E
Definition OutdoorPvPNA.h:67
@ NA_BOMB_WAGON_S
Definition OutdoorPvPNA.h:59
@ NA_DESTROYED_ROOST_N
Definition OutdoorPvPNA.h:66
@ NA_DESTROYED_ROOST_W
Definition OutdoorPvPNA.h:65
@ NA_ROOST_E
Definition OutdoorPvPNA.h:57
@ NA_CONTROL_GO_NUM
Definition OutdoorPvPNA.h:69
@ NA_ROOST_N
Definition OutdoorPvPNA.h:56
@ NA_ROOST_S
Definition OutdoorPvPNA.h:54

◆ FlightSpellsNA

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

◆ HalaaCreaturesSpawn

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

◆ HalaaGuardsNA

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

◆ HalaaStates

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

◆ 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 
159{
162 WYVERN_HORDE = 4,
164};
@ WYVERN_NEU_HORDE
Definition OutdoorPvPNA.h:160
@ WYVERN_NEU_ALLIANCE
Definition OutdoorPvPNA.h:161
@ WYVERN_ALLIANCE
Definition OutdoorPvPNA.h:163
@ WYVERN_HORDE
Definition OutdoorPvPNA.h:162

Variable Documentation

◆ AllianceControlGOs

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

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}
73{104, 106, 108, 110};

Referenced by OPvPCapturePointNA::HandleCustomSpell().

◆ FlightPathStartNodes

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

Referenced by OPvPCapturePointNA::HandleCustomSpell().

◆ HordeControlGOs

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

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

◆ NA_BUFF_ZONE

const uint32 NA_BUFF_ZONE = AREA_NAGRAND

◆ 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_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}
}
141{
142 // Horde
143 {18192},
144 {18816},
145 {18821},
146 {21474},
147 {21484},
148 {21483},
149 // Ally
150 {18256},
151 {18817},
152 {18822},
153 {21485},
154 {21487},
155 {21488}
156};

Referenced by outdoorpvp_na_halaa_creatures::UpdateAI().