AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
boss_ymiron.cpp File Reference
#include "CreatureScript.h"
#include "ScriptedCreature.h"
#include "SpellInfo.h"
#include "utgarde_pinnacle.h"

Go to the source code of this file.

Classes

struct  ActiveBoatStruct
 
class  boss_ymiron
 
struct  boss_ymiron::boss_ymironAI
 

Enumerations

enum  Misc {
  SAY_AGGRO = 0 ,
  SAY_SLAY = 1 ,
  SAY_DEATH = 2 ,
  SAY_SUMMON_BJORN = 3 ,
  SAY_SUMMON_HALDOR = 4 ,
  SAY_SUMMON_RANULF = 5 ,
  SAY_SUMMON_TORGYN = 6 ,
  SPELL_BANE = 48294 ,
  SPELL_DARK_SLASH = 48292 ,
  SPELL_FETID_ROT = 48291 ,
  SPELL_SCREAMS_OF_THE_DEAD = 51750 ,
  SPELL_SPIRIT_BURST = 48529 ,
  SPELL_SPIRIT_STRIKE = 48423 ,
  SPELL_SUMMON_AVENGING_SPIRIT = 48592 ,
  SPELL_SUMMON_SPIRIT_FOUNT = 48386 ,
  SPELL_CHANNEL_SPIRIT_TO_YMIRON = 48316 ,
  SPELL_CHANNEL_YMIRON_TO_SPIRIT = 48307 ,
  SPELL_SPIRIT_FOUNT = 48380 ,
  SPELL_FLAMES = 39199 ,
  NPC_BJORN = 27303 ,
  NPC_BJORN_VISUAL = 27304 ,
  NPC_HALDOR = 27307 ,
  NPC_HALDOR_VISUAL = 27310 ,
  NPC_RANULF = 27308 ,
  NPC_RANULF_VISUAL = 27311 ,
  NPC_TORGYN = 27309 ,
  NPC_TORGYN_VISUAL = 27312 ,
  NPC_SPIRIT_FOUNT = 27339 ,
  NPC_AVENGING_SPIRIT = 27386
}
 
enum  Events {
  EVENT_YMIRON_HEALTH_CHECK = 1 ,
  EVENT_YMIRON_BANE = 2 ,
  EVENT_YMIRON_FETID_ROT = 3 ,
  EVENT_YMIRON_DARK_SLASH = 4 ,
  EVENT_YMIRON_ACTIVATE_BOAT = 5 ,
  EVENT_YMIRON_BJORN_ABILITY = 6 ,
  EVENT_YMIRON_RANULF_ABILITY = 7 ,
  EVENT_YMIRON_HALDOR_ABILITY = 8 ,
  EVENT_YMIRON_TORGYN_ABILITY = 9 ,
  EVENT_YMIRON_RESTORE = 10
}
 

Functions

void AddSC_boss_ymiron ()
 

Variables

static ActiveBoatStruct BoatStructure [4]
 

Enumeration Type Documentation

◆ Events

enum Events
Enumerator
EVENT_YMIRON_HEALTH_CHECK 
EVENT_YMIRON_BANE 
EVENT_YMIRON_FETID_ROT 
EVENT_YMIRON_DARK_SLASH 
EVENT_YMIRON_ACTIVATE_BOAT 
EVENT_YMIRON_BJORN_ABILITY 
EVENT_YMIRON_RANULF_ABILITY 
EVENT_YMIRON_HALDOR_ABILITY 
EVENT_YMIRON_TORGYN_ABILITY 
EVENT_YMIRON_RESTORE 
67{
78};
@ EVENT_YMIRON_RANULF_ABILITY
Definition boss_ymiron.cpp:74
@ EVENT_YMIRON_BJORN_ABILITY
Definition boss_ymiron.cpp:73
@ EVENT_YMIRON_TORGYN_ABILITY
Definition boss_ymiron.cpp:76
@ EVENT_YMIRON_FETID_ROT
Definition boss_ymiron.cpp:70
@ EVENT_YMIRON_RESTORE
Definition boss_ymiron.cpp:77
@ EVENT_YMIRON_BANE
Definition boss_ymiron.cpp:69
@ EVENT_YMIRON_HALDOR_ABILITY
Definition boss_ymiron.cpp:75
@ EVENT_YMIRON_DARK_SLASH
Definition boss_ymiron.cpp:71
@ EVENT_YMIRON_HEALTH_CHECK
Definition boss_ymiron.cpp:68
@ EVENT_YMIRON_ACTIVATE_BOAT
Definition boss_ymiron.cpp:72

