![]() |
TrinityCore
|
Inheritance diagram for spell_sha_astral_shift:Private Member Functions | |
| PrepareAuraScript (spell_sha_astral_shift) | |
| bool | Load () override |
| void | CalculateAmount (AuraEffect const *, int32 &amount, bool &) |
| void | Absorb (AuraEffect *, DamageInfo &dmgInfo, uint32 &absorbAmount) |
| void | Register () override |
Private Attributes | |
| uint32 | absorbPct |
Definition at line 174 of file spell_shaman.cpp.
|
inline |
Definition at line 179 of file spell_shaman.cpp.
References absorbPct.
|
inlineprivate |
Definition at line 199 of file spell_shaman.cpp.
References absorbPct, CalculatePct(), DamageInfo::GetDamage(), AuraScript::GetTarget(), MECHANIC_STUN, UNIT_FLAG_FLEEING, UNIT_FLAG_SILENCED, and UNIT_FLAG_STUNNED.
Referenced by Register().
|
inlineprivate |
Definition at line 193 of file spell_shaman.cpp.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 187 of file spell_shaman.cpp.
References absorbPct, SpellEffectInfo::CalcValue(), EFFECT_0, AuraScript::GetCaster(), and AuraScript::GetEffectInfo().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 206 of file spell_shaman.cpp.
References Absorb(), AuraEffectAbsorbFn, AuraEffectCalcAmountFn, CalculateAmount(), AuraScript::DoEffectCalcAmount, EFFECT_0, AuraScript::OnEffectAbsorb, and SPELL_AURA_SCHOOL_ABSORB.
|
private |
Definition at line 185 of file spell_shaman.cpp.
Referenced by Absorb(), Load(), and spell_sha_astral_shift().