TrinityCore
Loading...
Searching...
No Matches
OutdoorPvPNA.cpp File Reference
#include "OutdoorPvPNA.h"
#include "Creature.h"
#include "GameObject.h"
#include "Map.h"
#include "ObjectMgr.h"
#include "OutdoorPvPMgr.h"
#include "Player.h"
#include "ScriptMgr.h"
#include "WorldStatePackets.h"
+ Include dependency graph for OutdoorPvPNA.cpp:

Go to the source code of this file.

Classes

class  OutdoorPvP_nagrand
 

Functions

void AddSC_outdoorpvp_na ()
 

Variables

uint32 const NA_CREDIT_MARKER = 24867
 
uint32 const NA_GUARDS_MAX = 15
 
uint32 const NA_BUFF_ZONE = 3518
 
uint32 const NA_HALAA_GRAVEYARD = 993
 
uint32 const NA_HALAA_GRAVEYARD_ZONE = 3518
 
uint32 const NA_RESPAWN_TIME = 3600000
 
uint32 const NA_GUARD_CHECK_TIME = 500
 
uint32 const FLIGHT_NODES_NUM = 4
 
uint32 const FlightPathStartNodes [FLIGHT_NODES_NUM] = { 103, 105, 107, 109 }
 
uint32 const FlightPathEndNodes [FLIGHT_NODES_NUM] = { 104, 106, 108, 110 }
 
go_type const HordeControlGOs [NA_CONTROL_GO_NUM]
 
go_type const AllianceControlGOs [NA_CONTROL_GO_NUM]
 
creature_type const HordeControlNPCs [NA_CONTROL_NPC_NUM]
 
creature_type const AllianceControlNPCs [NA_CONTROL_NPC_NUM]
 

Function Documentation

◆ AddSC_outdoorpvp_na()

void AddSC_outdoorpvp_na ( )

Definition at line 724 of file OutdoorPvPNA.cpp.

+ Here is the caller graph for this function:

Variable Documentation

◆ AllianceControlGOs

go_type const AllianceControlGOs[NA_CONTROL_GO_NUM]
Initial value:
=
{
{ 182301, 530, { -1815.8000f, 8036.5100f, -26.2354f, -2.897250f }, { 0.0f, 0.0f, 0.992546f, -0.121869f } },
{ 182302, 530, { -1507.9500f, 8132.1000f, -19.5585f, -1.343900f }, { 0.0f, 0.0f, 0.622515f, -0.782608f } },
{ 182303, 530, { -1384.5200f, 7779.3300f, -11.1663f, -0.575959f }, { 0.0f, 0.0f, 0.284015f, -0.958820f } },
{ 182304, 530, { -1650.1100f, 7732.5600f, -15.4505f, -2.809980f }, { 0.0f, 0.0f, 0.986286f, -0.165048f } },
{ 182305, 530, { -1825.4022f, 8039.2602f, -26.0800f, -2.897250f }, { 0.0f, 0.0f, 0.992546f, -0.121869f } },
{ 182306, 530, { -1515.3700f, 8136.9100f, -20.4200f, -1.343900f }, { 0.0f, 0.0f, 0.622515f, -0.782608f } },
{ 182307, 530, { -1377.9500f, 7773.4400f, -10.3100f, -0.575959f }, { 0.0f, 0.0f, 0.284015f, -0.958820f } },
{ 182308, 530, { -1659.8700f, 7733.1500f, -15.7500f, -2.809980f }, { 0.0f, 0.0f, 0.986286f, -0.165048f } },
{ 182297, 530, { -1815.8000f, 8036.5100f, -26.2354f, -2.897250f }, { 0.0f, 0.0f, 0.992546f, -0.121869f } },
{ 182298, 530, { -1507.9500f, 8132.1000f, -19.5585f, -1.343900f }, { 0.0f, 0.0f, 0.622515f, -0.782608f } },
{ 182299, 530, { -1384.5200f, 7779.3300f, -11.1663f, -0.575959f }, { 0.0f, 0.0f, 0.284015f, -0.958820f } },
{ 182300, 530, { -1650.1100f, 7732.5600f, -15.4505f, -2.809980f }, { 0.0f, 0.0f, 0.986286f, -0.165048f } }
}