◆ Misc

enum Misc
Enumerator
SAY_AGGRO 
SAY_SLAY 
SAY_DEATH 
SAY_SUMMON_BJORN 
SAY_SUMMON_HALDOR 
SAY_SUMMON_RANULF 
SAY_SUMMON_TORGYN 
SPELL_BANE 
SPELL_DARK_SLASH 
SPELL_FETID_ROT 
SPELL_SCREAMS_OF_THE_DEAD 
SPELL_SPIRIT_BURST 
SPELL_SPIRIT_STRIKE 
SPELL_SUMMON_AVENGING_SPIRIT 
SPELL_SUMMON_SPIRIT_FOUNT 
SPELL_CHANNEL_SPIRIT_TO_YMIRON 
SPELL_CHANNEL_YMIRON_TO_SPIRIT 
SPELL_SPIRIT_FOUNT 
SPELL_FLAMES 
NPC_BJORN 
NPC_BJORN_VISUAL 
NPC_HALDOR 
NPC_HALDOR_VISUAL 
NPC_RANULF 
NPC_RANULF_VISUAL 
NPC_TORGYN 
NPC_TORGYN_VISUAL 
NPC_SPIRIT_FOUNT 
NPC_AVENGING_SPIRIT 
24{
25 // TEXTS
26 SAY_AGGRO = 0,
27 SAY_SLAY = 1,
28 SAY_DEATH = 2,
33
34 // SPELLS
35 SPELL_BANE = 48294,
36 SPELL_DARK_SLASH = 48292,
37 SPELL_FETID_ROT = 48291,
39 SPELL_SPIRIT_BURST = 48529, // when Ranulf
40 SPELL_SPIRIT_STRIKE = 48423, // when Haldor
41
44
47
48 SPELL_SPIRIT_FOUNT = 48380,
49
50 SPELL_FLAMES = 39199,
51
52 // NPCS
53 NPC_BJORN = 27303, // Near Right Boat, summon Spirit Fount
54 NPC_BJORN_VISUAL = 27304,
55 NPC_HALDOR = 27307, // Near Left Boat, debuff Spirit Strike on player
56 NPC_HALDOR_VISUAL = 27310,
57 NPC_RANULF = 27308, // Far Left Boat, ability to cast spirit burst
58 NPC_RANULF_VISUAL = 27311,
59 NPC_TORGYN = 27309, // Far Right Boat, summon 4 Avenging Spirit
60 NPC_TORGYN_VISUAL = 27312,
61
62 NPC_SPIRIT_FOUNT = 27339,
63 NPC_AVENGING_SPIRIT = 27386,
64};
@ NPC_TORGYN_VISUAL
Definition boss_ymiron.cpp:60
@ SAY_DEATH
Definition boss_ymiron.cpp:28
@ SAY_SUMMON_BJORN
Definition boss_ymiron.cpp:29
@ NPC_AVENGING_SPIRIT
Definition boss_ymiron.cpp:63
@ NPC_HALDOR
Definition boss_ymiron.cpp:55
@ SPELL_SPIRIT_BURST
Definition boss_ymiron.cpp:39
@ SAY_SUMMON_RANULF
Definition boss_ymiron.cpp:31
@ SPELL_SCREAMS_OF_THE_DEAD
Definition boss_ymiron.cpp:38
@ NPC_SPIRIT_FOUNT
Definition boss_ymiron.cpp:62
@ NPC_RANULF_VISUAL
Definition boss_ymiron.cpp:58
@ SPELL_SUMMON_AVENGING_SPIRIT
Definition boss_ymiron.cpp:42
@ SPELL_CHANNEL_SPIRIT_TO_YMIRON
Definition boss_ymiron.cpp:45
@ SAY_SUMMON_TORGYN
Definition boss_ymiron.cpp:32
@ SAY_AGGRO
Definition boss_ymiron.cpp:26
@ SPELL_CHANNEL_YMIRON_TO_SPIRIT
Definition boss_ymiron.cpp:46
@ SPELL_SPIRIT_FOUNT
Definition boss_ymiron.cpp:48
@ SPELL_FLAMES
Definition boss_ymiron.cpp:50
@ SPELL_SUMMON_SPIRIT_FOUNT
Definition boss_ymiron.cpp:43
@ SPELL_SPIRIT_STRIKE
Definition boss_ymiron.cpp:40
@ NPC_HALDOR_VISUAL
Definition boss_ymiron.cpp:56
@ SAY_SLAY
Definition boss_ymiron.cpp:27
@ SPELL_DARK_SLASH
Definition boss_ymiron.cpp:36
@ NPC_RANULF
Definition boss_ymiron.cpp:57
@ NPC_BJORN_VISUAL
Definition boss_ymiron.cpp:54
@ NPC_BJORN
Definition boss_ymiron.cpp:53
@ SPELL_BANE
Definition boss_ymiron.cpp:35
@ SAY_SUMMON_HALDOR
Definition boss_ymiron.cpp:30
@ NPC_TORGYN
Definition boss_ymiron.cpp:59
@ SPELL_FETID_ROT
Definition boss_ymiron.cpp:37

