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  OutdoorPvPNAWorldStates {
  NA_UI_HORDE_GUARDS_SHOW = 2503 ,
  NA_UI_ALLIANCE_GUARDS_SHOW = 2502 ,
  NA_UI_GUARDS_MAX = 2493 ,
  NA_UI_GUARDS_LEFT = 2491 ,
  NA_UI_TOWER_SLIDER_DISPLAY = 2495 ,
  NA_UI_TOWER_SLIDER_POS = 2494 ,
  NA_UI_TOWER_SLIDER_N = 2497 ,
  NA_MAP_WYVERN_NORTH_NEU_H = 2762 ,
  NA_MAP_WYVERN_NORTH_NEU_A = 2662 ,
  NA_MAP_WYVERN_NORTH_H = 2663 ,
  NA_MAP_WYVERN_NORTH_A = 2664 ,
  NA_MAP_WYVERN_SOUTH_NEU_H = 2760 ,
  NA_MAP_WYVERN_SOUTH_NEU_A = 2670 ,
  NA_MAP_WYVERN_SOUTH_H = 2668 ,
  NA_MAP_WYVERN_SOUTH_A = 2669 ,
  NA_MAP_WYVERN_WEST_NEU_H = 2761 ,
  NA_MAP_WYVERN_WEST_NEU_A = 2667 ,
  NA_MAP_WYVERN_WEST_H = 2665 ,
  NA_MAP_WYVERN_WEST_A = 2666 ,
  NA_MAP_WYVERN_EAST_NEU_H = 2763 ,
  NA_MAP_WYVERN_EAST_NEU_A = 2659 ,
  NA_MAP_WYVERN_EAST_H = 2660 ,
  NA_MAP_WYVERN_EAST_A = 2661 ,
  NA_MAP_HALAA_NEUTRAL = 2671 ,
  NA_MAP_HALAA_NEU_A = 2676 ,
  NA_MAP_HALAA_NEU_H = 2677 ,
  NA_MAP_HALAA_HORDE = 2672 ,
  NA_MAP_HALAA_ALLIANCE = 2673
}
 
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 
93{
94 NA_ROOST_S = 0,
95 NA_ROOST_W = 1,
96 NA_ROOST_N = 2,
97 NA_ROOST_E = 3,
98
100 NA_BOMB_WAGON_W = 5,
101 NA_BOMB_WAGON_N = 6,
102 NA_BOMB_WAGON_E = 7,
103
108
110};
@ NA_ROOST_W
Definition: OutdoorPvPNA.h:95
@ NA_BOMB_WAGON_E
Definition: OutdoorPvPNA.h:102
@ NA_DESTROYED_ROOST_S
Definition: OutdoorPvPNA.h:104
@ NA_BOMB_WAGON_N
Definition: OutdoorPvPNA.h:101
@ NA_BOMB_WAGON_W
Definition: OutdoorPvPNA.h:100
@ NA_DESTROYED_ROOST_E
Definition: OutdoorPvPNA.h:107
@ NA_BOMB_WAGON_S
Definition: OutdoorPvPNA.h:99
@ NA_DESTROYED_ROOST_N
Definition: OutdoorPvPNA.h:106
@ NA_DESTROYED_ROOST_W
Definition: OutdoorPvPNA.h:105
@ NA_ROOST_E
Definition: OutdoorPvPNA.h:97
@ NA_CONTROL_GO_NUM
Definition: OutdoorPvPNA.h:109
@ NA_ROOST_N
Definition: OutdoorPvPNA.h:96
@ NA_ROOST_S
Definition: OutdoorPvPNA.h:94

◆ FlightSpellsNA

Enumerator
NA_SPELL_FLY_SOUTH 
NA_SPELL_FLY_WEST 
NA_SPELL_FLY_NORTH 
NA_SPELL_FLY_EAST 
116{
117 NA_SPELL_FLY_SOUTH = 32059,
118 NA_SPELL_FLY_WEST = 32068,
119 NA_SPELL_FLY_NORTH = 32075,
120 NA_SPELL_FLY_EAST = 32081
121};
@ NA_SPELL_FLY_SOUTH
Definition: OutdoorPvPNA.h:117
@ NA_SPELL_FLY_WEST
Definition: OutdoorPvPNA.h:118
@ NA_SPELL_FLY_EAST
Definition: OutdoorPvPNA.h:120
@ NA_SPELL_FLY_NORTH
Definition: OutdoorPvPNA.h:119