Definition at line 59 of file OutdoorPvPNA.cpp.

◆ AllianceControlNPCs

creature_type const AllianceControlNPCs[NA_CONTROL_NPC_NUM]
Initial value:
=
{
{ 18817, 530, { -1591.18f, 8020.39f, -22.2042f, 4.59022f } },
{ 18822, 530, { -1588.00f, 8019.00f, -22.2042f, 4.06662f } },
{ 21485, 530, { -1521.93f, 7927.37f, -20.2299f, 3.24631f } },
{ 21487, 530, { -1540.33f, 7971.95f, -20.7186f, 3.07178f } },
{ 21488, 530, { -1570.01f, 7993.80f, -22.4505f, 5.02655f } },
{ 18256, 530, { -1654.06f, 8000.46f, -26.5900f, 3.37000f } },
{ 18256, 530, { -1487.18f, 7899.10f, -19.5300f, 0.95400f } },
{ 18256, 530, { -1480.88f, 7908.79f, -19.1900f, 4.48500f } },
{ 18256, 530, { -1540.56f, 7995.44f, -20.4500f, 0.94700f } },
{ 18256, 530, { -1546.95f, 8000.85f, -20.7200f, 6.03500f } },
{ 18256, 530, { -1595.31f, 7860.53f, -21.5100f, 3.74700f } },
{ 18256, 530, { -1642.31f, 7995.59f, -25.8000f, 3.31700f } },
{ 18256, 530, { -1545.46f, 7995.35f, -20.6300f, 1.09400f } },
{ 18256, 530, { -1487.58f, 7907.99f, -19.2700f, 5.56700f } },
{ 18256, 530, { -1651.54f, 7988.56f, -26.5289f, 2.98451f } },
{ 18256, 530, { -1602.46f, 7866.43f, -22.1177f, 4.74729f } },
{ 18256, 530, { -1591.22f, 7875.29f, -22.3536f, 4.34587f } },
{ 18256, 530, { -1603.75f, 8000.36f, -24.1800f, 4.51600f } },
{ 18256, 530, { -1585.73f, 7994.68f, -23.2900f, 4.43900f } },
{ 18256, 530, { -1595.50f, 7991.27f, -23.5300f, 4.73800f } }
}

Definition at line 101 of file OutdoorPvPNA.cpp.

◆ FLIGHT_NODES_NUM

uint32 const FLIGHT_NODES_NUM = 4

Definition at line 35 of file OutdoorPvPNA.cpp.

◆ FlightPathEndNodes

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

Definition at line 37 of file OutdoorPvPNA.cpp.

◆ FlightPathStartNodes

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

Definition at line 36 of file OutdoorPvPNA.cpp.

◆ HordeControlGOs

go_type const HordeControlGOs[NA_CONTROL_GO_NUM]
Initial value:
=
{
{ 182267, 530, { -1815.8000f, 8036.5100f, -26.2354f, -2.897250f }, { 0.0f, 0.0f, 0.992546f, -0.121869f } },
{ 182280, 530, { -1507.9500f, 8132.1000f, -19.5585f, -1.343900f }, { 0.0f, 0.0f, 0.622515f, -0.782608f } },
{ 182281, 530, { -1384.5200f, 7779.3300f, -11.1663f, -0.575959f }, { 0.0f, 0.0f, 0.284015f, -0.958820f } },
{ 182282, 530, { -1650.1100f, 7732.5600f, -15.4505f, -2.809980f }, { 0.0f, 0.0f, 0.986286f, -0.165048f } },
{ 182222, 530, { -1825.4022f, 8039.2602f, -26.0800f, -2.897250f }, { 0.0f, 0.0f, 0.992546f, -0.121869f } },
{ 182272, 530, { -1515.3700f, 8136.9100f, -20.4200f, -1.343900f }, { 0.0f, 0.0f, 0.622515f, -0.782608f } },
{ 182273, 530, { -1377.9500f, 7773.4400f, -10.3100f, -0.575959f }, { 0.0f, 0.0f, 0.284015f, -0.958820f } },
{ 182274, 530, { -1659.8700f, 7733.1500f, -15.7500f, -2.809980f }, { 0.0f, 0.0f, 0.986286f, -0.165048f } },
{ 182266, 530, { -1815.8000f, 8036.5100f, -26.2354f, -2.897250f }, { 0.0f, 0.0f, 0.992546f, -0.121869f } },
{ 182275, 530, { -1507.9500f, 8132.1000f, -19.5585f, -1.343900f }, { 0.0f, 0.0f, 0.622515f, -0.782608f } },
{ 182276, 530, { -1384.5200f, 7779.3300f, -11.1663f, -0.575959f }, { 0.0f, 0.0f, 0.284015f, -0.958820f } },
{ 182277, 530, { -1650.1100f, 7732.5600f, -15.4505f, -2.809980f }, { 0.0f, 0.0f, 0.986286f, -0.165048f } }
}

