AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Private Member Functions | |
PrepareAuraScript (spell_shadowfang_keep_forsaken_skills_aura) | |
bool | Validate (SpellInfo const *) override |
bool | Load () override |
void | OnApply (AuraEffect const *, AuraEffectHandleModes) |
void | HandleDummyTick (AuraEffect const *) |
void | Register () override |
Private Attributes | |
uint32 | _forsakenSpell |
|
inlineprivate |
References _forsakenSpell, Unit::CastSpell(), AuraScript::GetUnitOwner(), AuraScript::PreventDefaultAction(), Unit::RemoveAurasDueToSpell(), SPELL_FORSAKEN_SKILL_SHADOW, SPELL_FORSAKEN_SKILL_SWORD, and urand().
Referenced by Register().
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
References _forsakenSpell.
|
inlineprivate |
References _forsakenSpell, Unit::CastSpell(), AuraScript::GetUnitOwner(), SPELL_FORSAKEN_SKILL_SHADOW, SPELL_FORSAKEN_SKILL_SWORD, and urand().
Referenced by Register().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
References AURA_EFFECT_HANDLE_REAL, AuraEffectApplyFn, AuraEffectPeriodicFn, EFFECT_0, HandleDummyTick(), OnApply(), AuraScript::OnEffectApply, AuraScript::OnEffectPeriodic, and SPELL_AURA_PERIODIC_DUMMY.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
References SPELL_FORSAKEN_SKILL_SHADOW, SPELL_FORSAKEN_SKILL_SWORD, and _SpellScript::ValidateSpellInfo().
|
private |
Referenced by HandleDummyTick(), Load(), and OnApply().