AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Private Member Functions | |
PrepareAuraScript (spell_warl_seed_of_corruption_aura) | |
bool | Validate (SpellInfo const *) override |
void | CalculateAmount (AuraEffect const *aurEff, int32 &amount, bool &) |
void | Detonate (AuraEffect const *aurEff) |
void | HandleProc (AuraEffect const *aurEff, ProcEventInfo &eventInfo) |
void | OnRemove (AuraEffect const *aurEff, AuraEffectHandleModes) |
void | Register () override |
|
inlineprivate |
References DOT, AuraScript::GetCaster(), AuraEffect::GetEffIndex(), AuraEffect::GetPctMods(), AuraScript::GetSpellInfo(), AuraScript::GetUnitOwner(), and Unit::SpellDamageBonusDone().
Referenced by Register().
|
inlineprivate |
References Unit::CastSpell(), AuraScript::GetCaster(), AuraScript::GetSpellInfo(), AuraScript::GetTarget(), SPELL_WARLOCK_SEED_OF_CORRUPTION_DAMAGE_R1, SPELL_WARLOCK_SEED_OF_CORRUPTION_VISUAL, and sSpellMgr.
Referenced by HandleProc(), and OnRemove().
|
inlineprivate |
References AURA_REMOVE_BY_DEFAULT, Detonate(), EFFECT_1, AuraEffect::GetAmount(), AuraScript::GetAura(), DamageInfo::GetDamage(), ProcEventInfo::GetDamageInfo(), Aura::GetEffect(), AuraScript::PreventDefaultAction(), AuraScript::Remove(), and AuraEffect::SetAmount().
Referenced by Register().
|
inlineprivate |
References AURA_REMOVE_BY_DEATH, Detonate(), AuraApplication::GetRemoveMode(), and AuraScript::GetTargetApplication().
Referenced by Register().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
References AuraScript::AfterEffectRemove, AURA_EFFECT_HANDLE_REAL, AuraEffectCalcAmountFn, AuraEffectProcFn, AuraEffectRemoveFn, CalculateAmount(), AuraScript::DoEffectCalcAmount, EFFECT_0, EFFECT_1, HandleProc(), AuraScript::OnEffectProc, OnRemove(), SPELL_AURA_DUMMY, and SPELL_AURA_PERIODIC_DAMAGE.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
References SPELL_WARLOCK_SEED_OF_CORRUPTION_DAMAGE_R1, SPELL_WARLOCK_SEED_OF_CORRUPTION_DAMAGE_R2, SPELL_WARLOCK_SEED_OF_CORRUPTION_DAMAGE_R3, SPELL_WARLOCK_SEED_OF_CORRUPTION_VISUAL, and _SpellScript::ValidateSpellInfo().