|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Private Member Functions | |
| void | Absorb (AuraEffect *auraEffect, DamageInfo &dmgInfo, uint32 &absorbAmount) |
| void | CalculateAmount (AuraEffect const *, int32 &amount, bool &) |
| bool | Load () |
| PrepareAuraScript (spell_monk_dampen_harm_AuraScript) | |
| void | Register () |
Private Attributes | |
| uint32 | healthPct |
Definition at line 94 of file spell_monk.cpp.
|
inlineprivate |
Definition at line 111 of file spell_monk.cpp.
References Unit::CountPctFromMaxHealth(), Aura::DropCharge(), AuraEffect::GetBase(), DamageInfo::GetDamage(), AuraScript::GetTarget(), and healthPct.
Referenced by Register().
|
inlineprivate |
Definition at line 106 of file spell_monk.cpp.
Referenced by Register().
|
inlineprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 100 of file spell_monk.cpp.
References SpellEffectInfo::CalcValue(), EFFECT_0, SpellInfo::Effects, AuraScript::GetCaster(), AuraScript::GetSpellInfo(), AuraScript::GetUnitOwner(), healthPct, and Object::ToPlayer().
|
private |
|
inlineprivatevirtual |
Implements _SpellScript.
Definition at line 125 of file spell_monk.cpp.
References Absorb(), AuraEffectAbsorbFn, AuraEffectCalcAmountFn, CalculateAmount(), AuraScript::DoEffectCalcAmount, EFFECT_0, AuraScript::OnEffectAbsorb, and SPELL_AURA_SCHOOL_ABSORB.
|
private |
Definition at line 98 of file spell_monk.cpp.