TrinityCore
obsidian_sanctum.cpp File Reference
#include "ScriptMgr.h"
#include "CellImpl.h"
#include "GridNotifiersImpl.h"
#include "InstanceScript.h"
#include "MotionMaster.h"
#include "ObjectAccessor.h"
#include "obsidian_sanctum.h"
#include "ScriptedCreature.h"
#include "TemporarySummon.h"
+ Include dependency graph for obsidian_sanctum.cpp:

Classes

struct  dummy_dragonAI
 
struct  npc_tenebron
 
struct  npc_shadron
 
struct  npc_vesperon
 
struct  npc_acolyte_of_shadron
 
struct  npc_acolyte_of_vesperon
 
struct  npc_twilight_eggs
 
struct  npc_flame_tsunami
 
struct  npc_twilight_fissure
 
struct  npc_twilight_whelp
 
class  achievement_twilight_assist
 
class  achievement_twilight_duo
 
class  achievement_twilight_zone
 

Macros

#define MAX_WAYPOINT   6
 

Enumerations

enum  Enums {
  SAY_ENTER = 0, SAY_AGGRO = 1, SAY_BANISH = 2, SAY_SLAY = 3,
  SAY_DEATH = 4, EMOTE_FRENZY = 5, SPELL_CLEAVE = 40504, SPELL_TIME_STOP = 31422,
  SPELL_ENRAGE = 37605, SPELL_SAND_BREATH = 31473, H_SPELL_SAND_BREATH = 39049, SAY_ENTER = 0,
  SAY_AGGRO = 1, SAY_BANISH = 2, SAY_SLAY = 3, SAY_DEATH = 4,
  SPELL_ARCANE_BLAST = 31457, H_SPELL_ARCANE_BLAST = 38538, SPELL_ARCANE_DISCHARGE = 31472, H_SPELL_ARCANE_DISCHARGE = 38539,
  SPELL_TIME_LAPSE = 31467, SPELL_ATTRACTION = 38540, SAY_ENTER = 0, SAY_AGGRO = 1,
  SAY_BANISH = 2, SAY_SLAY = 3, SAY_DEATH = 4, SPELL_HASTE = 31458,
  SPELL_MORTAL_WOUND = 31464, SPELL_WING_BUFFET = 31475, H_SPELL_WING_BUFFET = 38593, SPELL_REFLECT = 38592,
  SAY_AT_LAST = 0, SAY_MAKE_PREPARATIONS = 1, SAY_TEMPLE_OF_PROMISE = 2, SAY_MUST_CONTINUE = 3,
  SAY_BANISH_THE_SPIRITS = 4, SAY_CAVERNS_PURIFIED = 5, SAY_BEYOND_THIS_CORRIDOR = 6, SAY_EMERALD_DREAM = 7,
  EMOTE_AWAKENING_RITUAL = 8, EMOTE_TROUBLED_SLEEP = 0, EMOTE_WRITHE_IN_AGONY = 1, EMOTE_HORRENDOUS_VISION = 2,
  SAY_MUTANUS_THE_DEVOURER = 9, SAY_I_AM_AWAKE = 3, SAY_NARALEX_AWAKES = 10, SAY_THANK_YOU = 4,
  SAY_FAREWELL = 5, SAY_ATTACKED = 11, GOSSIP_OPTION_LET_EVENT_BEGIN = 201, NPC_TEXT_NARALEX_SLEEPS_AGAIN = 698,
  NPC_TEXT_FANGLORDS_ARE_DEAD = 699, SPELL_MARK_OF_THE_WILD_RANK_2 = 5232, SPELL_SERPENTINE_CLEANSING = 6270, SPELL_NARALEXS_AWAKENING = 6271,
  SPELL_FLIGHT_FORM = 33943, NPC_DEVIATE_RAVAGER = 3636, NPC_DEVIATE_VIPER = 5755, NPC_DEVIATE_MOCCASIN = 5762,
  NPC_NIGHTMARE_ECTOPLASM = 5763, NPC_MUTANUS_THE_DEVOURER = 3654, SAY_SARTHARION_AGGRO = 0, SAY_SARTHARION_BERSERK = 1,
  SAY_SARTHARION_BREATH = 2, SAY_SARTHARION_CALL_SHADRON = 3, SAY_SARTHARION_CALL_TENEBRON = 4, SAY_SARTHARION_CALL_VESPERON = 5,
  SAY_SARTHARION_DEATH = 6, SAY_SARTHARION_SPECIAL = 7, SAY_SARTHARION_SLAY = 8, WHISPER_LAVA_CHURN = 9,
  SPELL_BERSERK = 61632, SPELL_CLEAVE = 56909, SPELL_FLAME_BREATH = 56908, SPELL_TAIL_LASH = 56910,
  SPELL_WILL_OF_SARTHARION = 61254, SPELL_LAVA_STRIKE = 57571, SPELL_TWILIGHT_REVENGE = 60639, NPC_FIRE_CYCLONE = 30648,
  SPELL_PYROBUFFET = 56916, SPELL_PYROBUFFET_RANGE = 58907, NPC_ACOLYTE_OF_VESPERON = 31219, SPELL_POWER_OF_VESPERON = 61251,
  NPC_ACOLYTE_OF_SHADRON = 31218, SPELL_POWER_OF_SHADRON = 58105, SPELL_POWER_OF_TENEBRON = 61248, NPC_FLAME_TSUNAMI = 30616,
  POINT_ID_INIT = 100, POINT_ID_LAND = 200, SPELL_TWILIGHT_RESIDUE = 61885, SPELL_SHADOW_BREATH = 57570,
  SPELL_SHADOW_FISSURE = 57579, NPC_ACOLYTE_OF_VESPERON = 31219, SPELL_POWER_OF_VESPERON = 61251, SPELL_TWILIGHT_TORMENT_VESP = 57948,
  SPELL_TWILIGHT_TORMENT_VESP_ACO = 58853, NPC_ACOLYTE_OF_SHADRON = 31218, SPELL_POWER_OF_SHADRON = 58105, SPELL_GIFT_OF_TWILIGTH_SHA = 57835,
  SPELL_GIFT_OF_TWILIGTH_SAR = 58766, SPELL_VOID_BLAST = 57581, SPELL_POWER_OF_TENEBRON = 61248, SPELL_SUMMON_TWILIGHT_WHELP = 58035,
  SPELL_SUMMON_SARTHARION_TWILIGHT_WHELP = 58826, SPELL_TWILIGHT_REVENGE = 60639, SPELL_HATCH_EGGS_H = 59189, SPELL_HATCH_EGGS = 58542,
  SPELL_HATCH_EGGS_EFFECT_H = 59190, SPELL_HATCH_EGGS_EFFECT = 58685, NPC_TWILIHT_WHELP = 31214, NPC_TWILIGHT_EGG = 30882,
  NPC_SARTHARION_TWILIGHT_EGG = 31204, SPELL_TWILIGHT_SHIFT_ENTER = 57620, SPELL_TWILIGHT_SHIFT = 57874, SPELL_TWILIGHT_SHIFT_REMOVAL = 61187,
  SPELL_TWILIGHT_SHIFT_REMOVAL_ALL = 61190, NPC_TWILIGHT_WHELP = 30890, NPC_SARTHARION_TWILIGHT_WHELP = 31214, SPELL_FADE_ARMOR = 60708,
  SPELL_FLAME_TSUNAMI = 57494, SPELL_FLAME_TSUNAMI_LEAP = 60241, SPELL_FLAME_TSUNAMI_DMG_AURA = 57491, SPELL_FLAME_TSUNAMI_BUFF = 60430,
  NPC_LAVA_BLAZE = 30643, POINT_ID_INIT = 100, POINT_ID_LAND = 200
}
 
