TrinityCore
BattlegroundSA.cpp File Reference
#include "BattlegroundSA.h"
#include "BattlegroundScore.h"
#include "Creature.h"
#include "CreatureAI.h"
#include "DB2Stores.h"
#include "GameObject.h"
#include "GameTime.h"
#include "Log.h"
#include "Map.h"
#include "ObjectAccessor.h"
#include "ObjectMgr.h"
#include "Player.h"
#include "Random.h"
#include "UpdateData.h"
#include "WorldStateMgr.h"
+ Include dependency graph for BattlegroundSA.cpp:

Go to the source code of this file.

Enumerations

enum  StrandOfTheAncientsPvpStats { PVP_STAT_GATES_DESTROYED = 231 , PVP_STAT_DEMOLISHERS_DESTROYED = 232 }
 
enum  StrandOfTheAncientsEvents { EVENT_HORDE_ASSAULT_STARTED = 21702 , EVENT_ALLIANCE_ASSAULT_STARTED = 23748 , EVENT_TITAN_RELIC_ACTIVATED = 20572 }
 
enum  StrandOfTheAncientsCreatures {
  NPC_KANRETHAD = 29 , NPC_DEMOLISHER = 28781 , NPC_ANTIPERSONNEL_CANNON = 27894 , NPC_RIGGER_SPARKLIGHT = 29260 ,
  NPC_GORGRIL_RIGSPARK = 29262 , NPC_WORLD_TRIGGER = 22515 , NPC_DEMOLISHER_SA = 28781
}
 
enum  StrandOfTheAncientsSpawnPositions { SPAWN_DEFENDERS = 1399 }
 
enum  StrandOfTheAncientsData { DATA_ATTACKERS = 1 , DATA_STATUS = 2 }
 
enum  StrandOfTheAncientSpells {
  SPELL_TELEPORT_DEFENDER = 52364 , SPELL_TELEPORT_ATTACKERS = 60178 , SPELL_END_OF_ROUND = 52459 , SPELL_REMOVE_SEAFORIUM = 59077 ,
  SPELL_ALLIANCE_CONTROL_PHASE_SHIFT = 60027 , SPELL_HORDE_CONTROL_PHASE_SHIFT = 60028 , SPELL_CARRYING_SEAFORIUM_CHARGE = 52415
}
 

Variables

Position const spawnPositionOnTransport []
 

Enumeration Type Documentation

◆ StrandOfTheAncientsCreatures

Enumerator
NPC_KANRETHAD 
NPC_DEMOLISHER 
NPC_ANTIPERSONNEL_CANNON 
NPC_RIGGER_SPARKLIGHT 
NPC_GORGRIL_RIGSPARK 
NPC_WORLD_TRIGGER 
NPC_DEMOLISHER_SA 

Definition at line 47 of file BattlegroundSA.cpp.

◆ StrandOfTheAncientsData

Enumerator
DATA_ATTACKERS 
DATA_STATUS 

Definition at line 63 of file BattlegroundSA.cpp.

◆ StrandOfTheAncientsEvents

Enumerator
EVENT_HORDE_ASSAULT_STARTED 
EVENT_ALLIANCE_ASSAULT_STARTED 
EVENT_TITAN_RELIC_ACTIVATED 

Definition at line 40 of file BattlegroundSA.cpp.

◆ StrandOfTheAncientSpells

Enumerator
SPELL_TELEPORT_DEFENDER 
SPELL_TELEPORT_ATTACKERS 
SPELL_END_OF_ROUND 
SPELL_REMOVE_SEAFORIUM 
SPELL_ALLIANCE_CONTROL_PHASE_SHIFT 
SPELL_HORDE_CONTROL_PHASE_SHIFT 
SPELL_CARRYING_SEAFORIUM_CHARGE 

Definition at line 69 of file BattlegroundSA.cpp.

◆ StrandOfTheAncientsPvpStats

Enumerator
PVP_STAT_GATES_DESTROYED 
PVP_STAT_DEMOLISHERS_DESTROYED 

Definition at line 34 of file BattlegroundSA.cpp.

◆ StrandOfTheAncientsSpawnPositions

Enumerator
SPAWN_DEFENDERS 

Definition at line 58 of file BattlegroundSA.cpp.

Variable Documentation

◆ spawnPositionOnTransport

Position const spawnPositionOnTransport[]
Initial value:
=
{
{ 0.0f, 5.0f, 9.6f, 3.14f },
{ -6.0f, -3.0f, 8.6f, 0.0f }
}

Definition at line 80 of file BattlegroundSA.cpp.