TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
obsidian_sanctum.cpp File Reference
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "GridNotifiers.h"
#include "GridNotifiersImpl.h"
#include "Cell.h"
#include "CellImpl.h"
#include "obsidian_sanctum.h"
+ Include dependency graph for obsidian_sanctum.cpp:

Classes

struct  dummy_dragonAI
 
class  npc_tenebron
 
struct  npc_tenebron::npc_tenebronAI
 
class  npc_shadron
 
struct  npc_shadron::npc_shadronAI
 
class  npc_vesperon
 
struct  npc_vesperon::npc_vesperonAI
 
class  npc_acolyte_of_shadron
 
struct  npc_acolyte_of_shadron::npc_acolyte_of_shadronAI
 
class  npc_acolyte_of_vesperon
 
struct  npc_acolyte_of_vesperon::npc_acolyte_of_vesperonAI
 
class  npc_twilight_eggs
 
struct  npc_twilight_eggs::npc_twilight_eggsAI
 
class  npc_flame_tsunami
 
struct  npc_flame_tsunami::npc_flame_tsunamiAI
 
class  npc_twilight_fissure
 
struct  npc_twilight_fissure::npc_twilight_fissureAI
 
class  npc_twilight_whelp
 
struct  npc_twilight_whelp::npc_twilight_whelpAI
 
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 {
  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,
  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_ENCOUNTER = 6,
  ITEM_VIRTUAL_ITEM = 5301, POINT_START_REVIVE = 1, DATA_OHGANOT_SO_FAST = 5762, FACTION_NONE = 1665,
  SPELL_SNOWBALL = 21343, SPELL_ORPHAN_OUT = 58818, DISPLAY_INVISIBLE = 11686, SPELL_RIFT_CHANNEL = 31387,
  RIFT_BOSS = 1, AREA_TOMB_OF_THE_EARTHRAGER = 4945, ACHIEV_VAULT_OF_LIGHTS_EVENT = 24212, SPELL_VAULT_OF_LIGHTS_CREDIT = 94067,
  PULL_RANGE = 50, ABUSE_BUG_RANGE = 20, VEKLOR_DIST = 20, TELEPORTTIME = 30000,
  NPC_GAHZRILLA = 7273, PATH_ADDS = 81553, ACTION_CORBORUS_INTRO, ACTION_SLABHIDE_INTRO,
  NPC_WORLDTRIGGER = 22515, NPC_MILLHOUSE_MANASTORM = 43391, NPC_CORBORUS = 43438, NPC_SLABHIDE = 43214,
  NPC_OZRUK = 42188, NPC_HIGH_PRIESTESS_AZIL = 42333, MAX_STONECORE_TELEPORTERS = 2, NPC_STONECORE_TELEPORTER = 51396,
  NPC_STONECORE_TELEPORTER_2 = 51397, SPELL_TELEPORTER_ACTIVE_VISUAL = 95298, GAMEOBJECT_TWILIGHT_DOCUMENTS = 207415, GAMEOBJECT_CORBORUS_ROCKDOOR = 207343,
  GAMEOBJECT_SLABHIDE_ROCK_WALL = 204381, SPELL_RING_WYRM_KNOCKBACK = 81235, CREATURE_FORMATION_MILLHOUSE_EVENT_TRASH = 340418, CREATURE_FORMATION_MILLHOUSE_EVENT_LAST_GROUP = 340492,
  ACTION_INITIAND_KILLED = 1, DATA_VOLUNTEER_WORK = 2, DATA_EMBRACE_DMG = 20000, H_DATA_EMBRACE_DMG = 40000,
  ACHIEV_TIMED_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_EVADE_METHOD = 5,
  DATA_SPAWNED_FLAMES = 6, SOUND_ID_DEATH = 17531, 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, GOSSIP_SPEECHINTRO = 13525, ACTION_INTRO,
  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,
  DATA_MADE_A_MESS = 45374613, FACTION_SCOURGE = 974, GOSSIP_MENU_MURADIN_BRONZEBEARD = 10934, GOSSIP_MENU_HIGH_OVERLORD_SAURFANG = 10952,
  DATA_INOCULATED_STACK = 69291, DATA_PLAGUE_STACK = 70337, DATA_VILE = 45814622, ACHIEV_TIMED_START_EVENT = 9891,
  DATA_FRENZY_DISPELS = 1, 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, 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,
  POINT_MOVE_OUT = 1, DATA_MAX_SPARKS = 5, DATA_MAX_SPARK_DISTANCE = 90, DATA_POINT_CALLBACK = 0,
  ACHIEV_TIMELY_DEATH_START_EVENT = 20384, ACTION_OOZE_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_SHUTOUT = 29112912,
  DATA_ORBIT_ACHIEVEMENTS = 1, VEHICLE_SPAWNS = 5, FREYA_SPAWNS = 4, WAVE_TIME = 60000,
  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,
  ACTION_START_PHASE_2, ACTION_NEXT_PHASE, DATA_INCREDIBLE_HULK = 2043, DATA_KINGS_BANE = 2157,
  MAX_TEMPEST_MINIONS = 4, DATA_DEHYDRATION = 1, ACTION_DESPAWN_VOID_SENTRY_BALL = 1, DATA_VOID_DANCE = 2153,
  NR_INITIAL_BEACONS = 3, ACTION_AMBASSADOR_HELLMAW_INTRO = 1, ACTION_AMBASSADOR_HELLMAW_BANISH = 2, FLAME_ENRAGE_DISTANCE = 30,
  FLAME_CHARGE_DISTANCE = 50, EQUIP_ID_MAIN_HAND = 32837, EQUIP_ID_OFF_HAND = 32838, EQUIP_ID_MAIN_HAND_MAIEV = 44850,
  MODEL_INVISIBLE = 11686, MODEL_ILLIDAN = 21135, MODEL_BLADE = 21431, SPELL_SCALDINGWATER = 37284,
  NPC_COILFANG_FRENZY = 21508, NPC_COILFANG_PRIESTESS = 21220, NPC_COILFANG_SHATTERER = 21301, MIN_KILLS = 30,
  EMOTE_SUMMON = 0, MODEL_DEFAULT = 13109, MODEL_ARCANE = 14213, MODEL_FIRE = 13110,
  MODEL_FROST = 14112, MODEL_NATURE = 14214, CREATURE_TREANT = 19949, TREANT_SPAWN_DIST = 50,
  WV_ARMOR = 31000
}
 
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