enum  Misc {
  SUMMON_GROUP_ID_SURGING_FEL = 0, ENCOUNTER_ID_GAROTHI_WORLDBREAKER = 2076, MAX_OCCUTHAR_VEHICLE_SEATS = 7, DATA_SKILLPOINT_MIN = 230,
  NEFARIUS_PATH_2 = 1379671, NEFARIUS_PATH_3 = 1379672, GYTH_PATH_1 = 1379681, NEFARIUS_PATH_1 = 1379670,
  NEFARIUS_PATH_2 = 1379671, NEFARIUS_PATH_3 = 1379672, REND_PATH_1 = 1379680, REND_PATH_2 = 1379681,
  DATA_CANNON_BLAST_TIMER = 3000, DATA_PIRATES_DELAY_TIMER = 1000, OZ_GOSSIP1_MID = 7421, OZ_GOSSIP1_OID = 0,
  OZ_GOSSIP2_MID = 7422, OZ_GOSSIP2_OID = 0, MAX_ACTIVE_LACKEY = 4, ACTION_SWITCH_PHASE = 1,
  INTERVAL_MODIFIER = 15, INTERVAL_SWITCH = 6, WEAPON_KIRTONOS_STAFF = 11365, POINT_KIRTONOS_LAND = 13,
  KIRTONOS_PATH = 105061, MAX_VOID_SPAWNS = 6, MAX_SUMMON_BLOOD_ELVES = 4, MAX_SUMMON_DARK_FIEND = 8,
  ITEM_VIRTUAL_ITEM = 5301, POINT_START_REVIVE = 1, DATA_OHGANOT_SO_FAST = 5762, SPELL_SNOWBALL = 21343,
  SPELL_ORPHAN_OUT = 58818, DISPLAY_INVISIBLE = 11686, MOVEMENT_TIME_RIFT = 1, SPELL_RIFT_CHANNEL = 31387,
  RIFT_BOSS = 1, EQUIP_DEFAULT = 1, EQUIP_INFERNO_BLADE = 2, EQUIP_DECIMATION_BLADE = 3,
  PULL_RANGE = 50, ABUSE_BUG_RANGE = 20, VEKLOR_DIST = 20, TELEPORTTIME = 30000,
  NPC_GAHZRILLA = 7273, PATH_ADDS = 81553, ACHIEV_GOTTA_GO_START_EVENT = 20381, DATA_CAN_LOOT = 0,
  DATA_CAN_LOOT = 0, DATA_TWILIGHT_DAMAGE_TAKEN = 1, DATA_MATERIAL_DAMAGE_TAKEN = 2, DATA_STACKS_DISPELLED = 3,
  DATA_FIGHT_PHASE = 4, DATA_SPAWNED_FLAMES = 5, SOUND_ID_DEATH = 17531, PHASE_INTRO = 1,
  PHASE_COMBAT = 2, SPLINE_INITIAL_MOVEMENT = 1, POINT_SUMMONED = 1, DATA_NEW_TARGET = 1,
  GORMOK_HAND_SEAT = 4, MAX_SNOBOLDS = 4, SPLINE_INITIAL_MOVEMENT = 1, EQUIP_MAIN_1 = 9423,
  EQUIP_MAIN_2 = 37377, POINT_INITIAL_MOVEMENT = 1, SPLINE_INITIAL_MOVEMENT = 1, PHASE_EVENT = 1,
  PHASE_COMBAT = 2, ACTION_RAPTOR_KILLED = 1, DATA_RAPTORS_KILLED = 2, ACTION_RESET_CRYSTALS,
  ACTION_ACTIVATE_CRYSTAL, ACTION_DEACTIVATE, EVENT_ATTACK, EVENT_SUMMON_MINIONS,
  DATA_NOVOS_ACHIEV, DATA_CONSUMPTION_JUNCTION = 1, POINT_LANDING = 1, DATA_SOUL_POWER = 1,
  DATA_THREE_FACED = 1, ACTION_INTRO, MENU_ID_JAINA = 10943, MENU_ID_SYLVANAS = 10971,
  GOSSIP_OPTION_ID = 0, ACTION_START_INTRO, ACTION_SKIP_INTRO, JAINA_SYLVANAS_MAX_HEALTH = 252000,
  POINT_SHADOW_THRONE_DOOR = 1, POINT_ATTACK_ICEWALL = 2, POINT_TRAP = 3, SOUND_LK_SLAY_1 = 17214,
  SOUND_LK_SLAY_2 = 17215, SOUND_LK_FURY_OF_FROSTMOURNE = 17224, DATA_SHARE_THE_LOVE = 1, DATA_LESS_RABI = 1,
  DATA_SNAKES_WHYD_IT_HAVE_TO_BE_SNAKES = 1, DISPLAY_KINETIC_BOMB = 31095, SUMMON_PRINCES_GROUP = 1, DATA_INTRO = 2,
  DATA_INTRO_DONE = 3, DATA_PRINCE_EVADE = 4, DATA_MADE_A_MESS = 45374613, GOSSIP_MENU_MURADIN_BRONZEBEARD = 10934,
  GOSSIP_MENU_HIGH_OVERLORD_SAURFANG = 10952, DATA_INOCULATED_STACK = 69291, DATA_PLAGUE_STACK = 70337, DATA_VILE = 45814622,
  ACTION_ENTER_COMBAT = 1, MISSED_PORTALS = 2, ACTION_DEATH = 3, ACTION_SETUP_ARCHMAGES = 4,
  DATA_SUPPRESSERS_COUNT = 4, POINT_VALITHRIA = 42, SUMMON_GROUP_ALL = 1, SUMMON_GROUP_10 = 2,
  SUMMON_GROUP_25 = 3, ACHIEV_TIMED_START_EVENT = 9891, DATA_FRENZY_DISPELS = 1, EVENT_GLUTH_ZOMBIE_BEHAVIOR = 10495,
  DATA_ZOMBIE_STATE = 1, ACTION_DECIMATE_EVENT = 2, DATA_SAFETY_DANCE = 19962139, ACHIEV_MAKE_QUICK_WERK_OF_HIM_STARTING_EVENT = 10286,
  NPC_BLIZZARD = 16474, GO_ICEBLOCK = 181247, DATA_THE_HUNDRED_CLUB = 21462147, MAX_FROST_RESISTANCE = 100,
  ACTION_BIRTH = 1, DATA_BLIZZARD_TARGET, MAX_POLARITY_10M = 5, MAX_POLARITY_25M = 13,
  DATA_POLARITY_CROSSED = 1, DATA_CHAOS_THEORY = 1, DATA_INTENSE_COLD = 1, DATA_CONTAINMENT_SPHERES = 3,
  ACTION_MAGUS_DEAD = 1, DATA_SPLIT_PERSONALITY = 2, GAME_EVENT_WINTER_VEIL = 2, DATA_MAX_SPARKS = 5,
  DATA_MAX_SPARK_DISTANCE = 90, DATA_POINT_CALLBACK = 0, ACHIEV_TIMELY_DEATH_START_EVENT = 20384, POINT_CENTER = 0,
  POINT_COMBINE = 1, ACTION_SLUDGE_DEAD = 1, DATA_ABUSE_THE_OOZE = 2, QUEST_HALLS_OF_STONE = 13207,
  DATA_BRANN_SPARKLIN_NEWS = 1, NPC_WORLD_TRIGGER = 22515, DATA_PHASE_3 = 1, DATA_NINE_LIVES = 30763077,
  DATA_CRAZY_CAT_LADY = 30063007, PHASE_NONE = 1, PHASE_COMBAT = 2, SUMMON_GROUP_10_MAN = 1,
  SUMMON_GROUP_25_MAN = 2, AURIAYA_DEATH_SOUNDID = 15476, NPC_SANCTUM_SENTRY = 34014, DATA_SHUTOUT = 29112912,
  VEHICLE_SPAWNS = 5, FREYA_SPAWNS = 4, TIME_DIFFERENCE = 10000, DATA_GETTING_BACK_TO_NATURE = 1,
  DATA_KNOCK_ON_WOOD = 2, DATA_SMELL_SARONITE = 31813188, DATA_SHADOWDODGER = 29962997, DATA_GETTING_COLD_IN_HERE = 29672968,
  DATA_QUICK_SHAVE = 29192921, DATA_IRON_DWARF_MEDIUM_RARE = 29232924, GOSSIP_START_ENCOUNTER = 0, DATA_EXPEDITION_NUMBER = 1,
  RAZORSCALE_EXPEDITION_GROUP = 1, RAZORSCALE_FIRE_STATE_10_GROUP = 2, RAZORSCALE_FIRE_STATE_25_GROUP = 3, ENGINEER_NORTH = 0,
  ENGINEER_EAST = 1, ENGINEER_WEST = 2, HARPOON_1 = 0, HARPOON_2 = 1,
  HARPOON_3 = 2, HARPOON_4 = 3, WORLD_STATE_RAZORSCALE_MUSIC = 4162, ACHIEV_MUST_DECONSTRUCT_FASTER = 21027,
  HEART_VEHICLE_SEAT_EXPOSED = 1, GROUP_SEARING_GRAVITY = 1, ACTION_START_PHASE_2, ACTION_NEXT_PHASE = 1,
  ACTION_START_FIGHT = 2, ACTION_START_ENCOUNTER = 3, POSITION_FLY = 0, POSITION_FINAL = 1,
  SUMMON_MINIBOSSES_GROUP = 1, DATA_INCREDIBLE_HULK = 2043, DATA_KINGS_BANE = 2157, DATA_DEHYDRATION = 1,
  ACTION_DESPAWN_VOID_SENTRY_BALL = 1, DATA_VOID_DANCE = 2153, NPC_DORE = 19412, MODEL_UNDEAD_MALE = 1027,
  MODEL_UNDEAD_FEMALE = 1029, MODEL_NIGHTELF_MALE = 2572, MODEL_NIGHTELF_FEMALE = 2575, MODEL_ORC_MALE = 2576,
  MODEL_ORC_FEMALE = 2577, MODEL_TAUREN_MALE = 2578, MODEL_TAUREN_FEMALE = 2579, MODEL_GNOME_MALE = 2581,
  MODEL_GNOME_FEMALE = 2590, MODEL_HUMAN_MALE = 2582, MODEL_HUMAN_FEMALE = 2583, MODEL_DWARF_MALE = 2584,
  MODEL_DWARF_FEMALE = 2585, MODEL_TROLL_MALE = 2588, MODEL_TROLL_FEMALE = 2589, MODEL_BLOODELF_MALE = 17267,
  MODEL_BLOODELF_FEMALE = 17268, MODEL_DRAENEI_MALE = 16721, MODEL_DRAENEI_FEMALE = 17004, NR_INITIAL_BEACONS = 3,
  GROUP_OUT_OF_COMBAT = 1, RELIQUARY_DESPAWN_WAYPOINT = 0, ACTION_ESSENCE_OF_SUFFERING_DEAD, ACTION_ESSENCE_OF_DESIRE_DEAD,
  ACTION_KILL_SELF, ACTION_START_COMBAT, ANGER_SOUND_ID_DEATH = 11401, AKAMA_CHANNEL_WAYPOINT = 0,
  AKAMA_INTRO_WAYPOINT = 1, SUMMON_GROUP_RESET = 1, DATA_REMOVE_IMPALING_SPINE = 1, ACTION_RESET_IMPALING_TARGET = 2,
  EMOTE_SPOUT = 0, SPOUT_DIST = 100, SPELL_SCALDINGWATER = 37284, NPC_COILFANG_FRENZY = 21508,
  NPC_COILFANG_PRIESTESS = 21220, NPC_COILFANG_SHATTERER = 21301, MIN_KILLS = 30, MAX_FLAMECALLERS = 3,
  SUMMON_GROUP_CHANNELERS = 1, ACTION_START_CHANNELERS_EVENT = 2, WV_ARMOR = 31000, NPC_DK_DANCING_RUNE_WEAPON = 27893,
  NPC_ARGENT_SQUIRE = 33238
}
 
