TrinityCore
instance_serpent_shrine.cpp File Reference
#include "ScriptMgr.h"
#include "GameObject.h"
#include "GameObjectAI.h"
#include "InstanceScript.h"
#include "Map.h"
#include "Player.h"
#include "serpent_shrine.h"
#include "TemporarySummon.h"
+ Include dependency graph for instance_serpent_shrine.cpp:

Go to the source code of this file.

Classes

class  go_bridge_console
 
struct  go_bridge_console::go_bridge_consoleAI
 
class  instance_serpent_shrine
 
struct  instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript
 

Macros

#define MAX_ENCOUNTER   6
 

Enumerations

enum  Misc {
  SUMMON_GROUP_ID_SURGING_FEL = 0 , MAX_OCCUTHAR_VEHICLE_SEATS = 7 , DATA_SKILLPOINT_MIN = 230 , NEFARIUS_PATH_2 = 1379671 ,
  NEFARIUS_PATH_3 = 1379672 , GYTH_PATH_1 = 11037448 , NEFARIUS_PATH_1 = 11037360 , NEFARIUS_PATH_2 = 11037368 ,
  NEFARIUS_PATH_3 = 11037376 , REND_PATH_1 = 11037440 , REND_PATH_2 = 11037448 , 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 = 840488 , MAX_VOID_SPAWNS = 6 , MAX_SUMMON_BLOOD_ELVES = 4 ,
  MAX_SUMMON_DARK_FIEND = 8 , ITEM_VIRTUAL_ITEM = 5301 , GOSSIP_MENU_START_INTRO = 12797 , 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 , ABUSE_BUG_RANGE = 20 , VEKLOR_DIST = 20 ,
  TELEPORTTIME = 30000 , NPC_GAHZRILLA = 7273 , PATH_ADDS = 652424 , 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 , 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 , SPAWN_GROUP_ENTRANCE_THE_DAMNED_EVENT = 275 , DATA_INOCULATED_STACK = 69291 , DATA_PLAGUE_STACK = 70337 ,
  DATA_VILE = 45814622 , GOSSIP_MENU_START_INTRO = 10993 , 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 , ACHIEV_TIMED_START_EVENT = 18153 , DATA_MAX_SPARKS = 5 , DATA_POINT_CALLBACK = 0 ,
  ACHIEV_TIMELY_DEATH_START_EVENT = 20384 , ENTRY_BRITTLE_GOLEM = 28681 , 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 , 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 , ACHIEVEMENT_PONY_UP = 3736
}
 

Functions

void AddSC_instance_serpentshrine_cavern ()
 

Variables

DungeonEncounterData const encounters []
 

Macro Definition Documentation

◆ MAX_ENCOUNTER

#define MAX_ENCOUNTER   6

Definition at line 34 of file instance_serpent_shrine.cpp.

Enumeration Type Documentation

◆ Misc

enum Misc
Enumerator
SUMMON_GROUP_ID_SURGING_FEL 
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 
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 
GOSSIP_MENU_START_INTRO 
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 
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 
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 
SPAWN_GROUP_ENTRANCE_THE_DAMNED_EVENT 
DATA_INOCULATED_STACK 
DATA_PLAGUE_STACK 
DATA_VILE 
GOSSIP_MENU_START_INTRO 
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 
ACHIEV_TIMED_START_EVENT 
DATA_MAX_SPARKS 
DATA_POINT_CALLBACK 
ACHIEV_TIMELY_DEATH_START_EVENT 
ENTRY_BRITTLE_GOLEM 
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 
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 
ACHIEVEMENT_PONY_UP 

Definition at line 36 of file instance_serpent_shrine.cpp.

Function Documentation

◆ AddSC_instance_serpentshrine_cavern()

void AddSC_instance_serpentshrine_cavern ( )

Definition at line 391 of file instance_serpent_shrine.cpp.

+ Here is the caller graph for this function:

Variable Documentation

◆ encounters

DungeonEncounterData const encounters[]
Initial value:
=
{
{ BOSS_HYDROSS_THE_UNSTABLE, {{ 623 }} },
{ BOSS_THE_LURKER_BELOW, {{ 624 }} },
{ BOSS_LEOTHERAS_THE_BLIND, {{ 625 }} },
{ BOSS_MOROGRIM_TIDEWALKER, {{ 627 }} },
{ BOSS_LADY_VASHJ, {{ 628 }} }
}
@ BOSS_FATHOM_LORD_KARATHRESS
@ BOSS_LADY_VASHJ
@ BOSS_THE_LURKER_BELOW
@ BOSS_HYDROSS_THE_UNSTABLE
@ BOSS_MOROGRIM_TIDEWALKER
@ BOSS_LEOTHERAS_THE_BLIND

Definition at line 63 of file instance_serpent_shrine.cpp.