![]() |
AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Private Member Functions | |
PrepareAuraScript (spell_scourge_disguise_instability) | |
bool | Validate (SpellInfo const *) override |
void | HandleApply (AuraEffect const *, AuraEffectHandleModes) |
void | HandleRemove (AuraEffect const *, AuraEffectHandleModes) |
void | Register () override |
|
inlineprivate |
References IN_MILLISECONDS, MINUTE, AuraScript::SetDuration(), and urand().
Referenced by Register().
|
inlineprivate |
References AuraScript::GetCaster(), scourgeDisguiseTextIDs, Acore::Containers::SelectRandomContainerElement(), SPELL_SCOURGE_DISGUISE, SPELL_SCOURGE_DISGUISE_EXPIRING, SPELL_SCOURGE_DISGUISE_INSTANT_CAST, and Object::ToPlayer().
Referenced by Register().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
References AURA_EFFECT_HANDLE_REAL, AuraEffectApplyFn, AuraEffectRemoveFn, EFFECT_0, HandleApply(), HandleRemove(), AuraScript::OnEffectApply, AuraScript::OnEffectRemove, and SPELL_AURA_DUMMY.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
References SPELL_SCOURGE_DISGUISE_EXPIRING, and _SpellScript::ValidateSpellInfo().