AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Private Member Functions | |
PrepareAuraScript (spell_dk_pet_scaling) | |
void | CalculateStatAmount (AuraEffect const *aurEff, int32 &amount, bool &) |
void | CalculateSPAmount (AuraEffect const *, int32 &amount, bool &) |
void | CalculateHasteAmount (AuraEffect const *, int32 &amount, bool &) |
void | HandleEffectApply (AuraEffect const *aurEff, AuraEffectHandleModes) |
void | CalcPeriodic (AuraEffect const *, bool &isPeriodic, int32 &litude) |
void | HandlePeriodic (AuraEffect const *aurEff) |
void | Register () override |
|
inlineprivate |
References AuraScript::GetUnitOwner(), and IN_MILLISECONDS.
Referenced by Register().
|
inlineprivate |
References BASE_ATTACK, AuraScript::GetOwner(), and AuraScript::GetUnitOwner().
Referenced by Register().
|
inlineprivate |
References BASE_ATTACK, CalculatePct(), AuraScript::GetOwner(), AuraScript::GetUnitOwner(), NPC_EBON_GARGOYLE, PLAYER_PET_SPELL_POWER, and SPELLFAMILY_DEATHKNIGHT.
Referenced by Register().
|
inlineprivate |
References AddPct(), CalculatePct(), EFFECT_0, EFFECT_1, SpellInfo::Effects, AuraEffect::GetEffIndex(), AuraScript::GetOwner(), AuraEffect::GetSpellInfo(), AuraScript::GetUnitOwner(), NPC_EBON_GARGOYLE, NPC_RISEN_GHOUL, SPELL_AURA_MOD_TOTAL_STAT_PERCENTAGE, SPELL_DK_GLYPH_OF_THE_GHOUL, SPELLFAMILY_DEATHKNIGHT, STAT_STAMINA, and STAT_STRENGTH.
Referenced by Register().
|
inlineprivate |
References Unit::ApplySpellImmune(), AuraEffect::GetAuraType(), AuraScript::GetUnitOwner(), IMMUNITY_STATE, SPELL_AURA_MELEE_SLOW, SPELL_AURA_MOD_ATTACK_POWER, SPELL_AURA_MOD_ATTACK_POWER_PCT, SPELL_AURA_MOD_CASTING_SPEED_NOT_STACK, SPELL_AURA_MOD_MELEE_RANGED_HASTE, SPELL_AURA_MOD_STAT, SPELL_AURA_MOD_TOTAL_STAT_PERCENTAGE, and SPELL_BLOCK_TYPE_POSITIVE.
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 AURA_EFFECT_HANDLE_REAL, AuraEffectApplyFn, AuraEffectCalcAmountFn, AuraEffectCalcPeriodicFn, AuraEffectPeriodicFn, CalcPeriodic(), CalculateHasteAmount(), CalculateSPAmount(), CalculateStatAmount(), AuraScript::DoEffectCalcAmount, AuraScript::DoEffectCalcPeriodic, EFFECT_ALL, HandleEffectApply(), HandlePeriodic(), _SpellScript::m_scriptSpellId, AuraScript::OnEffectApply, AuraScript::OnEffectPeriodic, SPELL_AURA_ANY, SPELL_AURA_MELEE_SLOW, SPELL_AURA_MOD_DAMAGE_DONE, and SPELL_AURA_MOD_STAT.