◆ HalaaCreaturesSpawn

Enumerator
NA_HALAA_CREATURES 
NA_HALAA_CREATURE_TEAM_SPAWN 
NA_HALAA_MAX_CREATURE_SPAWN 
131{
132 NA_HALAA_CREATURES = 12, //Quantity of creatures_templates contains HALAA
133 NA_HALAA_CREATURE_TEAM_SPAWN = 20, //Number of creatures by team
134 NA_HALAA_MAX_CREATURE_SPAWN = 40 //Number of creatures by both teams
135};
@ NA_HALAA_MAX_CREATURE_SPAWN
Definition: OutdoorPvPNA.h:134
@ NA_HALAA_CREATURES
Definition: OutdoorPvPNA.h:132
@ NA_HALAA_CREATURE_TEAM_SPAWN
Definition: OutdoorPvPNA.h:133

◆ HalaaGuardsNA

Enumerator
NA_HALAANI_GUARD_A 
NA_HALAANI_GUARD_H 
125{
126 NA_HALAANI_GUARD_A = 18256,
127 NA_HALAANI_GUARD_H = 18192
128};
@ NA_HALAANI_GUARD_H
Definition: OutdoorPvPNA.h:127
@ NA_HALAANI_GUARD_A
Definition: OutdoorPvPNA.h:126

◆ HalaaStates

Enumerator
HALAA_N 
HALAA_N_A 
HALAA_A 
HALAA_N_H 
HALAA_H 
207{
208 HALAA_N = 1,
209 HALAA_N_A = 2,
210 HALAA_A = 4,
211 HALAA_N_H = 8,
212 HALAA_H = 16
213};
@ HALAA_N
Definition: OutdoorPvPNA.h:208
@ HALAA_N_A
Definition: OutdoorPvPNA.h:209
@ HALAA_H
Definition: OutdoorPvPNA.h:212
@ HALAA_A
Definition: OutdoorPvPNA.h:210
@ HALAA_N_H
Definition: OutdoorPvPNA.h:211

◆ 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

◆ OutdoorPvPNAWorldStates