Function Documentation

◆ AddSC_boss_ymiron()

void AddSC_boss_ymiron ( )
352{
353 new boss_ymiron();
354}
Definition boss_ymiron.cpp:97

Referenced by AddNorthrendScripts().

Variable Documentation

◆ BoatStructure

ActiveBoatStruct BoatStructure[4]
static
Initial value:
=
{
{NPC_RANULF, NPC_RANULF_VISUAL, SAY_SUMMON_RANULF, 404.379f, -335.335f, 104.756f, 413.594f, -335.408f, 107.995f, 3.157f},
{NPC_TORGYN, NPC_TORGYN_VISUAL, SAY_SUMMON_TORGYN, 380.813f, -335.069f, 104.756f, 369.994f, -334.771f, 107.995f, 6.232f},
{NPC_BJORN, NPC_BJORN_VISUAL, SAY_SUMMON_BJORN, 381.546f, -314.362f, 104.756f, 370.841f, -314.426f, 107.995f, 6.232f},
{NPC_HALDOR, NPC_HALDOR_VISUAL, SAY_SUMMON_HALDOR, 404.310f, -314.761f, 104.756f, 413.992f, -314.703f, 107.995f, 3.157f}
}
89{
90 {NPC_RANULF, NPC_RANULF_VISUAL, SAY_SUMMON_RANULF, 404.379f, -335.335f, 104.756f, 413.594f, -335.408f, 107.995f, 3.157f},
91 {NPC_TORGYN, NPC_TORGYN_VISUAL, SAY_SUMMON_TORGYN, 380.813f, -335.069f, 104.756f, 369.994f, -334.771f, 107.995f, 6.232f},
92 {NPC_BJORN, NPC_BJORN_VISUAL, SAY_SUMMON_BJORN, 381.546f, -314.362f, 104.756f, 370.841f, -314.426f, 107.995f, 6.232f},
93 {NPC_HALDOR, NPC_HALDOR_VISUAL, SAY_SUMMON_HALDOR, 404.310f, -314.761f, 104.756f, 413.992f, -314.703f, 107.995f, 3.157f}
94};

Referenced by boss_ymiron::boss_ymironAI::MovementInform(), and boss_ymiron::boss_ymironAI::UpdateAI().