enum  SharedTextIds {
  SAY_AGGRO = 0, SAY_SLAY = 1, SAY_DEATH = 2, SAY_BREATH = 3,
  SAY_RESPOND = 4, SAY_SPECIAL = 5, WHISPER_OPEN_PORTAL = 6, WHISPER_OPENED_PORTAL = 7
}
 
enum  DragonEvents {
  EVENT_FREE_MOVEMENT = 1, EVENT_SHADOW_FISSURE = 2, EVENT_SHADOW_BREATH = 3, EVENT_HATCH_EGGS = 4,
  EVENT_ACOLYTE_SHADRON = 5, EVENT_ACOLYTE_VESPERON = 6
}
 
enum  TwilightEggs { EVENT_TWILIGHT_EGGS = 11 }
 
enum  FlameTsunami { EVENT_TSUNAMI_TIMER = 12, EVENT_TSUNAMI_BUFF = 13 }
 
enum  TwilightFissure { EVENT_VOID_BLAST = 14 }
 
enum  TwilightWhelps { EVENT_FADE_ARMOR = 15 }
 

Functions

void AddSC_obsidian_sanctum ()
 

Variables

Position const dragonCommon [MAX_WAYPOINT]
 
Position const AcolyteofShadron = { 3363.92f, 534.703f, 97.2683f, 0.0f }
 
