TrinityCore
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Variables
a
c
d
g
h
i
m
p
r
s
t
u
v
w
Typedefs
b
c
f
g
h
i
l
m
n
p
r
s
t
u
w
Enumerations
c
d
f
g
l
m
r
s
t
v
w
Enumerator
b
c
e
g
h
l
m
p
r
t
v
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
a
b
d
e
g
i
k
l
o
p
r
s
t
u
w
Enumerator
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
Related Functions
a
b
c
d
e
f
g
i
l
m
o
p
q
r
s
t
u
v
w
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
▼
TrinityCore
Todo List
►
Modules
►
Namespaces
►
Classes
▼
Files
▼
File List
►
common
▼
server
►
authserver
►
database
►
game
▼
scripts
►
Battlefield
►
Commands
►
Custom
▼
EasternKingdoms
►
AlteracValley
►
BlackrockMountain
►
Deadmines
►
Gnomeregan
►
Karazhan
►
MagistersTerrace
►
ScarletEnclave
►
ScarletMonastery
▼
Scholomance
►
boss_darkmaster_gandling.cpp
►
boss_death_knight_darkreaver.cpp
►
boss_doctor_theolen_krastinov.cpp
►
boss_illucia_barov.cpp
►
boss_instructor_malicia.cpp
►
boss_jandice_barov.cpp
►
boss_kirtonos_the_herald.cpp
►
boss_kormok.cpp
►
boss_lord_alexei_barov.cpp
►
boss_lorekeeper_polkelt.cpp
►
boss_ras_frostwhisper.cpp
►
boss_the_ravenian.cpp
►
boss_vectus.cpp
►
instance_scholomance.cpp
►
scholomance.h
►
ShadowfangKeep
►
Stratholme
►
SunkenTemple
►
SunwellPlateau
►
TheStockade
►
Uldaman
►
ZulAman
►
ZulGurub
►
eastern_kingdoms.cpp
►
eastern_kingdoms_script_loader.cpp
►
zone_blasted_lands.cpp
►
zone_duskwood.cpp
►
zone_eastern_plaguelands.cpp
►
zone_elwynn_forest.cpp
►
zone_eversong_woods.cpp
►
zone_hinterlands.cpp
►
zone_isle_of_queldanas.cpp
►
zone_stormwind_city.cpp
►
zone_tirisfal_glades.cpp
►
zone_undercity.cpp
►
Events
►
Kalimdor
►
Northrend
►
OutdoorPvP
►
Outland
►
Pet
►
Spells
►
World
►
ScriptLoader.h
ScriptPCH.h
►
shared
►
worldserver
►
tools
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
boss_death_knight_darkreaver.cpp
Go to the documentation of this file.
1
/*
2
* This file is part of the TrinityCore Project. See AUTHORS file for Copyright information
3
*
4
* This program is free software; you can redistribute it and/or modify it
5
* under the terms of the GNU General Public License as published by the
6
* Free Software Foundation; either version 2 of the License, or (at your
7
* option) any later version.
8
*
9
* This program is distributed in the hope that it will be useful, but WITHOUT
10
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12
* more details.
13
*
14
* You should have received a copy of the GNU General Public License along
15
* with this program. If not, see <http://www.gnu.org/licenses/>.
16
*/
17
18
#include "
ScriptMgr.h
"
19
#include "
scholomance.h
"
20
#include "
ScriptedCreature.h
"
21
22
enum
DarkreaverSpells
23
{
24
SUMMON_FALLEN_CHARGER
= 23261
25
};
26
27
// 14516 - Death Knight Darkreaver
28
struct
boss_death_knight_darkreaver
:
public
ScriptedAI
29
{
30
boss_death_knight_darkreaver
(
Creature
* creature) :
ScriptedAI
(creature) { }
31
32
void
Reset
()
override
33
{
34
}
35
36
void
JustDied
(
Unit
*
/*killer*/
)
override
37
{
38
DoCastSelf
(
SUMMON_FALLEN_CHARGER
,
true
);
39
}
40
41
void
JustEngagedWith
(
Unit
*
/*who*/
)
override
42
{
43
}
44
};
45
46
void
AddSC_boss_death_knight_darkreaver
()
47
{
48
RegisterScholomanceCreatureAI
(
boss_death_knight_darkreaver
);
49
}
ScriptMgr.h
ScriptedCreature.h
AddSC_boss_death_knight_darkreaver
void AddSC_boss_death_knight_darkreaver()
Definition:
boss_death_knight_darkreaver.cpp:46
DarkreaverSpells
DarkreaverSpells
Definition:
boss_death_knight_darkreaver.cpp:23
SUMMON_FALLEN_CHARGER
@ SUMMON_FALLEN_CHARGER
Definition:
boss_death_knight_darkreaver.cpp:24
Creature
Definition:
Creature.h:62
UnitAI::DoCastSelf
SpellCastResult DoCastSelf(uint32 spellId, CastSpellExtraArgs const &args={})
Definition:
UnitAI.h:241
Unit
Definition:
Unit.h:769
scholomance.h
RegisterScholomanceCreatureAI
#define RegisterScholomanceCreatureAI(ai_name)
Definition:
scholomance.h:65
ScriptedAI
Definition:
ScriptedCreature.h:131
boss_death_knight_darkreaver
Definition:
boss_death_knight_darkreaver.cpp:29
boss_death_knight_darkreaver::boss_death_knight_darkreaver
boss_death_knight_darkreaver(Creature *creature)
Definition:
boss_death_knight_darkreaver.cpp:30
boss_death_knight_darkreaver::JustDied
void JustDied(Unit *) override
Definition:
boss_death_knight_darkreaver.cpp:36
boss_death_knight_darkreaver::JustEngagedWith
void JustEngagedWith(Unit *) override
Definition:
boss_death_knight_darkreaver.cpp:41
boss_death_knight_darkreaver::Reset
void Reset() override
Definition:
boss_death_knight_darkreaver.cpp:32
server
scripts
EasternKingdoms
Scholomance
boss_death_knight_darkreaver.cpp
Generated on Fri Jun 20 2025 20:52:57 for TrinityCore by
1.9.4