AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Private Member Functions | |
PrepareAuraScript (spell_hun_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 AddPct(), CalculatePct(), EFFECT_0, EFFECT_1, AuraScript::GetOwner(), AuraScript::GetUnitOwner(), RANGED_ATTACK, SPELL_AURA_MOD_ATTACK_POWER_OF_STAT_PERCENT, SPELL_HUNTER_PET_LEGGINGS_OF_BEAST_MASTERY, SPELLFAMILY_HUNTER, SPELLFAMILY_PET, and STAT_STAMINA.
Referenced by Register().
|
inlineprivate |
References CalculatePct(), SpellInfo::Effects, AuraEffect::GetEffIndex(), AuraScript::GetOwner(), AuraEffect::GetSpellInfo(), AuraScript::GetUnitOwner(), SPELL_HUNTER_PET_LEGGINGS_OF_BEAST_MASTERY, and SPELL_SCHOOL_MASK_NORMAL.
Referenced by Register().
|
inlineprivate |
References AddPct(), CalculatePct(), EFFECT_1, AuraScript::GetOwner(), AuraScript::GetUnitOwner(), PLAYER_PET_SPELL_POWER, RANGED_ATTACK, and SPELLFAMILY_PET.
Referenced by Register().
|
inlineprivate |
References AddPct(), CalculatePct(), EFFECT_0, SpellInfo::Effects, AuraEffect::GetEffIndex(), AuraScript::GetOwner(), AuraEffect::GetSpellInfo(), AuraScript::GetUnitOwner(), SPELL_HUNTER_PET_LEGGINGS_OF_BEAST_MASTERY, and SPELLFAMILY_PET.
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.