Position const AcolyteofShadron2 = { 3246.57f, 551.263f, 58.6164f, 0.0f }
 
Position const AcolyteofVesperon = { 3145.68f, 520.71f, 89.7f, 0.0f }
 
Position const AcolyteofVesperon2 = { 3246.57f, 551.263f, 58.6164f, 0.0f }
 
Position const TwilightEggs []
 
Position const TwilightEggsSarth []
 

Macro Definition Documentation

◆ MAX_WAYPOINT

#define MAX_WAYPOINT   6

Enumeration Type Documentation

◆ DragonEvents

Enumerator
EVENT_FREE_MOVEMENT 
EVENT_SHADOW_FISSURE 
EVENT_SHADOW_BREATH 
EVENT_HATCH_EGGS 
EVENT_ACOLYTE_SHADRON 
EVENT_ACOLYTE_VESPERON 
145 {
146  // Shared Events
150 
151  // Tenebron
152  EVENT_HATCH_EGGS = 4,
153 
154  // Shadron
156 
157  // Vesperon
159 };
Definition: obsidian_sanctum.cpp:158
Definition: obsidian_sanctum.cpp:147
Definition: obsidian_sanctum.cpp:152
Definition: obsidian_sanctum.cpp:149
Definition: obsidian_sanctum.cpp:155
Definition: obsidian_sanctum.cpp:148

◆ Enums

