|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Private Member Functions | |
| SpellCastResult | CheckCast () |
| void | HandleDummy (SpellEffIndex) |
| PrepareSpellScript (spell_dk_death_coil_SpellScript) | |
| void | Register () OVERRIDE |
| bool | Validate (SpellInfo const *) OVERRIDE |
Definition at line 454 of file spell_dk.cpp.
|
inlineprivate |
Definition at line 481 of file spell_dk.cpp.
References CREATURE_TYPE_UNDEAD, SpellScript::GetCaster(), SpellScript::GetExplTargetUnit(), Unit::IsFriendlyTo(), WorldObject::isInFront(), SPELL_CAST_OK, SPELL_FAILED_BAD_TARGETS, and SPELL_FAILED_UNIT_NOT_INFRONT.
Referenced by Register().
|
inlineprivate |
Definition at line 465 of file spell_dk.cpp.
References Unit::CastCustomSpell(), SpellScript::GetCaster(), SpellScript::GetEffectValue(), SpellScript::GetHitUnit(), Unit::IsFriendlyTo(), SPELL_DK_DEATH_COIL_DAMAGE, and SPELL_DK_DEATH_COIL_HEAL.
Referenced by Register().
|
private |
|
inlineprivatevirtual |
Implements _SpellScript.
Definition at line 498 of file spell_dk.cpp.
References CheckCast(), EFFECT_0, HandleDummy(), SpellScript::OnCheckCast, SpellScript::OnEffectHitTarget, OVERRIDE, SPELL_EFFECT_DUMMY, SpellCheckCastFn, and SpellEffectFn.
|
inlineprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 458 of file spell_dk.cpp.
References OVERRIDE, SPELL_DK_DEATH_COIL_DAMAGE, SPELL_DK_DEATH_COIL_HEAL, and sSpellMgr.