![]() |
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 "SpellInfo.h"#include "SpellScript.h"
Include dependency graph for boss_gothik.cpp:Go to the source code of this file.
Classes | |
| struct | GothikWaveEntry |
| struct | GothikWaveInfo |
| 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 | SPELL_UNHOLY_AURA RAID_MODE<uint32>(55606, 55608) |
| #define | SPELL_DEATH_PLAGUE RAID_MODE<uint32>(55604, 55645) |
| #define | SPELL_SHADOW_BOLT_VOLLEY RAID_MODE<uint32>(27831, 55638) |
| #define | SPELL_ARCANE_EXPLOSION RAID_MODE<uint32>(27989, 56407) |
| #define | SPELL_DRAIN_LIFE RAID_MODE<uint32>(27994, 55646) |
| #define | SPELL_UNHOLY_FRENZY RAID_MODE<uint32>(55648,27995) |
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) |
| static constexpr std::array< GothikWaveInfo, 19 > | waves10 |
| static constexpr std::array< GothikWaveInfo, 18 > | waves25 |
| const uint32 | CGUID_TRIGGER = 127618 |
| #define SPELL_ARCANE_EXPLOSION RAID_MODE<uint32>(27989, 56407) |
Definition at line 82 of file boss_gothik.cpp.
| #define SPELL_DEATH_PLAGUE RAID_MODE<uint32>(55604, 55645) |
Definition at line 80 of file boss_gothik.cpp.
| #define SPELL_DRAIN_LIFE RAID_MODE<uint32>(27994, 55646) |
Definition at line 83 of file boss_gothik.cpp.
| #define SPELL_SHADOW_BOLT_VOLLEY RAID_MODE<uint32>(27831, 55638) |
Definition at line 81 of file boss_gothik.cpp.
| #define SPELL_UNHOLY_AURA RAID_MODE<uint32>(55606, 55608) |
Definition at line 79 of file boss_gothik.cpp.
| #define SPELL_UNHOLY_FRENZY RAID_MODE<uint32>(55648,27995) |
Definition at line 84 of file boss_gothik.cpp.
| enum Actions |
| Enumerator | |
|---|---|
| ACTION_GATE_OPENED | |
| ACTION_MINION_EVADE | |
| ACTION_ACQUIRE_TARGET | |
Definition at line 119 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 86 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 105 of file boss_gothik.cpp.
| enum Phases |
| Enumerator | |
|---|---|
| PHASE_ONE | |
| PHASE_TWO | |
Definition at line 99 of file boss_gothik.cpp.
| enum Side |
| Enumerator | |
|---|---|
| SIDE_NONE | |
| SIDE_LIVING | |
| SIDE_DEAD | |
Definition at line 129 of file boss_gothik.cpp.
| enum Spells |
Definition at line 46 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 32 of file boss_gothik.cpp.
| void AddSC_boss_gothik | ( | ) |
Definition at line 905 of file boss_gothik.cpp.
References RegisterNaxxramasCreatureAI, and RegisterSpellScript.
Referenced by AddNorthrendScripts().
Definition at line 147 of file boss_gothik.cpp.
References RefManager< ReferenceType >::begin(), WorldObject::CanSeeOrDetect(), RefManager< ReferenceType >::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 135 of file boss_gothik.cpp.
References deadSide, AreaBoundary::IsWithinBoundary(), livingSide, SIDE_DEAD, SIDE_LIVING, and SIDE_NONE.
Referenced by IsOnSameSide().
Definition at line 143 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 301 of file boss_gothik.cpp.
Referenced by npc_gothik_trigger::SelectRandomSkullPile(), and boss_gothik::UpdateAI().
|
static |
Definition at line 128 of file boss_gothik.cpp.
Referenced by GetSide().
|
static |
Definition at line 127 of file boss_gothik.cpp.
Referenced by GetSide().
|
staticconstexpr |
Definition at line 180 of file boss_gothik.cpp.
Referenced by boss_gothik::UpdateAI().
|
staticconstexpr |
Definition at line 241 of file boss_gothik.cpp.
Referenced by boss_gothik::UpdateAI().