enum Enums
Enumerator
SAY_ENTER 
SAY_AGGRO 
SAY_BANISH 
SAY_SLAY 
SAY_DEATH 
EMOTE_FRENZY 
SPELL_CLEAVE 
SPELL_TIME_STOP 
SPELL_ENRAGE 
SPELL_SAND_BREATH 
H_SPELL_SAND_BREATH 
SAY_ENTER 
SAY_AGGRO 
SAY_BANISH 
SAY_SLAY 
SAY_DEATH 
SPELL_ARCANE_BLAST 
H_SPELL_ARCANE_BLAST 
SPELL_ARCANE_DISCHARGE 
H_SPELL_ARCANE_DISCHARGE 
SPELL_TIME_LAPSE 
SPELL_ATTRACTION 
SAY_ENTER 
SAY_AGGRO 
SAY_BANISH 
SAY_SLAY 
SAY_DEATH 
SPELL_HASTE 
SPELL_MORTAL_WOUND 
SPELL_WING_BUFFET 
H_SPELL_WING_BUFFET 
SPELL_REFLECT 
SAY_AT_LAST 
SAY_MAKE_PREPARATIONS 
SAY_TEMPLE_OF_PROMISE 
SAY_MUST_CONTINUE 
SAY_BANISH_THE_SPIRITS 
SAY_CAVERNS_PURIFIED 
SAY_BEYOND_THIS_CORRIDOR 
SAY_EMERALD_DREAM 
EMOTE_AWAKENING_RITUAL 
EMOTE_TROUBLED_SLEEP 
EMOTE_WRITHE_IN_AGONY 
EMOTE_HORRENDOUS_VISION 
SAY_MUTANUS_THE_DEVOURER 
SAY_I_AM_AWAKE 
SAY_NARALEX_AWAKES 
SAY_THANK_YOU 
SAY_FAREWELL 
SAY_ATTACKED 
GOSSIP_OPTION_LET_EVENT_BEGIN 
NPC_TEXT_NARALEX_SLEEPS_AGAIN 
NPC_TEXT_FANGLORDS_ARE_DEAD 
SPELL_MARK_OF_THE_WILD_RANK_2 
SPELL_SERPENTINE_CLEANSING 
SPELL_NARALEXS_AWAKENING 
SPELL_FLIGHT_FORM 
NPC_DEVIATE_RAVAGER 
NPC_DEVIATE_VIPER 
NPC_DEVIATE_MOCCASIN 
NPC_NIGHTMARE_ECTOPLASM 
NPC_MUTANUS_THE_DEVOURER 
SAY_SARTHARION_AGGRO 
SAY_SARTHARION_BERSERK 
SAY_SARTHARION_BREATH 
SAY_SARTHARION_CALL_SHADRON 
SAY_SARTHARION_CALL_TENEBRON 
SAY_SARTHARION_CALL_VESPERON 
SAY_SARTHARION_DEATH 
SAY_SARTHARION_SPECIAL 
SAY_SARTHARION_SLAY 
WHISPER_LAVA_CHURN 
SPELL_BERSERK 
SPELL_CLEAVE 
SPELL_FLAME_BREATH 
SPELL_TAIL_LASH 
SPELL_WILL_OF_SARTHARION 
SPELL_LAVA_STRIKE 
SPELL_TWILIGHT_REVENGE 
NPC_FIRE_CYCLONE 
SPELL_PYROBUFFET 
SPELL_PYROBUFFET_RANGE 
NPC_ACOLYTE_OF_VESPERON 
SPELL_POWER_OF_VESPERON 
NPC_ACOLYTE_OF_SHADRON 
SPELL_POWER_OF_SHADRON 
SPELL_POWER_OF_TENEBRON 
NPC_FLAME_TSUNAMI 
POINT_ID_INIT 
POINT_ID_LAND 
SPELL_TWILIGHT_RESIDUE 
SPELL_SHADOW_BREATH 
SPELL_SHADOW_FISSURE 
NPC_ACOLYTE_OF_VESPERON 
SPELL_POWER_OF_VESPERON 
SPELL_TWILIGHT_TORMENT_VESP 
SPELL_TWILIGHT_TORMENT_VESP_ACO 
NPC_ACOLYTE_OF_SHADRON 
SPELL_POWER_OF_SHADRON 
SPELL_GIFT_OF_TWILIGTH_SHA 
SPELL_GIFT_OF_TWILIGTH_SAR 
SPELL_VOID_BLAST 
SPELL_POWER_OF_TENEBRON 
SPELL_SUMMON_TWILIGHT_WHELP 
SPELL_SUMMON_SARTHARION_TWILIGHT_WHELP 
SPELL_TWILIGHT_REVENGE 
SPELL_HATCH_EGGS_H 
SPELL_HATCH_EGGS 
SPELL_HATCH_EGGS_EFFECT_H 
SPELL_HATCH_EGGS_EFFECT 
NPC_TWILIHT_WHELP 
NPC_TWILIGHT_EGG 
NPC_SARTHARION_TWILIGHT_EGG 
SPELL_TWILIGHT_SHIFT_ENTER 
SPELL_TWILIGHT_SHIFT 
SPELL_TWILIGHT_SHIFT_REMOVAL 
SPELL_TWILIGHT_SHIFT_REMOVAL_ALL 
NPC_TWILIGHT_WHELP 
NPC_SARTHARION_TWILIGHT_WHELP 
SPELL_FADE_ARMOR 
SPELL_FLAME_TSUNAMI 
SPELL_FLAME_TSUNAMI_LEAP 
SPELL_FLAME_TSUNAMI_DMG_AURA 
SPELL_FLAME_TSUNAMI_BUFF 
NPC_LAVA_BLAZE 
POINT_ID_INIT 
POINT_ID_LAND 
29 {
30  //Mini bosses common spells
31  SPELL_TWILIGHT_RESIDUE = 61885, // makes immune to shadow damage, applied when leave phase
32 
33  //Miniboses (Vesperon, Shadron, Tenebron)
34  SPELL_SHADOW_BREATH = 57570, // Inflicts 6938 to 8062 Fire damage to enemies in a cone in front of the caster.
35  SPELL_SHADOW_FISSURE = 57579, // Deals 6188 to 8812 Shadow damage to any enemy within the Shadow fissure after 5 sec.
36 
37  //Vesperon
38  //In portal is a disciple, when disciple killed remove Power_of_vesperon, portal open multiple times
39  NPC_ACOLYTE_OF_VESPERON = 31219, // Acolyte of Vesperon
40  SPELL_POWER_OF_VESPERON = 61251, // Vesperon's presence decreases the maximum health of all enemies by 25%.
41  SPELL_TWILIGHT_TORMENT_VESP = 57948, // (Shadow only) trigger 57935 then 57988
42  SPELL_TWILIGHT_TORMENT_VESP_ACO = 58853, // (Fire and Shadow) trigger 58835 then 57988
43 
44  //Shadron
45  //In portal is a disciple, when disciple killed remove Power_of_vesperon, portal open multiple times
46  NPC_ACOLYTE_OF_SHADRON = 31218, // Acolyte of Shadron
47  SPELL_POWER_OF_SHADRON = 58105, // Shadron's presence increases Fire damage taken by all enemies by 100%.
48  SPELL_GIFT_OF_TWILIGTH_SHA = 57835, // TARGET_SCRIPT shadron
49  SPELL_GIFT_OF_TWILIGTH_SAR = 58766, // TARGET_SCRIPT sartharion
50  SPELL_VOID_BLAST = 57581, // Twilight Fissure
51 
52  //Tenebron
53  //in the portal spawns 6 eggs, if not killed in time (approx. 20s) they will hatch, whelps can cast 60708
54  SPELL_POWER_OF_TENEBRON = 61248, // Tenebron's presence increases Shadow damage taken by all enemies by 100%.
55  //Tenebron, dummy spell
56  SPELL_SUMMON_TWILIGHT_WHELP = 58035, // doesn't work, will spawn NPC_TWILIGHT_WHELP
57  SPELL_SUMMON_SARTHARION_TWILIGHT_WHELP = 58826, // doesn't work, will spawn NPC_SHARTHARION_TWILIGHT_WHELP
58  SPELL_TWILIGHT_REVENGE = 60639,
59  SPELL_HATCH_EGGS_H = 59189,
60  SPELL_HATCH_EGGS = 58542,
63  NPC_TWILIHT_WHELP = 31214,
64  NPC_TWILIGHT_EGG = 30882,
66 
67  SPELL_TWILIGHT_SHIFT_ENTER = 57620, // enter phase. Player get this when click GO
68  SPELL_TWILIGHT_SHIFT = 57874, // Twilight Shift Aura
69  SPELL_TWILIGHT_SHIFT_REMOVAL = 61187, // leave phase
70  SPELL_TWILIGHT_SHIFT_REMOVAL_ALL = 61190, // leave phase (probably version to make all leave)
71 
72  //Whelps
73  NPC_TWILIGHT_WHELP = 30890,
75  SPELL_FADE_ARMOR = 60708, // Reduces the armor of an enemy by 1500 for 15s
76 
77  //flame tsunami
78  SPELL_FLAME_TSUNAMI = 57494, // the visual dummy
79  SPELL_FLAME_TSUNAMI_LEAP = 60241, // SPELL_EFFECT_138 some leap effect, causing caster to move in direction
80 
81  SPELL_FLAME_TSUNAMI_DMG_AURA = 57491, // periodic damage, npc has this aura
83  NPC_LAVA_BLAZE = 30643, // adds spawning from flame strike
84 
85  //using these custom points for dragons start and end
86  POINT_ID_INIT = 100,
87  POINT_ID_LAND = 200
88 };
Definition: obsidian_sanctum.cpp:75
Definition: obsidian_sanctum.cpp:82
Definition: obsidian_sanctum.cpp:31
Definition: obsidian_sanctum.cpp:42
Definition: obsidian_sanctum.cpp:62
Definition: obsidian_sanctum.cpp:54
Definition: obsidian_sanctum.cpp:60
Definition: obsidian_sanctum.cpp:34
Definition: obsidian_sanctum.cpp:81
Definition: obsidian_sanctum.cpp:64
Definition: obsidian_sanctum.cpp:41
Definition: obsidian_sanctum.cpp:46
Definition: obsidian_sanctum.cpp:67
Definition: obsidian_sanctum.cpp:68
Definition: obsidian_sanctum.cpp:69
Definition: obsidian_sanctum.cpp:48
Definition: obsidian_sanctum.cpp:40
Definition: obsidian_sanctum.cpp:79
Definition: obsidian_sanctum.cpp:65
Definition: obsidian_sanctum.cpp:56
Definition: obsidian_sanctum.cpp:83
Definition: obsidian_sanctum.cpp:61
Definition: obsidian_sanctum.cpp:35
Definition: obsidian_sanctum.cpp:63
Definition: obsidian_sanctum.cpp:57
Definition: obsidian_sanctum.cpp:78
Definition: obsidian_sanctum.cpp:47
Definition: obsidian_sanctum.cpp:70
Definition: obsidian_sanctum.cpp:39
Definition: obsidian_sanctum.cpp:73
Definition: obsidian_sanctum.cpp:49
Definition: obsidian_sanctum.cpp:50
Definition: obsidian_sanctum.cpp:87
Definition: obsidian_sanctum.cpp:74
Definition: obsidian_sanctum.cpp:58
Definition: obsidian_sanctum.cpp:86
Definition: obsidian_sanctum.cpp:59

