Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Toggle main menu visibility
Loading...
Searching...
No Matches
boss_baltharus_the_warborn.cpp
Go to the documentation of this file.
1
/*
2
* This file is part of Project SkyFire https://www.projectskyfire.org.
3
* See LICENSE.md file for Copyright information
4
*/
5
6
#include "
ObjectMgr.h
"
7
#include "
ScriptMgr.h
"
8
#include "
ScriptedCreature.h
"
9
#include "
SpellAuraEffects.h
"
10
#include "
ruby_sanctum.h
"
11
12
enum
Texts
13
{
14
SAY_BALTHARUS_INTRO
= 0,
// Your power wanes, ancient one.... Soon you will join your friends.
15
SAY_AGGRO
= 1,
// Ah, the entertainment has arrived.
16
SAY_KILL
= 2,
// Baltharus leaves no survivors! - This world has enough heroes.
17
SAY_CLONE
= 3,
// Twice the pain and half the fun.
18
SAY_DEATH
= 4,
// I... didn't see that coming....
19
};
20
21
enum
Spells
22
{
23
SPELL_BARRIER_CHANNEL
= 76221,
24
SPELL_ENERVATING_BRAND
= 74502,
25
SPELL_SIPHONED_MIGHT
= 74507,
26
SPELL_CLEAVE
= 40504,
27
SPELL_BLADE_TEMPEST
= 75125,
28
SPELL_CLONE
= 74511,
29
SPELL_REPELLING_WAVE
= 74509,
30
SPELL_CLEAR_DEBUFFS
= 34098,
31
SPELL_SPAWN_EFFECT
= 64195,
32
};
33
34
enum
Events
35
{
36
EVENT_BLADE_TEMPEST
= 1,
37
EVENT_CLEAVE
= 2,
38
EVENT_ENERVATING_BRAND
= 3,
39
EVENT_INTRO_TALK
= 4,
40
EVENT_OOC_CHANNEL
= 5,
41
};
42
43
enum
Actions
44
{
45
ACTION_CLONE
= 1,
46
};
47
48
enum
Phases
49
{
50
PHASE_ALL
= 0,
51
PHASE_INTRO
= 1,
52
PHASE_COMBAT
= 2
53
};
54
55
class
boss_baltharus_the_warborn
:
public
CreatureScript
56
{
57
public
:
58
boss_baltharus_the_warborn
() :
CreatureScript
(
"boss_baltharus_the_warborn"
) { }
59
60
struct
boss_baltharus_the_warbornAI
:
public
BossAI
61
{
62
boss_baltharus_the_warbornAI
(
Creature
* creature) :
BossAI
(creature,
DATA_BALTHARUS_THE_WARBORN
)
63
{
64
_introDone
=
false
;
65
}
66
67
void
Reset
()
OVERRIDE
68
{
69
_Reset
();
70
events
.SetPhase(
PHASE_INTRO
);
71
events
.ScheduleEvent(
EVENT_OOC_CHANNEL
, 0, 0,
PHASE_INTRO
);
72
_cloneCount
=
RAID_MODE<uint8>
(1, 2, 2, 2);
73
instance
->SetData(
DATA_BALTHARUS_SHARED_HEALTH
,
me
->GetMaxHealth());
74
}
75
76
void
DoAction
(
int32
action)
OVERRIDE
77
{
78
switch
(action)
79
{
80
case
ACTION_INTRO_BALTHARUS
:
81
if
(
_introDone
)
82
return
;
83
_introDone
=
true
;
84
me
->setActive(
true
);
85
events
.ScheduleEvent(
EVENT_INTRO_TALK
, 7000, 0,
PHASE_INTRO
);
86
break
;
87
case
ACTION_CLONE
:
88
{
89
DoCast
(
me
,
SPELL_CLEAR_DEBUFFS
);
90
DoCast
(
me
,
SPELL_CLONE
);
91
DoCast
(
me
,
SPELL_REPELLING_WAVE
);
92
Talk
(
SAY_CLONE
);
93
--
_cloneCount
;
94
break
;
95
}
96
default
:
97
break
;
98
}
99
}
100
101
void
EnterCombat
(
Unit
*
/*who*/
)
OVERRIDE
102
{
103
me
->InterruptNonMeleeSpells(
false
);
104
_EnterCombat
();
105
events
.Reset();
106
events
.SetPhase(
PHASE_COMBAT
);
107
events
.ScheduleEvent(
EVENT_CLEAVE
, 11000, 0,
PHASE_COMBAT
);
108
events
.ScheduleEvent(
EVENT_ENERVATING_BRAND
, 13000, 0,
PHASE_COMBAT
);
109
events
.ScheduleEvent(
EVENT_BLADE_TEMPEST
, 15000, 0,
PHASE_COMBAT
);
110
Talk
(
SAY_AGGRO
);
111
}
112
113
void
JustDied
(
Unit
*
/*killer*/
)
OVERRIDE
114
{
115
_JustDied
();
116
Talk
(
SAY_DEATH
);
117
if
(
Creature
* xerestrasza =
ObjectAccessor::GetCreature
(*
me
,
instance
->GetData64(
DATA_XERESTRASZA
)))
118
xerestrasza->AI()->DoAction(
ACTION_BALTHARUS_DEATH
);
119
}
120
121
void
KilledUnit
(
Unit
* victim)
OVERRIDE
122
{
123
if
(victim->GetTypeId() ==
TypeID::TYPEID_PLAYER
)
124
Talk
(
SAY_KILL
);
125
}
126
127
void
JustSummoned
(
Creature
* summon)
OVERRIDE
128
{
129
summons
.Summon(summon);
130
summon->SetHealth(
me
->GetHealth());
131
summon->CastSpell(summon,
SPELL_SPAWN_EFFECT
,
true
);
132
}
133
134
void
DamageTaken
(
Unit
*
/*attacker*/
,
uint32
& damage)
OVERRIDE
135
{
136
if
(
GetDifficulty
() ==
DIFFICULTY_10MAN_NORMAL
)
137
{
138
if
(
me
->HealthBelowPctDamaged(50, damage) &&
_cloneCount
== 1)
139
DoAction
(
ACTION_CLONE
);
140
}
141
else
142
{
143
if
(
me
->HealthBelowPctDamaged(66, damage) &&
_cloneCount
== 2)
144
DoAction
(
ACTION_CLONE
);
145
else
if
(
me
->HealthBelowPctDamaged(33, damage) &&
_cloneCount
== 1)
146
DoAction
(
ACTION_CLONE
);
147
}
148
149
if
(
me
->GetHealth() > damage)
150
instance
->SetData(
DATA_BALTHARUS_SHARED_HEALTH
,
me
->GetHealth() - damage);
151
}
152
153
void
UpdateAI
(
uint32
diff)
OVERRIDE
154
{
155
bool
introPhase =
events
.IsInPhase(
PHASE_INTRO
);
156
if
(!
UpdateVictim
() && !introPhase)
157
return
;
158
159
if
(!introPhase)
160
me
->SetHealth(
instance
->GetData(
DATA_BALTHARUS_SHARED_HEALTH
));
161
162
events
.Update(diff);
163
164
if
(
me
->HasUnitState(
UNIT_STATE_CASTING
) && !introPhase)
165
return
;
166
167
while
(
uint32
eventId =
events
.ExecuteEvent())
168
{
169
switch
(eventId)
170
{
171
case
EVENT_INTRO_TALK
:
172
Talk
(
SAY_BALTHARUS_INTRO
);
173
break
;
174
case
EVENT_OOC_CHANNEL
:
175
if
(
Creature
* channelTarget =
ObjectAccessor::GetCreature
(*
me
,
instance
->GetData64(
DATA_CRYSTAL_CHANNEL_TARGET
)))
176
DoCast
(channelTarget,
SPELL_BARRIER_CHANNEL
);
177
events
.ScheduleEvent(
EVENT_OOC_CHANNEL
, 7000, 0,
PHASE_INTRO
);
178
break
;
179
case
EVENT_CLEAVE
:
180
DoCastVictim
(
SPELL_CLEAVE
);
181
events
.ScheduleEvent(
EVENT_CLEAVE
, 24000, 0,
PHASE_COMBAT
);
182
break
;
183
case
EVENT_BLADE_TEMPEST
:
184
DoCast
(
me
,
SPELL_BLADE_TEMPEST
);
185
events
.ScheduleEvent(
EVENT_BLADE_TEMPEST
, 24000, 0,
PHASE_COMBAT
);
186
break
;
187
case
EVENT_ENERVATING_BRAND
:
188
for
(
uint8
i = 0; i < RAID_MODE<uint8>(4, 8, 8, 10); i++)
189
if
(
Unit
* target =
SelectTarget
(
SELECT_TARGET_RANDOM
, 0, 45.0f,
true
))
190
DoCast
(target,
SPELL_ENERVATING_BRAND
);
191
events
.ScheduleEvent(
EVENT_ENERVATING_BRAND
, 26000, 0,
PHASE_COMBAT
);
192
break
;
193
default
:
194
break
;
195
}
196
}
197
198
DoMeleeAttackIfReady
();
199
}
200
201
private
:
202
uint8
_cloneCount
;
203
bool
_introDone
;
204
};
205
206
CreatureAI
*
GetAI
(
Creature
* creature)
const
OVERRIDE
207
{
208
return
GetRubySanctumAI<boss_baltharus_the_warbornAI>
(creature);
209
}
210
};
211
212
class
npc_baltharus_the_warborn_clone
:
public
CreatureScript
213
{
214
public
:
215
npc_baltharus_the_warborn_clone
() :
CreatureScript
(
"npc_baltharus_the_warborn_clone"
) { }
216
217
struct
npc_baltharus_the_warborn_cloneAI
:
public
ScriptedAI
218
{
219
npc_baltharus_the_warborn_cloneAI
(
Creature
* creature) :
ScriptedAI
(creature),
220
_instance
(creature->GetInstanceScript())
221
{
222
}
223
224
void
EnterCombat
(
Unit
*
/*who*/
)
OVERRIDE
225
{
226
DoZoneInCombat
();
227
_events
.Reset();
228
_events
.ScheduleEvent(
EVENT_CLEAVE
, std::rand() % 10000 + 5000);
229
_events
.ScheduleEvent(
EVENT_BLADE_TEMPEST
, std::rand() % 25000 + 18000);
230
_events
.ScheduleEvent(
EVENT_ENERVATING_BRAND
, std::rand() % 15000 + 10000);
231
}
232
233
void
DamageTaken
(
Unit
*
/*attacker*/
,
uint32
& damage)
OVERRIDE
234
{
235
// Setting DATA_BALTHARUS_SHARED_HEALTH to 0 when killed would bug the boss.
236
if
(
_instance
&&
me
->GetHealth() > damage)
237
_instance
->SetData(
DATA_BALTHARUS_SHARED_HEALTH
,
me
->GetHealth() - damage);
238
}
239
240
void
JustDied
(
Unit
* killer)
OVERRIDE
241
{
242
// This is here because DamageTaken wont trigger if the damage is deadly.
243
if
(
_instance
)
244
if
(
Creature
* baltharus =
ObjectAccessor::GetCreature
(*
me
,
_instance
->GetData64(
DATA_BALTHARUS_THE_WARBORN
)))
245
killer->Kill(baltharus);
246
}
247
248
void
UpdateAI
(
uint32
diff)
OVERRIDE
249
{
250
if
(!
UpdateVictim
())
251
return
;
252
253
if
(
_instance
)
254
me
->SetHealth(
_instance
->GetData(
DATA_BALTHARUS_SHARED_HEALTH
));
255
256
_events
.Update(diff);
257
258
if
(
me
->HasUnitState(
UNIT_STATE_CASTING
))
259
return
;
260
261
while
(
uint32
eventId =
_events
.ExecuteEvent())
262
{
263
switch
(eventId)
264
{
265
case
EVENT_CLEAVE
:
266
DoCastVictim
(
SPELL_CLEAVE
);
267
_events
.ScheduleEvent(
EVENT_CLEAVE
, 24000);
268
break
;
269
case
EVENT_BLADE_TEMPEST
:
270
DoCastVictim
(
SPELL_BLADE_TEMPEST
);
271
_events
.ScheduleEvent(
EVENT_BLADE_TEMPEST
, 24000);
272
break
;
273
case
EVENT_ENERVATING_BRAND
:
274
for
(
uint8
i = 0; i < RAID_MODE<uint8>(4, 8, 8, 10); i++)
275
if
(
Unit
* target =
SelectTarget
(
SELECT_TARGET_RANDOM
, 0, 45.0f,
true
))
276
DoCast
(target,
SPELL_ENERVATING_BRAND
);
277
_events
.ScheduleEvent(
EVENT_ENERVATING_BRAND
, 26000);
278
break
;
279
default
:
280
break
;
281
}
282
}
283
284
DoMeleeAttackIfReady
();
285
}
286
287
private
:
288
EventMap
_events
;
289
InstanceScript
*
_instance
;
290
};
291
292
CreatureAI
*
GetAI
(
Creature
* creature)
const
OVERRIDE
293
{
294
return
GetRubySanctumAI<npc_baltharus_the_warborn_cloneAI>
(creature);
295
}
296
};
297
298
class
spell_baltharus_enervating_brand_trigger
:
public
SpellScriptLoader
299
{
300
public
:
301
spell_baltharus_enervating_brand_trigger
() :
SpellScriptLoader
(
"spell_baltharus_enervating_brand_trigger"
) { }
302
303
class
spell_baltharus_enervating_brand_trigger_SpellScript
:
public
SpellScript
304
{
305
PrepareSpellScript
(
spell_baltharus_enervating_brand_trigger_SpellScript
);
306
307
void
CheckDistance
()
308
{
309
if
(
Unit
* caster =
GetOriginalCaster
())
310
{
311
if
(
Unit
* target =
GetHitUnit
())
312
target->CastSpell(caster,
SPELL_SIPHONED_MIGHT
,
true
);
313
}
314
}
315
316
void
Register
()
OVERRIDE
317
{
318
OnHit
+=
SpellHitFn
(
spell_baltharus_enervating_brand_trigger_SpellScript::CheckDistance
);
319
}
320
};
321
322
SpellScript
*
GetSpellScript
() const
OVERRIDE
323
{
324
return
new
spell_baltharus_enervating_brand_trigger_SpellScript
();
325
}
326
};
327
328
void
AddSC_boss_baltharus_the_warborn
()
329
{
330
new
boss_baltharus_the_warborn
();
331
new
npc_baltharus_the_warborn_clone
();
332
new
spell_baltharus_enervating_brand_trigger
();
333
}
Actions
Actions
Definition
BattlegroundIC.h:186
Spells
Spells
Definition
BattlegroundIC.h:645
DIFFICULTY_10MAN_NORMAL
@ DIFFICULTY_10MAN_NORMAL
Definition
DBCEnums.h:334
int32
std::int32_t int32
Definition
Define.h:73
uint8
std::uint8_t uint8
Definition
Define.h:79
uint32
std::uint32_t uint32
Definition
Define.h:77
OVERRIDE
#define OVERRIDE
Definition
Define.h:60
TypeID::TYPEID_PLAYER
@ TYPEID_PLAYER
Definition
Object.h:55
ObjectMgr.h
ScriptMgr.h
ScriptedCreature.h
SpellAuraEffects.h
SpellHitFn
#define SpellHitFn(F)
Definition
SpellScript.h:278
UNIT_STATE_CASTING
@ UNIT_STATE_CASTING
Definition
Unit.h:527
SELECT_TARGET_RANDOM
@ SELECT_TARGET_RANDOM
Definition
UnitAI.h:23
SPELL_CLEAVE
@ SPELL_CLEAVE
Definition
alterac_valley.cpp:12
Events
Events
Definition
alterac_valley.cpp:40
EVENT_CLEAVE
@ EVENT_CLEAVE
Definition
alterac_valley.cpp:42
Texts
Texts
Definition
boss_alizabal.cpp:13
Phases
Phases
Definition
boss_anraphet.cpp:80
PHASE_INTRO
@ PHASE_INTRO
Definition
boss_anraphet.cpp:81
PHASE_COMBAT
@ PHASE_COMBAT
Definition
boss_anraphet.cpp:82
ACTION_CLONE
@ ACTION_CLONE
Definition
boss_baltharus_the_warborn.cpp:45
SPELL_BLADE_TEMPEST
@ SPELL_BLADE_TEMPEST
Definition
boss_baltharus_the_warborn.cpp:27
SPELL_CLEAVE
@ SPELL_CLEAVE
Definition
boss_baltharus_the_warborn.cpp:26
SPELL_CLONE
@ SPELL_CLONE
Definition
boss_baltharus_the_warborn.cpp:28
SPELL_SPAWN_EFFECT
@ SPELL_SPAWN_EFFECT
Definition
boss_baltharus_the_warborn.cpp:31
SPELL_SIPHONED_MIGHT
@ SPELL_SIPHONED_MIGHT
Definition
boss_baltharus_the_warborn.cpp:25
SPELL_CLEAR_DEBUFFS
@ SPELL_CLEAR_DEBUFFS
Definition
boss_baltharus_the_warborn.cpp:30
SPELL_REPELLING_WAVE
@ SPELL_REPELLING_WAVE
Definition
boss_baltharus_the_warborn.cpp:29
SPELL_BARRIER_CHANNEL
@ SPELL_BARRIER_CHANNEL
Definition
boss_baltharus_the_warborn.cpp:23
SPELL_ENERVATING_BRAND
@ SPELL_ENERVATING_BRAND
Definition
boss_baltharus_the_warborn.cpp:24
PHASE_INTRO
@ PHASE_INTRO
Definition
boss_baltharus_the_warborn.cpp:51
PHASE_ALL
@ PHASE_ALL
Definition
boss_baltharus_the_warborn.cpp:50
PHASE_COMBAT
@ PHASE_COMBAT
Definition
boss_baltharus_the_warborn.cpp:52
AddSC_boss_baltharus_the_warborn
void AddSC_boss_baltharus_the_warborn()
Definition
boss_baltharus_the_warborn.cpp:328
SAY_DEATH
@ SAY_DEATH
Definition
boss_baltharus_the_warborn.cpp:18
SAY_AGGRO
@ SAY_AGGRO
Definition
boss_baltharus_the_warborn.cpp:15
SAY_BALTHARUS_INTRO
@ SAY_BALTHARUS_INTRO
Definition
boss_baltharus_the_warborn.cpp:14
SAY_CLONE
@ SAY_CLONE
Definition
boss_baltharus_the_warborn.cpp:17
SAY_KILL
@ SAY_KILL
Definition
boss_baltharus_the_warborn.cpp:16
EVENT_ENERVATING_BRAND
@ EVENT_ENERVATING_BRAND
Definition
boss_baltharus_the_warborn.cpp:38
EVENT_BLADE_TEMPEST
@ EVENT_BLADE_TEMPEST
Definition
boss_baltharus_the_warborn.cpp:36
EVENT_INTRO_TALK
@ EVENT_INTRO_TALK
Definition
boss_baltharus_the_warborn.cpp:39
EVENT_OOC_CHANNEL
@ EVENT_OOC_CHANNEL
Definition
boss_baltharus_the_warborn.cpp:40
EVENT_CLEAVE
@ EVENT_CLEAVE
Definition
boss_baltharus_the_warborn.cpp:37
SAY_DEATH
#define SAY_DEATH
Definition
boss_commander_kolurg.cpp:30
SAY_AGGRO
#define SAY_AGGRO
Definition
boss_commander_kolurg.cpp:28
SAY_KILL
#define SAY_KILL
Definition
boss_commander_kolurg.cpp:29
BossAI::instance
InstanceScript *const instance
Definition
ScriptedCreature.h:383
BossAI::summons
SummonList summons
Definition
ScriptedCreature.h:440
BossAI::events
EventMap events
Definition
ScriptedCreature.h:439
BossAI::BossAI
BossAI(Creature *creature, uint32 bossId)
Definition
ScriptedCreature.cpp:456
BossAI::_JustDied
void _JustDied()
Definition
ScriptedCreature.cpp:474
BossAI::_Reset
void _Reset()
Definition
ScriptedCreature.cpp:462
BossAI::_EnterCombat
void _EnterCombat()
Definition
ScriptedCreature.cpp:485
CreatureAI
Definition
CreatureAI.h:54
CreatureAI::DoZoneInCombat
void DoZoneInCombat(Creature *creature=NULL, float maxRangeToNearestTarget=50.0f)
Definition
CreatureAI.cpp:33
CreatureAI::Talk
void Talk(uint8 id, WorldObject const *whisperTarget=NULL)
Definition
CreatureAI.cpp:28
CreatureAI::UpdateVictim
bool UpdateVictim()
Definition
CreatureAI.cpp:192
Creature
Definition
Creature.h:427
CreatureScript::CreatureScript
CreatureScript(const char *name)
Definition
ScriptMgr.cpp:1436
EventMap
Definition
CreatureAIImpl.h:304
InstanceScript
Definition
InstanceScript.h:123
ObjectAccessor::GetCreature
static Creature * GetCreature(WorldObject const &u, uint64 guid)
Definition
ObjectAccessor.cpp:209
SpellScript
Definition
SpellScript.h:139
SpellScript::OnHit
HookList< HitHandler > OnHit
Definition
SpellScript.h:274
SpellScript::GetHitUnit
Unit * GetHitUnit()
Definition
SpellScript.cpp:399
SpellScript::GetOriginalCaster
Unit * GetOriginalCaster()
Definition
SpellScript.cpp:357
SpellScriptLoader::SpellScriptLoader
SpellScriptLoader(const char *name)
Definition
ScriptMgr.cpp:1372
UnitAI::DoMeleeAttackIfReady
void DoMeleeAttackIfReady()
Definition
UnitAI.cpp:28
UnitAI::DoCast
void DoCast(uint32 spellId)
Definition
UnitAI.cpp:110
UnitAI::SelectTarget
Unit * SelectTarget(SelectAggroTarget targetType, uint32 position=0, float dist=0.0f, bool playerOnly=false, int32 aura=0)
Definition
UnitAI.cpp:66
UnitAI::DoCastVictim
void DoCastVictim(uint32 spellId, bool triggered=false)
Definition
UnitAI.cpp:168
Unit
Definition
Unit.h:1367
boss_baltharus_the_warborn
Definition
boss_baltharus_the_warborn.cpp:56
boss_baltharus_the_warborn::boss_baltharus_the_warborn
boss_baltharus_the_warborn()
Definition
boss_baltharus_the_warborn.cpp:58
boss_baltharus_the_warborn::GetAI
CreatureAI * GetAI(Creature *creature) const OVERRIDE
Definition
boss_baltharus_the_warborn.cpp:206
npc_baltharus_the_warborn_clone
Definition
boss_baltharus_the_warborn.cpp:213
npc_baltharus_the_warborn_clone::npc_baltharus_the_warborn_clone
npc_baltharus_the_warborn_clone()
Definition
boss_baltharus_the_warborn.cpp:215
npc_baltharus_the_warborn_clone::GetAI
CreatureAI * GetAI(Creature *creature) const OVERRIDE
Definition
boss_baltharus_the_warborn.cpp:292
spell_baltharus_enervating_brand_trigger::spell_baltharus_enervating_brand_trigger_SpellScript
Definition
boss_baltharus_the_warborn.cpp:304
spell_baltharus_enervating_brand_trigger::spell_baltharus_enervating_brand_trigger_SpellScript::PrepareSpellScript
PrepareSpellScript(spell_baltharus_enervating_brand_trigger_SpellScript)
spell_baltharus_enervating_brand_trigger::spell_baltharus_enervating_brand_trigger_SpellScript::CheckDistance
void CheckDistance()
Definition
boss_baltharus_the_warborn.cpp:307
spell_baltharus_enervating_brand_trigger::spell_baltharus_enervating_brand_trigger_SpellScript::Register
void Register() OVERRIDE
Definition
boss_baltharus_the_warborn.cpp:316
spell_baltharus_enervating_brand_trigger
Definition
boss_baltharus_the_warborn.cpp:299
spell_baltharus_enervating_brand_trigger::GetSpellScript
SpellScript * GetSpellScript() const OVERRIDE
Definition
boss_baltharus_the_warborn.cpp:322
spell_baltharus_enervating_brand_trigger::spell_baltharus_enervating_brand_trigger
spell_baltharus_enervating_brand_trigger()
Definition
boss_baltharus_the_warborn.cpp:301
ruby_sanctum.h
ACTION_INTRO_BALTHARUS
@ ACTION_INTRO_BALTHARUS
Definition
ruby_sanctum.h:47
ACTION_BALTHARUS_DEATH
@ ACTION_BALTHARUS_DEATH
Definition
ruby_sanctum.h:48
GetRubySanctumAI
CreatureAI * GetRubySanctumAI(Creature *creature)
Definition
ruby_sanctum.h:121
DATA_CRYSTAL_CHANNEL_TARGET
@ DATA_CRYSTAL_CHANNEL_TARGET
Definition
ruby_sanctum.h:30
DATA_BALTHARUS_SHARED_HEALTH
@ DATA_BALTHARUS_SHARED_HEALTH
Definition
ruby_sanctum.h:31
DATA_XERESTRASZA
@ DATA_XERESTRASZA
Definition
ruby_sanctum.h:29
DATA_BALTHARUS_THE_WARBORN
@ DATA_BALTHARUS_THE_WARBORN
Definition
ruby_sanctum.h:22
ScriptedAI::GetDifficulty
DifficultyID GetDifficulty() const
Definition
ScriptedCreature.h:285
ScriptedAI::me
Creature * me
Definition
ScriptedCreature.h:182
ScriptedAI::RAID_MODE
const T & RAID_MODE(const T &normal10, const T &normal25) const
Definition
ScriptedCreature.h:310
ScriptedAI::ScriptedAI
ScriptedAI(Creature *creature)
Definition
ScriptedCreature.cpp:85
boss_baltharus_the_warborn::boss_baltharus_the_warbornAI::DoAction
void DoAction(int32 action) OVERRIDE
Definition
boss_baltharus_the_warborn.cpp:76
boss_baltharus_the_warborn::boss_baltharus_the_warbornAI::EnterCombat
void EnterCombat(Unit *) OVERRIDE
Definition
boss_baltharus_the_warborn.cpp:101
boss_baltharus_the_warborn::boss_baltharus_the_warbornAI::_introDone
bool _introDone
Definition
boss_baltharus_the_warborn.cpp:203
boss_baltharus_the_warborn::boss_baltharus_the_warbornAI::KilledUnit
void KilledUnit(Unit *victim) OVERRIDE
Definition
boss_baltharus_the_warborn.cpp:121
boss_baltharus_the_warborn::boss_baltharus_the_warbornAI::Reset
void Reset() OVERRIDE
Definition
boss_baltharus_the_warborn.cpp:67
boss_baltharus_the_warborn::boss_baltharus_the_warbornAI::UpdateAI
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
Definition
boss_baltharus_the_warborn.cpp:153
boss_baltharus_the_warborn::boss_baltharus_the_warbornAI::JustDied
void JustDied(Unit *) OVERRIDE
Definition
boss_baltharus_the_warborn.cpp:113
boss_baltharus_the_warborn::boss_baltharus_the_warbornAI::_cloneCount
uint8 _cloneCount
Definition
boss_baltharus_the_warborn.cpp:202
boss_baltharus_the_warborn::boss_baltharus_the_warbornAI::JustSummoned
void JustSummoned(Creature *summon) OVERRIDE
Definition
boss_baltharus_the_warborn.cpp:127
boss_baltharus_the_warborn::boss_baltharus_the_warbornAI::boss_baltharus_the_warbornAI
boss_baltharus_the_warbornAI(Creature *creature)
Definition
boss_baltharus_the_warborn.cpp:62
boss_baltharus_the_warborn::boss_baltharus_the_warbornAI::DamageTaken
void DamageTaken(Unit *, uint32 &damage) OVERRIDE
Definition
boss_baltharus_the_warborn.cpp:134
npc_baltharus_the_warborn_clone::npc_baltharus_the_warborn_cloneAI::DamageTaken
void DamageTaken(Unit *, uint32 &damage) OVERRIDE
Definition
boss_baltharus_the_warborn.cpp:233
npc_baltharus_the_warborn_clone::npc_baltharus_the_warborn_cloneAI::UpdateAI
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
Definition
boss_baltharus_the_warborn.cpp:248
npc_baltharus_the_warborn_clone::npc_baltharus_the_warborn_cloneAI::EnterCombat
void EnterCombat(Unit *) OVERRIDE
Definition
boss_baltharus_the_warborn.cpp:224
npc_baltharus_the_warborn_clone::npc_baltharus_the_warborn_cloneAI::_events
EventMap _events
Definition
boss_baltharus_the_warborn.cpp:288
npc_baltharus_the_warborn_clone::npc_baltharus_the_warborn_cloneAI::_instance
InstanceScript * _instance
Definition
boss_baltharus_the_warborn.cpp:289
npc_baltharus_the_warborn_clone::npc_baltharus_the_warborn_cloneAI::JustDied
void JustDied(Unit *killer) OVERRIDE
Definition
boss_baltharus_the_warborn.cpp:240
npc_baltharus_the_warborn_clone::npc_baltharus_the_warborn_cloneAI::npc_baltharus_the_warborn_cloneAI
npc_baltharus_the_warborn_cloneAI(Creature *creature)
Definition
boss_baltharus_the_warborn.cpp:219
src
server
scripts
Northrend
ChamberOfAspects
RubySanctum
boss_baltharus_the_warborn.cpp
Generated on
for Project SkyFire Core by
1.17.0