AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Private Member Functions | |
PrepareSpellScript (spell_dk_corpse_explosion) | |
bool | Validate (SpellInfo const *) override |
bool | Load () override |
void | CheckTarget (WorldObject *&target) |
void | CheckTargets (std::list< WorldObject * > &targets) |
void | HandleDamage (SpellEffIndex effIndex, Unit *target) |
void | HandleCorpseExplosion (SpellEffIndex effIndex) |
void | Register () override |
Private Attributes | |
WorldObject * | _target |
|
inlineprivate |
References _target, and SpellScript::GetCaster().
Referenced by Register().
|
inlineprivate |
References _target, SpellScript::FinishCast(), SpellScript::GetCaster(), Acore::Containers::SelectRandomContainerElement(), and SPELL_FAILED_CANT_DO_THAT_RIGHT_NOW.
Referenced by Register().
|
inlineprivate |
References Unit::CastSpell(), SpellScript::GetCaster(), SpellScript::GetHitUnit(), HandleDamage(), SPELL_DK_CORPSE_EXPLOSION_TRIGGERED, SPELL_DK_CORPSE_EXPLOSION_VISUAL, SPELL_DK_GHOUL_EXPLODE, and sSpellMgr.
Referenced by Register().
|
inlineprivate |
References Unit::CastCustomSpell(), EFFECT_0, EFFECT_1, SpellScript::GetCaster(), SpellScript::GetEffectValue(), SpellScript::GetSpell(), SpellScript::GetSpellInfo(), and SPELLVALUE_BASE_POINT0.
Referenced by HandleCorpseExplosion().
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
References _target.
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
References CheckTarget(), CheckTargets(), EFFECT_0, EFFECT_1, HandleCorpseExplosion(), SpellScript::OnEffectHitTarget, SpellScript::OnObjectAreaTargetSelect, SpellScript::OnObjectTargetSelect, SPELL_EFFECT_DUMMY, SpellEffectFn, SpellObjectAreaTargetSelectFn, SpellObjectTargetSelectFn, TARGET_UNIT_DEST_AREA_ENTRY, and TARGET_UNIT_TARGET_ANY.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
References SPELL_DK_CORPSE_EXPLOSION_TRIGGERED, SPELL_DK_CORPSE_EXPLOSION_VISUAL, SPELL_DK_GHOUL_EXPLODE, and _SpellScript::ValidateSpellInfo().
|
private |
Referenced by CheckTarget(), CheckTargets(), and Load().