◆ FlameTsunami

Enumerator
EVENT_TSUNAMI_TIMER 
EVENT_TSUNAMI_BUFF 
779 {
780  EVENT_TSUNAMI_TIMER = 12,
781  EVENT_TSUNAMI_BUFF = 13
782 };
Definition: obsidian_sanctum.cpp:780
Definition: obsidian_sanctum.cpp:781

◆ Misc

enum Misc
Enumerator
SUMMON_GROUP_ID_SURGING_FEL 
ENCOUNTER_ID_GAROTHI_WORLDBREAKER 
MAX_OCCUTHAR_VEHICLE_SEATS 
DATA_SKILLPOINT_MIN 
NEFARIUS_PATH_2 
NEFARIUS_PATH_3 
GYTH_PATH_1 
NEFARIUS_PATH_1 
NEFARIUS_PATH_2 
NEFARIUS_PATH_3 
REND_PATH_1 
REND_PATH_2 
DATA_CANNON_BLAST_TIMER 
DATA_PIRATES_DELAY_TIMER 
OZ_GOSSIP1_MID 
OZ_GOSSIP1_OID 
OZ_GOSSIP2_MID 
OZ_GOSSIP2_OID 
MAX_ACTIVE_LACKEY 
ACTION_SWITCH_PHASE 
INTERVAL_MODIFIER 
INTERVAL_SWITCH 
WEAPON_KIRTONOS_STAFF 
POINT_KIRTONOS_LAND 
KIRTONOS_PATH 
MAX_VOID_SPAWNS 
MAX_SUMMON_BLOOD_ELVES 
MAX_SUMMON_DARK_FIEND 
ITEM_VIRTUAL_ITEM 
POINT_START_REVIVE 
DATA_OHGANOT_SO_FAST 
SPELL_SNOWBALL 
SPELL_ORPHAN_OUT 
DISPLAY_INVISIBLE 
MOVEMENT_TIME_RIFT 
SPELL_RIFT_CHANNEL 
RIFT_BOSS 
EQUIP_DEFAULT 
EQUIP_INFERNO_BLADE 
EQUIP_DECIMATION_BLADE 
PULL_RANGE 
ABUSE_BUG_RANGE 
VEKLOR_DIST 
TELEPORTTIME 
NPC_GAHZRILLA 
PATH_ADDS 
ACHIEV_GOTTA_GO_START_EVENT 
DATA_CAN_LOOT 
DATA_CAN_LOOT 
DATA_TWILIGHT_DAMAGE_TAKEN 
DATA_MATERIAL_DAMAGE_TAKEN 
DATA_STACKS_DISPELLED 
DATA_FIGHT_PHASE 
DATA_SPAWNED_FLAMES 
SOUND_ID_DEATH 
PHASE_INTRO 
PHASE_COMBAT 
SPLINE_INITIAL_MOVEMENT 
POINT_SUMMONED 
DATA_NEW_TARGET 
GORMOK_HAND_SEAT 
MAX_SNOBOLDS 
SPLINE_INITIAL_MOVEMENT 
EQUIP_MAIN_1 
EQUIP_MAIN_2 
POINT_INITIAL_MOVEMENT 
SPLINE_INITIAL_MOVEMENT 
PHASE_EVENT 
PHASE_COMBAT 
ACTION_RAPTOR_KILLED 
DATA_RAPTORS_KILLED 
ACTION_RESET_CRYSTALS 
ACTION_ACTIVATE_CRYSTAL 
ACTION_DEACTIVATE 
EVENT_ATTACK 
EVENT_SUMMON_MINIONS 
DATA_NOVOS_ACHIEV 
DATA_CONSUMPTION_JUNCTION 
POINT_LANDING 
DATA_SOUL_POWER 
DATA_THREE_FACED 
ACTION_INTRO 
MENU_ID_JAINA 
MENU_ID_SYLVANAS 
GOSSIP_OPTION_ID 
ACTION_START_INTRO 
ACTION_SKIP_INTRO 
JAINA_SYLVANAS_MAX_HEALTH 
POINT_SHADOW_THRONE_DOOR 
POINT_ATTACK_ICEWALL 
POINT_TRAP 
SOUND_LK_SLAY_1 
SOUND_LK_SLAY_2 
SOUND_LK_FURY_OF_FROSTMOURNE 
DATA_SHARE_THE_LOVE 
DATA_LESS_RABI 
DATA_SNAKES_WHYD_IT_HAVE_TO_BE_SNAKES 
DISPLAY_KINETIC_BOMB 
SUMMON_PRINCES_GROUP 
DATA_INTRO 
DATA_INTRO_DONE 
DATA_PRINCE_EVADE 
DATA_MADE_A_MESS 
GOSSIP_MENU_MURADIN_BRONZEBEARD 
GOSSIP_MENU_HIGH_OVERLORD_SAURFANG 
DATA_INOCULATED_STACK 
DATA_PLAGUE_STACK 
DATA_VILE 
ACTION_ENTER_COMBAT 
MISSED_PORTALS 
ACTION_DEATH 
ACTION_SETUP_ARCHMAGES 
DATA_SUPPRESSERS_COUNT 
POINT_VALITHRIA 
SUMMON_GROUP_ALL 
SUMMON_GROUP_10 
SUMMON_GROUP_25 
ACHIEV_TIMED_START_EVENT 
DATA_FRENZY_DISPELS 
EVENT_GLUTH_ZOMBIE_BEHAVIOR 
DATA_ZOMBIE_STATE 
ACTION_DECIMATE_EVENT 
DATA_SAFETY_DANCE 
ACHIEV_MAKE_QUICK_WERK_OF_HIM_STARTING_EVENT 
NPC_BLIZZARD 
GO_ICEBLOCK 
DATA_THE_HUNDRED_CLUB 
MAX_FROST_RESISTANCE 
ACTION_BIRTH 
DATA_BLIZZARD_TARGET 
MAX_POLARITY_10M 
MAX_POLARITY_25M 
DATA_POLARITY_CROSSED 
DATA_CHAOS_THEORY 
DATA_INTENSE_COLD 
DATA_CONTAINMENT_SPHERES 
ACTION_MAGUS_DEAD 
DATA_SPLIT_PERSONALITY 
GAME_EVENT_WINTER_VEIL 
DATA_MAX_SPARKS 
DATA_MAX_SPARK_DISTANCE 
DATA_POINT_CALLBACK 
ACHIEV_TIMELY_DEATH_START_EVENT 
POINT_CENTER 
POINT_COMBINE 
ACTION_SLUDGE_DEAD 
DATA_ABUSE_THE_OOZE 
QUEST_HALLS_OF_STONE 
DATA_BRANN_SPARKLIN_NEWS 
NPC_WORLD_TRIGGER 
DATA_PHASE_3 
DATA_NINE_LIVES 
DATA_CRAZY_CAT_LADY 
PHASE_NONE 
PHASE_COMBAT 
SUMMON_GROUP_10_MAN 
SUMMON_GROUP_25_MAN 
AURIAYA_DEATH_SOUNDID 
NPC_SANCTUM_SENTRY 
DATA_SHUTOUT 
VEHICLE_SPAWNS 
FREYA_SPAWNS 
TIME_DIFFERENCE 
DATA_GETTING_BACK_TO_NATURE 
DATA_KNOCK_ON_WOOD 
DATA_SMELL_SARONITE 
DATA_SHADOWDODGER 
DATA_GETTING_COLD_IN_HERE 
DATA_QUICK_SHAVE 
DATA_IRON_DWARF_MEDIUM_RARE 
GOSSIP_START_ENCOUNTER 
DATA_EXPEDITION_NUMBER 
RAZORSCALE_EXPEDITION_GROUP 
RAZORSCALE_FIRE_STATE_10_GROUP 
RAZORSCALE_FIRE_STATE_25_GROUP 
ENGINEER_NORTH 
ENGINEER_EAST 
ENGINEER_WEST 
HARPOON_1 
HARPOON_2 
HARPOON_3 
HARPOON_4 
WORLD_STATE_RAZORSCALE_MUSIC 
ACHIEV_MUST_DECONSTRUCT_FASTER 
HEART_VEHICLE_SEAT_EXPOSED 
GROUP_SEARING_GRAVITY 
ACTION_START_PHASE_2 
ACTION_NEXT_PHASE 
ACTION_START_FIGHT 
ACTION_START_ENCOUNTER 
POSITION_FLY 
POSITION_FINAL 
SUMMON_MINIBOSSES_GROUP 
DATA_INCREDIBLE_HULK 
DATA_KINGS_BANE 
DATA_DEHYDRATION 
ACTION_DESPAWN_VOID_SENTRY_BALL 
DATA_VOID_DANCE 
NPC_DORE 
MODEL_UNDEAD_MALE 
MODEL_UNDEAD_FEMALE 
MODEL_NIGHTELF_MALE 
MODEL_NIGHTELF_FEMALE 
MODEL_ORC_MALE 
MODEL_ORC_FEMALE 
MODEL_TAUREN_MALE 
MODEL_TAUREN_FEMALE 
MODEL_GNOME_MALE 
MODEL_GNOME_FEMALE 
MODEL_HUMAN_MALE 
MODEL_HUMAN_FEMALE 
MODEL_DWARF_MALE 
MODEL_DWARF_FEMALE 
MODEL_TROLL_MALE 
MODEL_TROLL_FEMALE 
MODEL_BLOODELF_MALE 
MODEL_BLOODELF_FEMALE 
MODEL_DRAENEI_MALE 
MODEL_DRAENEI_FEMALE 
NR_INITIAL_BEACONS 
GROUP_OUT_OF_COMBAT 
RELIQUARY_DESPAWN_WAYPOINT 
ACTION_ESSENCE_OF_SUFFERING_DEAD 
ACTION_ESSENCE_OF_DESIRE_DEAD 
ACTION_KILL_SELF 
ACTION_START_COMBAT 
ANGER_SOUND_ID_DEATH 
AKAMA_CHANNEL_WAYPOINT 
AKAMA_INTRO_WAYPOINT 
SUMMON_GROUP_RESET 
DATA_REMOVE_IMPALING_SPINE 
ACTION_RESET_IMPALING_TARGET 
EMOTE_SPOUT 
SPOUT_DIST 
SPELL_SCALDINGWATER 
NPC_COILFANG_FRENZY 
NPC_COILFANG_PRIESTESS 
NPC_COILFANG_SHATTERER 
MIN_KILLS 
MAX_FLAMECALLERS 
SUMMON_GROUP_CHANNELERS 
ACTION_START_CHANNELERS_EVENT 
WV_ARMOR 
NPC_DK_DANCING_RUNE_WEAPON 
NPC_ARGENT_SQUIRE 
91 {
92  DATA_CAN_LOOT = 0
93 };
Definition: obsidian_sanctum.cpp:92

