AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Private Member Functions | |
PrepareAuraScript (spell_warl_generic_scaling) | |
void | CalculateResistanceAmount (AuraEffect const *aurEff, int32 &amount, bool &) |
void | CalculateStatAmount (AuraEffect const *aurEff, int32 &amount, bool &) |
void | CalculateAPAmount (AuraEffect const *, int32 &amount, bool &) |
void | CalculateSPAmount (AuraEffect const *, int32 &amount, bool &) |
void | CalcPeriodic (AuraEffect const *, bool &isPeriodic, int32 &litude) |
void | HandlePeriodic (AuraEffect const *aurEff) |
void | Register () override |
|
inlineprivate |
References IN_MILLISECONDS.
Referenced by Register().
|
inlineprivate |
References CalculatePct(), AuraScript::GetOwner(), AuraScript::GetUnitOwner(), SPELL_SCHOOL_MASK_FIRE, and SPELL_SCHOOL_MASK_SHADOW.
Referenced by Register().
|
inlineprivate |
References CalculatePct(), EFFECT_0, SpellInfo::Effects, AuraEffect::GetEffIndex(), AuraScript::GetOwner(), AuraEffect::GetSpellInfo(), AuraScript::GetUnitOwner(), SPELL_SCHOOL_MASK_NORMAL, SPELL_WARLOCK_PET_VOID_STAR_TALISMAN, and sSpellMgr.
Referenced by Register().
|
inlineprivate |
References CalculatePct(), AuraScript::GetOwner(), AuraScript::GetUnitOwner(), PLAYER_PET_SPELL_POWER, SPELL_SCHOOL_MASK_FIRE, and SPELL_SCHOOL_MASK_SHADOW.
Referenced by Register().
|
inlineprivate |
References CalculatePct(), SpellInfo::Effects, AuraEffect::GetEffIndex(), AuraScript::GetOwner(), AuraEffect::GetSpellInfo(), AuraScript::GetUnitOwner(), and STAT_STAMINA.
Referenced by Register().
|
inlineprivate |
References AuraEffect::CalculateAmount(), AuraEffect::ChangeAmount(), AuraEffect::GetAmount(), AuraEffect::GetAuraType(), AuraScript::GetCaster(), AuraScript::GetEffect(), AuraEffect::GetEffIndex(), Unit::GetHealth(), AuraEffect::GetMiscValue(), Unit::GetPower(), AuraScript::GetUnitOwner(), POWER_MANA, AuraScript::PreventDefaultAction(), AuraEffect::RecalculateAmount(), Unit::SetHealth(), Unit::SetPower(), SPELL_AURA_MOD_STAT, STAT_INTELLECT, and STAT_STAMINA.
Referenced by Register().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
References AuraEffectCalcAmountFn, AuraEffectCalcPeriodicFn, AuraEffectPeriodicFn, CalcPeriodic(), CalculateAPAmount(), CalculateResistanceAmount(), CalculateSPAmount(), CalculateStatAmount(), AuraScript::DoEffectCalcAmount, AuraScript::DoEffectCalcPeriodic, EFFECT_ALL, HandlePeriodic(), _SpellScript::m_scriptSpellId, AuraScript::OnEffectPeriodic, SPELL_AURA_ANY, SPELL_AURA_MOD_ATTACK_POWER, SPELL_AURA_MOD_DAMAGE_DONE, SPELL_AURA_MOD_RESISTANCE, and SPELL_AURA_MOD_STAT.