Definition at line 40 of file OutdoorPvPNA.cpp.

◆ HordeControlNPCs

creature_type const HordeControlNPCs[NA_CONTROL_NPC_NUM]
Initial value:
=
{
{ 18816, 530, { -1523.92f, 7951.76f, -17.6942f, 3.51172f } },
{ 18821, 530, { -1527.75f, 7952.46f, -17.6948f, 3.99317f } },
{ 21474, 530, { -1520.14f, 7927.11f, -20.2527f, 3.39389f } },
{ 21484, 530, { -1524.84f, 7930.34f, -20.1820f, 3.64050f } },
{ 21483, 530, { -1570.01f, 7993.80f, -22.4505f, 5.02655f } },
{ 18192, 530, { -1654.06f, 8000.46f, -26.5900f, 3.37000f } },
{ 18192, 530, { -1487.18f, 7899.10f, -19.5300f, 0.95400f } },
{ 18192, 530, { -1480.88f, 7908.79f, -19.1900f, 4.48500f } },
{ 18192, 530, { -1540.56f, 7995.44f, -20.4500f, 0.94700f } },
{ 18192, 530, { -1546.95f, 8000.85f, -20.7200f, 6.03500f } },
{ 18192, 530, { -1595.31f, 7860.53f, -21.5100f, 3.74700f } },
{ 18192, 530, { -1642.31f, 7995.59f, -25.8000f, 3.31700f } },
{ 18192, 530, { -1545.46f, 7995.35f, -20.6300f, 1.09400f } },
{ 18192, 530, { -1487.58f, 7907.99f, -19.2700f, 5.56700f } },
{ 18192, 530, { -1651.54f, 7988.56f, -26.5289f, 2.98451f } },
{ 18192, 530, { -1602.46f, 7866.43f, -22.1177f, 4.74729f } },
{ 18192, 530, { -1591.22f, 7875.29f, -22.3536f, 4.34587f } },
{ 18192, 530, { -1550.60f, 7944.45f, -21.6300f, 3.55900f } },
{ 18192, 530, { -1545.57f, 7935.83f, -21.1300f, 3.44800f } },
{ 18192, 530, { -1550.86f, 7937.56f, -21.7000f, 3.80100f } }
}

Definition at line 77 of file OutdoorPvPNA.cpp.

◆ NA_BUFF_ZONE

uint32 const NA_BUFF_ZONE = 3518

Definition at line 30 of file OutdoorPvPNA.cpp.

◆ NA_CREDIT_MARKER

uint32 const NA_CREDIT_MARKER = 24867

Definition at line 28 of file OutdoorPvPNA.cpp.

◆ NA_GUARD_CHECK_TIME

uint32 const NA_GUARD_CHECK_TIME = 500

Definition at line 34 of file OutdoorPvPNA.cpp.

◆ NA_GUARDS_MAX

uint32 const NA_GUARDS_MAX = 15

Definition at line 29 of file OutdoorPvPNA.cpp.

◆ NA_HALAA_GRAVEYARD

uint32 const NA_HALAA_GRAVEYARD = 993

Definition at line 31 of file OutdoorPvPNA.cpp.

◆ NA_HALAA_GRAVEYARD_ZONE

uint32 const NA_HALAA_GRAVEYARD_ZONE = 3518

Definition at line 32 of file OutdoorPvPNA.cpp.

◆ NA_RESPAWN_TIME

uint32 const NA_RESPAWN_TIME = 3600000

Definition at line 33 of file OutdoorPvPNA.cpp.