◆ SharedTextIds

Enumerator
SAY_AGGRO 
SAY_SLAY 
SAY_DEATH 
SAY_BREATH 
SAY_RESPOND 
SAY_SPECIAL 
WHISPER_OPEN_PORTAL 
WHISPER_OPENED_PORTAL 
133 {
134  SAY_AGGRO = 0,
135  SAY_SLAY = 1,
136  SAY_DEATH = 2,
137  SAY_BREATH = 3,
138  SAY_RESPOND = 4,
139  SAY_SPECIAL = 5,
142 };
Definition: obsidian_sanctum.cpp:138
Definition: obsidian_sanctum.cpp:141
Definition: obsidian_sanctum.cpp:136
Definition: obsidian_sanctum.cpp:137
Definition: obsidian_sanctum.cpp:140
Definition: obsidian_sanctum.cpp:135
Definition: obsidian_sanctum.cpp:139
Definition: obsidian_sanctum.cpp:134

◆ TwilightEggs

Enumerator
EVENT_TWILIGHT_EGGS 
721 {
723 };
Definition: obsidian_sanctum.cpp:722

◆ TwilightFissure

Enumerator
EVENT_VOID_BLAST 
830 {
831  EVENT_VOID_BLAST = 14
832 };
Definition: obsidian_sanctum.cpp:831

