![]() |
TrinityCore
|
Inheritance diagram for spell_dk_death_gate:Private Member Functions | |
| SpellCastResult | CheckClass () |
| void | HandleScript (SpellEffIndex effIndex) |
| void | Register () override |
Definition at line 611 of file spell_dk.cpp.
|
inlineprivate |
Definition at line 613 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 624 of file spell_dk.cpp.
References SpellScript::GetEffectValueAsInt(), SpellScript::GetHitUnit(), and SpellScript::PreventHitDefaultEffect().
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 631 of file spell_dk.cpp.
References CheckClass(), EFFECT_0, HandleScript(), SpellScript::OnCheckCast, SpellScript::OnEffectHitTarget, SPELL_EFFECT_SCRIPT_EFFECT, SpellCheckCastFn, and SpellEffectFn.