![]() |
TrinityCore
|
#include "ScriptMgr.h"#include "AreaBoundary.h"#include "CombatAI.h"#include "GridNotifiers.h"#include "InstanceScript.h"#include "Log.h"#include "Map.h"#include "naxxramas.h"#include "ObjectAccessor.h"#include "ScriptedCreature.h"#include "SpellScript.h"
Include dependency graph for boss_gothik.cpp:Go to the source code of this file.
Classes | |
| struct | boss_gothik |
| struct | npc_gothik_minion_baseAI |
| struct | npc_gothik_minion_livingtrainee |
| struct | npc_gothik_minion_livingknight |
| struct | npc_gothik_minion_livingrider |
| struct | npc_gothik_minion_spectraltrainee |
| struct | npc_gothik_minion_spectralknight |
| struct | npc_gothik_minion_spectralrider |
| struct | npc_gothik_minion_spectralhorse |
| struct | npc_gothik_trigger |
| class | spell_gothik_shadow_bolt_volley |
Macros | |
| #define | SPELLHELPER_UNHOLY_FRENZY RAID_MODE<uint32>(SPELL_UNHOLY_FRENZY,27995) |
Typedefs | |
| typedef std::pair< uint32, uint8 > | GothikWaveEntry |
| typedef std::set< GothikWaveEntry > | GothikWave |
| typedef std::pair< GothikWave, uint8 > | GothikWaveInfo |
| typedef std::vector< GothikWaveInfo > | GothikWaveData |
Functions | |
| static Side | GetSide (Position const *who) |
| static bool | IsOnSameSide (Position const *who, Position const *other) |
| static Player * | FindEligibleTarget (Creature const *me, bool isGateOpen) |
| void | AddSC_boss_gothik () |
Variables | |
| static AreaBoundary *const | livingSide = new RectangleBoundary(2633.84f, 2750.49f, -3434.0f, -3360.78f) |
| static AreaBoundary *const | deadSide = new RectangleBoundary(2633.84f, 2750.49f, -3360.78f, -3285.0f) |
| const GothikWaveData | waves10 |
| const GothikWaveData | waves25 |
| const uint32 | CGUID_TRIGGER = 127618 |
| #define SPELLHELPER_UNHOLY_FRENZY RAID_MODE<uint32>(SPELL_UNHOLY_FRENZY,27995) |
Definition at line 90 of file boss_gothik.cpp.
| typedef std::set<GothikWaveEntry> GothikWave |
Definition at line 170 of file boss_gothik.cpp.
| typedef std::vector<GothikWaveInfo> GothikWaveData |
Definition at line 172 of file boss_gothik.cpp.
| typedef std::pair<uint32, uint8> GothikWaveEntry |
Definition at line 169 of file boss_gothik.cpp.
| typedef std::pair<GothikWave, uint8> GothikWaveInfo |
Definition at line 171 of file boss_gothik.cpp.
| enum Actions |
| Enumerator | |
|---|---|
| ACTION_GATE_OPENED | |
| ACTION_MINION_EVADE | |
| ACTION_ACQUIRE_TARGET | |
Definition at line 125 of file boss_gothik.cpp.
| enum Creatures |
| Enumerator | |
|---|---|
| NPC_LIVE_TRAINEE | |
| NPC_LIVE_KNIGHT | |
| NPC_LIVE_RIDER | |
| NPC_DEAD_TRAINEE | |
| NPC_DEAD_KNIGHT | |
| NPC_DEAD_RIDER | |
| NPC_DEAD_HORSE | |
| NPC_TRIGGER | |
Definition at line 92 of file boss_gothik.cpp.
| enum Events |
| Enumerator | |
|---|---|
| EVENT_INTRO_2 | |
| EVENT_INTRO_3 | |
| EVENT_INTRO_4 | |
| EVENT_PHASE_TWO | |
| EVENT_SUMMON | |
| EVENT_DOORS_UNLOCK | |
| EVENT_TELEPORT | |
| EVENT_HARVEST | |
| EVENT_BOLT | |
| EVENT_RESUME_ATTACK | |
Definition at line 111 of file boss_gothik.cpp.
| enum Phases |
| Enumerator | |
|---|---|
| PHASE_ONE | |
| PHASE_TWO | |
Definition at line 105 of file boss_gothik.cpp.
| enum Side |
| Enumerator | |
|---|---|
| SIDE_NONE | |
| SIDE_LIVING | |
| SIDE_DEAD | |
Definition at line 135 of file boss_gothik.cpp.
| enum Spells |
Definition at line 45 of file boss_gothik.cpp.
| enum Yells |
| Enumerator | |
|---|---|
| SAY_INTRO_1 | |
| SAY_INTRO_2 | |
| SAY_INTRO_3 | |
| SAY_INTRO_4 | |
| SAY_PHASE_TWO | |
| SAY_DEATH | |
| SAY_KILL | |
| EMOTE_PHASE_TWO | |
| EMOTE_GATE_OPENED | |
Definition at line 31 of file boss_gothik.cpp.
| void AddSC_boss_gothik | ( | ) |
Definition at line 884 of file boss_gothik.cpp.
References RegisterNaxxramasCreatureAI, and RegisterSpellScript.
Referenced by AddNorthrendScripts().
Definition at line 153 of file boss_gothik.cpp.
References MapRefManager::begin(), WorldObject::CanSeeOrDetect(), MapRefManager::end(), WorldObject::GetMap(), Map::GetPlayers(), Unit::isInAccessiblePlaceFor(), IsOnSameSide(), and WorldObject::IsValidAttackTarget().
Referenced by npc_gothik_minion_baseAI::DoAction(), boss_gothik::UpdateAI(), and npc_gothik_minion_baseAI::UpdateAI().
Definition at line 141 of file boss_gothik.cpp.
References deadSide, AreaBoundary::IsWithinBoundary(), livingSide, SIDE_DEAD, SIDE_LIVING, and SIDE_NONE.
Referenced by IsOnSameSide().
Definition at line 149 of file boss_gothik.cpp.
References GetSide().
Referenced by FindEligibleTarget(), npc_gothik_minion_baseAI::isOnSameSide(), and boss_gothik::UpdateAI().
| const uint32 CGUID_TRIGGER = 127618 |
Definition at line 294 of file boss_gothik.cpp.
Referenced by npc_gothik_trigger::SelectRandomSkullPile(), and boss_gothik::UpdateAI().
|
static |
Definition at line 134 of file boss_gothik.cpp.
Referenced by GetSide().
|
static |
Definition at line 133 of file boss_gothik.cpp.
Referenced by GetSide().
| const GothikWaveData waves10 |
Definition at line 173 of file boss_gothik.cpp.
Referenced by boss_gothik::UpdateAI().
| const GothikWaveData waves25 |
Definition at line 234 of file boss_gothik.cpp.
Referenced by boss_gothik::UpdateAI().