◆ TwilightWhelps

Enumerator
EVENT_FADE_ARMOR 
873 {
874  EVENT_FADE_ARMOR = 15
875 };
Definition: obsidian_sanctum.cpp:874

Function Documentation

◆ AddSC_obsidian_sanctum()

void AddSC_obsidian_sanctum ( )
945 {
958 }
Definition: obsidian_sanctum.cpp:834
Definition: obsidian_sanctum.cpp:414
Definition: obsidian_sanctum.cpp:725
Definition: obsidian_sanctum.cpp:922
Definition: obsidian_sanctum.cpp:656
Definition: obsidian_sanctum.cpp:531
Definition: obsidian_sanctum.cpp:586
Definition: obsidian_sanctum.cpp:463
Definition: obsidian_sanctum.cpp:933
Definition: obsidian_sanctum.cpp:877
#define RegisterObsidianSanctumCreatureAI(ai_name)
Definition: obsidian_sanctum.h:57
Definition: obsidian_sanctum.cpp:784
Definition: obsidian_sanctum.cpp:911
+ Here is the caller graph for this function:

Variable Documentation

◆ AcolyteofShadron

Position const AcolyteofShadron = { 3363.92f, 534.703f, 97.2683f, 0.0f }

◆ AcolyteofShadron2

Position const AcolyteofShadron2 = { 3246.57f, 551.263f, 58.6164f, 0.0f }

◆ AcolyteofVesperon

Position const AcolyteofVesperon = { 3145.68f, 520.71f, 89.7f, 0.0f }

◆ AcolyteofVesperon2

Position const AcolyteofVesperon2 = { 3246.57f, 551.263f, 58.6164f, 0.0f }

◆ dragonCommon

Position const dragonCommon[MAX_WAYPOINT]
Initial value:
=
{
{ 3214.012f, 468.932f, 98.652f, 0.0f },
{ 3244.950f, 468.427f, 98.652f, 0.0f },
{ 3283.520f, 496.869f, 98.652f, 0.0f },
{ 3287.316f, 555.875f, 98.652f, 0.0f },
{ 3250.479f, 585.827f, 98.652f, 0.0f },
{ 3209.969f, 566.523f, 98.652f, 0.0f }
}

◆ TwilightEggs

Initial value:
=
{
{ 3219.28f, 669.121f, 88.5549f, 0.0f },
{ 3221.55f, 682.852f, 90.5361f, 0.0f },
{ 3239.77f, 685.94f, 90.3168f, 0.0f },
{ 3250.33f, 669.749f, 88.7637f, 0.0f },
{ 3246.6f, 642.365f, 84.8752f, 0.0f },
{ 3233.68f, 653.117f, 85.7051f, 0.0f }
}

◆ TwilightEggsSarth

Position const TwilightEggsSarth[]
Initial value:
=
{
{ 3252.73f, 515.762f, 58.5501f, 0.0f },
{ 3256.56f, 521.119f, 58.6061f, 0.0f },
{ 3255.63f, 527.513f, 58.7568f, 0.0f },
{ 3264.90f, 525.865f, 58.6436f, 0.0f },
{ 3264.26f, 516.364f, 58.8011f, 0.0f },
{ 3257.54f, 502.285f, 58.2077f, 0.0f }
}