Enumerator
NA_UI_HORDE_GUARDS_SHOW 
NA_UI_ALLIANCE_GUARDS_SHOW 
NA_UI_GUARDS_MAX 
NA_UI_GUARDS_LEFT 
NA_UI_TOWER_SLIDER_DISPLAY 
NA_UI_TOWER_SLIDER_POS 
NA_UI_TOWER_SLIDER_N 
NA_MAP_WYVERN_NORTH_NEU_H 
NA_MAP_WYVERN_NORTH_NEU_A 
NA_MAP_WYVERN_NORTH_H 
NA_MAP_WYVERN_NORTH_A 
NA_MAP_WYVERN_SOUTH_NEU_H 
NA_MAP_WYVERN_SOUTH_NEU_A 
NA_MAP_WYVERN_SOUTH_H 
NA_MAP_WYVERN_SOUTH_A 
NA_MAP_WYVERN_WEST_NEU_H 
NA_MAP_WYVERN_WEST_NEU_A 
NA_MAP_WYVERN_WEST_H 
NA_MAP_WYVERN_WEST_A 
NA_MAP_WYVERN_EAST_NEU_H 
NA_MAP_WYVERN_EAST_NEU_A 
NA_MAP_WYVERN_EAST_H 
NA_MAP_WYVERN_EAST_A 
NA_MAP_HALAA_NEUTRAL 
NA_MAP_HALAA_NEU_A 
NA_MAP_HALAA_NEU_H 
NA_MAP_HALAA_HORDE 
NA_MAP_HALAA_ALLIANCE 
52{
55 NA_UI_GUARDS_MAX = 2493,
56 NA_UI_GUARDS_LEFT = 2491,
57
61
66
71
76
81
83 NA_MAP_HALAA_NEU_A = 2676,
84 NA_MAP_HALAA_NEU_H = 2677,
85 NA_MAP_HALAA_HORDE = 2672,
87};
@ NA_MAP_HALAA_NEU_A
Definition: OutdoorPvPNA.h:83
@ NA_MAP_WYVERN_SOUTH_NEU_H
Definition: OutdoorPvPNA.h:67
@ NA_MAP_HALAA_HORDE
Definition: OutdoorPvPNA.h:85
@ NA_UI_ALLIANCE_GUARDS_SHOW
Definition: OutdoorPvPNA.h:54
@ NA_MAP_WYVERN_NORTH_NEU_A
Definition: OutdoorPvPNA.h:63
@ NA_UI_TOWER_SLIDER_DISPLAY
Definition: OutdoorPvPNA.h:58
@ NA_MAP_HALAA_NEUTRAL
Definition: OutdoorPvPNA.h:82
@ NA_MAP_WYVERN_WEST_NEU_A
Definition: OutdoorPvPNA.h:73
@ NA_MAP_WYVERN_SOUTH_NEU_A
Definition: OutdoorPvPNA.h:68
@ NA_MAP_WYVERN_WEST_H
Definition: OutdoorPvPNA.h:74
@ NA_MAP_WYVERN_NORTH_NEU_H
Definition: OutdoorPvPNA.h:62
@ NA_UI_HORDE_GUARDS_SHOW
Definition: OutdoorPvPNA.h:53
@ NA_MAP_HALAA_ALLIANCE
Definition: OutdoorPvPNA.h:86
@ NA_MAP_WYVERN_EAST_H
Definition: OutdoorPvPNA.h:79
@ NA_MAP_WYVERN_SOUTH_A
Definition: OutdoorPvPNA.h:70
@ NA_UI_TOWER_SLIDER_N
Definition: OutdoorPvPNA.h:60
@ NA_UI_GUARDS_MAX
Definition: OutdoorPvPNA.h:55
@ NA_MAP_WYVERN_EAST_A
Definition: OutdoorPvPNA.h:80
@ NA_UI_TOWER_SLIDER_POS
Definition: OutdoorPvPNA.h:59
@ NA_MAP_WYVERN_NORTH_H
Definition: OutdoorPvPNA.h:64
@ NA_UI_GUARDS_LEFT
Definition: OutdoorPvPNA.h:56
@ NA_MAP_WYVERN_WEST_A
Definition: OutdoorPvPNA.h:75
@ NA_MAP_WYVERN_EAST_NEU_A
Definition: OutdoorPvPNA.h:78
@ NA_MAP_WYVERN_EAST_NEU_H
Definition: OutdoorPvPNA.h:77
@ NA_MAP_HALAA_NEU_H
Definition: OutdoorPvPNA.h:84
@ NA_MAP_WYVERN_WEST_NEU_H
Definition: OutdoorPvPNA.h:72
@ NA_MAP_WYVERN_NORTH_A
Definition: OutdoorPvPNA.h:65
@ NA_MAP_WYVERN_SOUTH_H
Definition: OutdoorPvPNA.h:69

◆ WyvernStates

Enumerator
WYVERN_NEU_HORDE 
WYVERN_NEU_ALLIANCE 
WYVERN_HORDE 
WYVERN_ALLIANCE 
199{
202 WYVERN_HORDE = 4,
204};
@ WYVERN_NEU_HORDE
Definition: OutdoorPvPNA.h:200
@ WYVERN_NEU_ALLIANCE
Definition: OutdoorPvPNA.h:201
@ WYVERN_ALLIANCE
Definition: OutdoorPvPNA.h:203
@ WYVERN_HORDE
Definition: OutdoorPvPNA.h:202

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}
}

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}

◆ FlightPathStartNodes

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

◆ 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}
}

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}
}

Referenced by outdoorpvp_na_halaa_creatures::UpdateAI().