|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Private Member Functions | |
| void | HandleBanish () |
| bool | Load () OVERRIDE |
| PrepareSpellScript (spell_warl_banish_SpellScript) | |
| void | Register () OVERRIDE |
| void | RemoveAura () |
Private Attributes | |
| bool | _removed |
Definition at line 100 of file spell_warlock.cpp.
|
inlineprivate |
Casting Banish on a banished target will cancel the effect Check if the target already has Banish, if so, do nothing.
Definition at line 110 of file spell_warlock.cpp.
References _removed, EFFECT_0, EFFECT_1, EFFECT_2, SpellScript::GetHitUnit(), SpellScript::PreventHitDefaultEffect(), SPELL_AURA_SCHOOL_IMMUNITY, and SPELLFAMILY_WARLOCK.
Referenced by Register().
|
inlineprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 104 of file spell_warlock.cpp.
|
private |
|
inlineprivatevirtual |
Implements _SpellScript.
Definition at line 133 of file spell_warlock.cpp.
References SpellScript::AfterHit, SpellScript::BeforeHit, HandleBanish(), OVERRIDE, RemoveAura(), and SpellHitFn.
|
inlineprivate |
Definition at line 127 of file spell_warlock.cpp.
References _removed, and SpellScript::PreventHitAura().
Referenced by Register().
|
private |
Definition at line 139 of file spell_warlock.cpp.
Referenced by HandleBanish(), Load(), and RemoveAura().