TrinityCore
boss_coren_direbrew.cpp File Reference
#include "ScriptMgr.h"
#include "blackrock_depths.h"
#include "Containers.h"
#include "GameObjectAI.h"
#include "GridNotifiers.h"
#include "Group.h"
#include "InstanceScript.h"
#include "LFGMgr.h"
#include "Map.h"
#include "ObjectAccessor.h"
#include "Player.h"
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
#include "SpellAuras.h"
#include "SpellScript.h"
#include "TemporarySummon.h"
+ Include dependency graph for boss_coren_direbrew.cpp:

Go to the source code of this file.

Classes

struct  boss_coren_direbrew
 
struct  npc_coren_direbrew_sisters
 
struct  npc_direbrew_minion
 
struct  npc_direbrew_antagonist
 
class  go_direbrew_mole_machine
 
struct  go_direbrew_mole_machine::go_direbrew_mole_machineAI
 
class  spell_direbrew_summon_mole_machine_target_picker
 
class  spell_send_mug_target_picker
 
class  spell_request_second_mug
 
class  spell_send_mug_control_aura
 
class  spell_barreled_control_aura
 
class  spell_direbrew_disarm
 

Enumerations

enum  DirebrewSays {
  SAY_INTRO = 0 , SAY_INTRO1 = 1 , SAY_INTRO2 = 2 , SAY_INSULT = 3 ,
  SAY_ANTAGONIST_1 = 0 , SAY_ANTAGONIST_2 = 1 , SAY_ANTAGONIST_COMBAT = 2
}
 
enum  DirebrewActions { ACTION_START_FIGHT = -1 , ACTION_ANTAGONIST_SAY_1 = -2 , ACTION_ANTAGONIST_SAY_2 = -3 , ACTION_ANTAGONIST_HOSTILE = -4 }
 
enum  DirebrewNpcs { NPC_ILSA_DIREBREW = 26764 , NPC_URSULA_DIREBREW = 26822 , NPC_ANTAGONIST = 23795 }
 
enum  DirebrewSpells {
  SPELL_MOLE_MACHINE_EMERGE = 50313 , SPELL_DIREBREW_DISARM_PRE_CAST = 47407 , SPELL_MOLE_MACHINE_TARGET_PICKER = 47691 , SPELL_MOLE_MACHINE_MINION_SUMMONER = 47690 ,
  SPELL_DIREBREW_DISARM_GROW = 47409 , SPELL_DIREBREW_DISARM = 47310 , SPELL_CHUCK_MUG = 50276 , SPELL_PORT_TO_COREN = 52850 ,
  SPELL_SEND_MUG_CONTROL_AURA = 47369 , SPELL_SEND_MUG_TARGET_PICKER = 47370 , SPELL_SEND_FIRST_MUG = 47333 , SPELL_SEND_SECOND_MUG = 47339 ,
  SPELL_REQUEST_SECOND_MUG = 47344 , SPELL_HAS_DARK_BREWMAIDENS_BREW = 47331 , SPELL_BARRELED_CONTROL_AURA = 50278 , SPELL_BARRELED = 47442
}
 
enum  DirebrewPhases {
  PHASE_ALL = 1 , PHASE_INTRO , PHASE_ONE , PHASE_TWO ,
  PHASE_THREE
}
 
enum  DirebrewEvents {
  EVENT_INTRO_1 = 1 , EVENT_INTRO_2 , EVENT_INTRO_3 , EVENT_DIREBREW_DISARM ,
  EVENT_SUMMON_MOLE_MACHINE , EVENT_RESPAWN_ILSA , EVENT_RESPAWN_URSULA
}
 
enum  DirebrewMisc {
  GOSSIP_ID = 11388 , GO_MOLE_MACHINE_TRAP = 188509 , GOSSIP_OPTION_FIGHT = 0 , GOSSIP_OPTION_APOLOGIZE = 1 ,
  DATA_TARGET_GUID = 1 , MAX_ANTAGONISTS = 3
}
 

Functions

void AddSC_boss_coren_direbrew ()
 

Variables

Position const AntagonistPos [3]
 

Enumeration Type Documentation

◆ DirebrewActions

Enumerator
ACTION_START_FIGHT 
ACTION_ANTAGONIST_SAY_1 
ACTION_ANTAGONIST_SAY_2 
ACTION_ANTAGONIST_HOSTILE 

Definition at line 46 of file boss_coren_direbrew.cpp.

◆ DirebrewEvents

Enumerator
EVENT_INTRO_1 
EVENT_INTRO_2 
EVENT_INTRO_3 
EVENT_DIREBREW_DISARM 
EVENT_SUMMON_MOLE_MACHINE 
EVENT_RESPAWN_ILSA 
EVENT_RESPAWN_URSULA 

Definition at line 90 of file boss_coren_direbrew.cpp.

◆ DirebrewMisc

Enumerator
GOSSIP_ID 
GO_MOLE_MACHINE_TRAP 
GOSSIP_OPTION_FIGHT 
GOSSIP_OPTION_APOLOGIZE 
DATA_TARGET_GUID 
MAX_ANTAGONISTS 

Definition at line 101 of file boss_coren_direbrew.cpp.

◆ DirebrewNpcs

Enumerator
NPC_ILSA_DIREBREW 
NPC_URSULA_DIREBREW 
NPC_ANTAGONIST 

Definition at line 54 of file boss_coren_direbrew.cpp.

◆ DirebrewPhases

Enumerator
PHASE_ALL 
PHASE_INTRO 
PHASE_ONE 
PHASE_TWO 
PHASE_THREE 

Definition at line 81 of file boss_coren_direbrew.cpp.

◆ DirebrewSays

Enumerator
SAY_INTRO 
SAY_INTRO1 
SAY_INTRO2 
SAY_INSULT 
SAY_ANTAGONIST_1 
SAY_ANTAGONIST_2 
SAY_ANTAGONIST_COMBAT 

Definition at line 35 of file boss_coren_direbrew.cpp.

◆ DirebrewSpells

Enumerator
SPELL_MOLE_MACHINE_EMERGE 
SPELL_DIREBREW_DISARM_PRE_CAST 
SPELL_MOLE_MACHINE_TARGET_PICKER 
SPELL_MOLE_MACHINE_MINION_SUMMONER 
SPELL_DIREBREW_DISARM_GROW 
SPELL_DIREBREW_DISARM 
SPELL_CHUCK_MUG 
SPELL_PORT_TO_COREN 
SPELL_SEND_MUG_CONTROL_AURA 
SPELL_SEND_MUG_TARGET_PICKER 
SPELL_SEND_FIRST_MUG 
SPELL_SEND_SECOND_MUG 
SPELL_REQUEST_SECOND_MUG 
SPELL_HAS_DARK_BREWMAIDENS_BREW 
SPELL_BARRELED_CONTROL_AURA 
SPELL_BARRELED 

Definition at line 61 of file boss_coren_direbrew.cpp.

Function Documentation

◆ AddSC_boss_coren_direbrew()

void AddSC_boss_coren_direbrew ( )

Definition at line 570 of file boss_coren_direbrew.cpp.

+ Here is the caller graph for this function:

Variable Documentation

◆ AntagonistPos

Position const AntagonistPos[3]
Initial value:
=
{
{ 895.3782f, -132.1722f, -49.66423f, 2.6529f },
{ 893.9837f, -133.2879f, -49.66541f, 2.583087f },
{ 896.2667f, -130.483f, -49.66249f, 2.600541f }
}

Definition at line 111 of file boss_coren_direbrew.cpp.