#define MAX_WAYPOINT   6

Enumeration Type Documentation

Enumerator
EVENT_FREE_MOVEMENT 
EVENT_SHADOW_FISSURE 
EVENT_SHADOW_BREATH 
EVENT_HATCH_EGGS 
EVENT_ACOLYTE_SHADRON 
EVENT_ACOLYTE_VESPERON 
143 {
144  // Shared Events
148 
149  // Tenebron
150  EVENT_HATCH_EGGS = 4,
151 
152  // Shadron
154 
155  // Vesperon
157 };
Definition: obsidian_sanctum.cpp:156
Definition: obsidian_sanctum.cpp:145
Definition: obsidian_sanctum.cpp:150
Definition: obsidian_sanctum.cpp:147
Definition: obsidian_sanctum.cpp:153
Definition: obsidian_sanctum.cpp:146
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 
27 {
28  //Mini bosses common spells
29  SPELL_TWILIGHT_RESIDUE = 61885, // makes immune to shadow damage, applied when leave phase
30 
31  //Miniboses (Vesperon, Shadron, Tenebron)
32  SPELL_SHADOW_BREATH = 57570, // Inflicts 6938 to 8062 Fire damage to enemies in a cone in front of the caster.
33  SPELL_SHADOW_FISSURE = 57579, // Deals 6188 to 8812 Shadow damage to any enemy within the Shadow fissure after 5 sec.
34 
35  //Vesperon
36  //In portal is a disciple, when disciple killed remove Power_of_vesperon, portal open multiple times
37  NPC_ACOLYTE_OF_VESPERON = 31219, // Acolyte of Vesperon
38  SPELL_POWER_OF_VESPERON = 61251, // Vesperon's presence decreases the maximum health of all enemies by 25%.
39  SPELL_TWILIGHT_TORMENT_VESP = 57948, // (Shadow only) trigger 57935 then 57988
40  SPELL_TWILIGHT_TORMENT_VESP_ACO = 58853, // (Fire and Shadow) trigger 58835 then 57988
41 
42  //Shadron
43  //In portal is a disciple, when disciple killed remove Power_of_vesperon, portal open multiple times
44  NPC_ACOLYTE_OF_SHADRON = 31218, // Acolyte of Shadron
45  SPELL_POWER_OF_SHADRON = 58105, // Shadron's presence increases Fire damage taken by all enemies by 100%.
46  SPELL_GIFT_OF_TWILIGTH_SHA = 57835, // TARGET_SCRIPT shadron
47  SPELL_GIFT_OF_TWILIGTH_SAR = 58766, // TARGET_SCRIPT sartharion
48  SPELL_VOID_BLAST = 57581, // Twilight Fissure
49 
50  //Tenebron
51  //in the portal spawns 6 eggs, if not killed in time (approx. 20s) they will hatch, whelps can cast 60708
52  SPELL_POWER_OF_TENEBRON = 61248, // Tenebron's presence increases Shadow damage taken by all enemies by 100%.
53  //Tenebron, dummy spell
54  SPELL_SUMMON_TWILIGHT_WHELP = 58035, // doesn't work, will spawn NPC_TWILIGHT_WHELP
55  SPELL_SUMMON_SARTHARION_TWILIGHT_WHELP = 58826, // doesn't work, will spawn NPC_SHARTHARION_TWILIGHT_WHELP
56  SPELL_TWILIGHT_REVENGE = 60639,
57  SPELL_HATCH_EGGS_H = 59189,
58  SPELL_HATCH_EGGS = 58542,
61  NPC_TWILIHT_WHELP = 31214,
62  NPC_TWILIGHT_EGG = 30882,
64 
65  SPELL_TWILIGHT_SHIFT_ENTER = 57620, // enter phase. Player get this when click GO
66  SPELL_TWILIGHT_SHIFT = 57874, // Twilight Shift Aura
67  SPELL_TWILIGHT_SHIFT_REMOVAL = 61187, // leave phase
68  SPELL_TWILIGHT_SHIFT_REMOVAL_ALL = 61190, // leave phase (probably version to make all leave)
69 
70  //Whelps
71  NPC_TWILIGHT_WHELP = 30890,
73  SPELL_FADE_ARMOR = 60708, // Reduces the armor of an enemy by 1500 for 15s
74 
75  //flame tsunami
76  SPELL_FLAME_TSUNAMI = 57494, // the visual dummy
77  SPELL_FLAME_TSUNAMI_LEAP = 60241, // SPELL_EFFECT_138 some leap effect, causing caster to move in direction
78 
79  SPELL_FLAME_TSUNAMI_DMG_AURA = 57491, // periodic damage, npc has this aura
81  NPC_LAVA_BLAZE = 30643, // adds spawning from flame strike
82 
83  //using these custom points for dragons start and end
84  POINT_ID_INIT = 100,
85  POINT_ID_LAND = 200
86 };
Definition: obsidian_sanctum.cpp:73
Definition: obsidian_sanctum.cpp:80
Definition: obsidian_sanctum.cpp:29
Definition: obsidian_sanctum.cpp:40
Definition: obsidian_sanctum.cpp:60
Definition: obsidian_sanctum.cpp:52
Definition: obsidian_sanctum.cpp:58
Definition: obsidian_sanctum.cpp:32
Definition: obsidian_sanctum.cpp:79
Definition: obsidian_sanctum.cpp:62
Definition: obsidian_sanctum.cpp:39
Definition: obsidian_sanctum.cpp:44
Definition: obsidian_sanctum.cpp:65
Definition: obsidian_sanctum.cpp:66
Definition: obsidian_sanctum.cpp:67
Definition: obsidian_sanctum.cpp:46
Definition: obsidian_sanctum.cpp:38
Definition: obsidian_sanctum.cpp:77
Definition: obsidian_sanctum.cpp:63
Definition: obsidian_sanctum.cpp:54
Definition: obsidian_sanctum.cpp:81
Definition: obsidian_sanctum.cpp:59
Definition: obsidian_sanctum.cpp:33
Definition: obsidian_sanctum.cpp:61
Definition: obsidian_sanctum.cpp:55
Definition: obsidian_sanctum.cpp:76
Definition: obsidian_sanctum.cpp:45
Definition: obsidian_sanctum.cpp:68
Definition: obsidian_sanctum.cpp:37
Definition: obsidian_sanctum.cpp:71
Definition: obsidian_sanctum.cpp:47
Definition: obsidian_sanctum.cpp:48
Definition: obsidian_sanctum.cpp:85
Definition: obsidian_sanctum.cpp:72
Definition: obsidian_sanctum.cpp:56
Definition: obsidian_sanctum.cpp:84
Definition: obsidian_sanctum.cpp:57
Enumerator
EVENT_TSUNAMI_TIMER 
EVENT_TSUNAMI_BUFF 
854 {
855  EVENT_TSUNAMI_TIMER = 12,
856  EVENT_TSUNAMI_BUFF = 13
857 };
Definition: obsidian_sanctum.cpp:855
Definition: obsidian_sanctum.cpp:856
enum Misc
Enumerator
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 
MAX_ACTIVE_LACKEY 
ACTION_SWITCH_PHASE 
INTERVAL_MODIFIER 
INTERVAL_SWITCH 
WEAPON_KIRTONOS_STAFF 
POINT_KIRTONOS_LAND 
KIRTONOS_PATH 
MAX_ENCOUNTER 
ITEM_VIRTUAL_ITEM 
POINT_START_REVIVE 
DATA_OHGANOT_SO_FAST 
FACTION_NONE 
SPELL_SNOWBALL 
SPELL_ORPHAN_OUT 
DISPLAY_INVISIBLE 
SPELL_RIFT_CHANNEL 
RIFT_BOSS 
AREA_TOMB_OF_THE_EARTHRAGER 
ACHIEV_VAULT_OF_LIGHTS_EVENT 
SPELL_VAULT_OF_LIGHTS_CREDIT 
PULL_RANGE 
ABUSE_BUG_RANGE 
VEKLOR_DIST 
TELEPORTTIME 
NPC_GAHZRILLA 
PATH_ADDS 
ACTION_CORBORUS_INTRO 
ACTION_SLABHIDE_INTRO 
NPC_WORLDTRIGGER 
NPC_MILLHOUSE_MANASTORM 
NPC_CORBORUS 
NPC_SLABHIDE 
NPC_OZRUK 
NPC_HIGH_PRIESTESS_AZIL 
MAX_STONECORE_TELEPORTERS 
NPC_STONECORE_TELEPORTER 
NPC_STONECORE_TELEPORTER_2 
SPELL_TELEPORTER_ACTIVE_VISUAL 
GAMEOBJECT_TWILIGHT_DOCUMENTS 
GAMEOBJECT_CORBORUS_ROCKDOOR 
GAMEOBJECT_SLABHIDE_ROCK_WALL 
SPELL_RING_WYRM_KNOCKBACK 
CREATURE_FORMATION_MILLHOUSE_EVENT_TRASH 
CREATURE_FORMATION_MILLHOUSE_EVENT_LAST_GROUP 
ACTION_INITIAND_KILLED 
DATA_VOLUNTEER_WORK 
DATA_EMBRACE_DMG 
H_DATA_EMBRACE_DMG 
ACHIEV_TIMED_START_EVENT 
DATA_CAN_LOOT 
DATA_CAN_LOOT 
DATA_TWILIGHT_DAMAGE_TAKEN 
DATA_MATERIAL_DAMAGE_TAKEN 
DATA_STACKS_DISPELLED 
DATA_FIGHT_PHASE 
DATA_EVADE_METHOD 
DATA_SPAWNED_FLAMES 
SOUND_ID_DEATH 
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 
GOSSIP_SPEECHINTRO 
ACTION_INTRO 
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 
DATA_MADE_A_MESS 
FACTION_SCOURGE 
GOSSIP_MENU_MURADIN_BRONZEBEARD 
GOSSIP_MENU_HIGH_OVERLORD_SAURFANG 
DATA_INOCULATED_STACK 
DATA_PLAGUE_STACK 
DATA_VILE 
ACHIEV_TIMED_START_EVENT 
DATA_FRENZY_DISPELS 
DATA_SAFETY_DANCE 
ACHIEV_MAKE_QUICK_WERK_OF_HIM_STARTING_EVENT 
NPC_BLIZZARD 
GO_ICEBLOCK 
DATA_THE_HUNDRED_CLUB 
MAX_FROST_RESISTANCE 
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 
POINT_MOVE_OUT 
DATA_MAX_SPARKS 
DATA_MAX_SPARK_DISTANCE 
DATA_POINT_CALLBACK 
ACHIEV_TIMELY_DEATH_START_EVENT 
ACTION_OOZE_DEAD 
DATA_ABUSE_THE_OOZE 
QUEST_HALLS_OF_STONE 
DATA_BRANN_SPARKLIN_NEWS 
NPC_WORLD_TRIGGER 
DATA_PHASE_3 
DATA_SHUTOUT 
DATA_ORBIT_ACHIEVEMENTS 
VEHICLE_SPAWNS 
FREYA_SPAWNS 
WAVE_TIME 
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 
ACTION_START_PHASE_2 
ACTION_NEXT_PHASE 
DATA_INCREDIBLE_HULK 
DATA_KINGS_BANE 
MAX_TEMPEST_MINIONS 
DATA_DEHYDRATION 
ACTION_DESPAWN_VOID_SENTRY_BALL 
DATA_VOID_DANCE 
NR_INITIAL_BEACONS 
ACTION_AMBASSADOR_HELLMAW_INTRO 
ACTION_AMBASSADOR_HELLMAW_BANISH 
FLAME_ENRAGE_DISTANCE 
FLAME_CHARGE_DISTANCE 
EQUIP_ID_MAIN_HAND 
EQUIP_ID_OFF_HAND 
EQUIP_ID_MAIN_HAND_MAIEV 
MODEL_INVISIBLE 
MODEL_ILLIDAN 
MODEL_BLADE 
SPELL_SCALDINGWATER 
NPC_COILFANG_FRENZY 
NPC_COILFANG_PRIESTESS 
NPC_COILFANG_SHATTERER 
MIN_KILLS 
EMOTE_SUMMON 
MODEL_DEFAULT 
MODEL_ARCANE 
MODEL_FIRE 
MODEL_FROST 
MODEL_NATURE 
CREATURE_TREANT 
TREANT_SPAWN_DIST 
WV_ARMOR 
89 {
90  DATA_CAN_LOOT = 0
91 };
Definition: obsidian_sanctum.cpp:90
Enumerator
SAY_AGGRO 
SAY_SLAY 
SAY_DEATH 
SAY_BREATH 
SAY_RESPOND 
SAY_SPECIAL 
WHISPER_OPEN_PORTAL 
WHISPER_OPENED_PORTAL 
131 {
132  SAY_AGGRO = 0,
133  SAY_SLAY = 1,
134  SAY_DEATH = 2,
135  SAY_BREATH = 3,
136  SAY_RESPOND = 4,
137  SAY_SPECIAL = 5,
140 };
Definition: obsidian_sanctum.cpp:136
Definition: obsidian_sanctum.cpp:139
Definition: obsidian_sanctum.cpp:134
Definition: obsidian_sanctum.cpp:135
Definition: obsidian_sanctum.cpp:138
Definition: obsidian_sanctum.cpp:133
Definition: obsidian_sanctum.cpp:137
Definition: obsidian_sanctum.cpp:132
Enumerator
EVENT_TWILIGHT_EGGS 
785 {
787 };
Definition: obsidian_sanctum.cpp:786
Enumerator
EVENT_VOID_BLAST 
916 {
917  EVENT_VOID_BLAST = 14
918 };
Definition: obsidian_sanctum.cpp:917
Enumerator
EVENT_FADE_ARMOR 
970 {
971  EVENT_FADE_ARMOR = 15
972 };
Definition: obsidian_sanctum.cpp:971

Function Documentation

void AddSC_obsidian_sanctum ( )
1054 {
1055  new npc_vesperon();
1056  new npc_shadron();
1057  new npc_tenebron();
1058  new npc_acolyte_of_shadron();
1060  new npc_twilight_eggs();
1061  new npc_flame_tsunami();
1062  new npc_twilight_fissure();
1063  new npc_twilight_whelp();
1067 }
Definition: obsidian_sanctum.cpp:704
Definition: obsidian_sanctum.cpp:1031
Definition: obsidian_sanctum.cpp:552
Definition: obsidian_sanctum.cpp:618
Definition: obsidian_sanctum.cpp:789
Definition: obsidian_sanctum.cpp:859
Definition: obsidian_sanctum.cpp:473
Definition: obsidian_sanctum.cpp:413
Definition: obsidian_sanctum.cpp:974
Definition: obsidian_sanctum.cpp:1042
Definition: obsidian_sanctum.cpp:920
Definition: obsidian_sanctum.cpp:1020

+ Here is the caller graph for this function:

Variable Documentation

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 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 }
}
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 }
}
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 }
}