|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Private Member Functions | |
| SpellCastResult | CheckClass () |
| void | HandleScript (SpellEffIndex effIndex) |
| PrepareSpellScript (spell_dk_death_gate_SpellScript) | |
| void | Register () OVERRIDE |
Definition at line 517 of file spell_dk.cpp.
|
inlineprivate |
Definition at line 521 of file spell_dk.cpp.
References CLASS_DEATH_KNIGHT, SpellScript::GetCaster(), SpellScript::SetCustomCastResultMessage(), SPELL_CAST_OK, SPELL_CUSTOM_ERROR_MUST_BE_DEATH_KNIGHT, and SPELL_FAILED_CUSTOM_ERROR.
Referenced by Register().
|
inlineprivate |
Definition at line 532 of file spell_dk.cpp.
References SpellScript::GetEffectValue(), SpellScript::GetHitUnit(), and SpellScript::PreventHitDefaultEffect().
Referenced by Register().
|
private |
|
inlineprivatevirtual |
Implements _SpellScript.
Definition at line 539 of file spell_dk.cpp.
References CheckClass(), EFFECT_0, HandleScript(), SpellScript::OnCheckCast, SpellScript::OnEffectHitTarget, OVERRIDE, SPELL_EFFECT_SCRIPT_EFFECT, SpellCheckCastFn, and SpellEffectFn.