|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Private Member Functions | |
| void | CalculateAmount (AuraEffect const *, int32 &amount, bool &) |
| bool | Load () |
| void | OnAbsorb (AuraEffect *aurEff, DamageInfo &dmgInfo, uint32 &absorbAmount) |
| PrepareAuraScript (spell_monk_touch_of_karma_AuraScript) | |
| void | Register () |
| bool | Validate (SpellInfo const *) |
Private Attributes | |
| uint32 | totalAbsorbAmount |
Definition at line 241 of file spell_monk.cpp.
|
inlineprivate |
Definition at line 260 of file spell_monk.cpp.
References AuraScript::GetCaster(), and Unit::GetMaxHealth().
Referenced by Register().
|
inlineprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 254 of file spell_monk.cpp.
References totalAbsorbAmount.
|
inlineprivate |
Definition at line 266 of file spell_monk.cpp.
References DamageInfo::GetAttacker(), DamageInfo::GetDamage(), AuraEffect::GetSpellInfo(), DamageInfo::GetVictim(), SpellInfo::Id, SPELL_MONK_TOUCH_OF_KARMA_REDIRECT_DAMAGE, SPELLVALUE_BASE_POINT0, and totalAbsorbAmount.
Referenced by Register().
|
private |
|
inlineprivatevirtual |
Implements _SpellScript.
Definition at line 280 of file spell_monk.cpp.
References AuraEffectAbsorbFn, AuraEffectCalcAmountFn, CalculateAmount(), AuraScript::DoEffectCalcAmount, EFFECT_1, OnAbsorb(), AuraScript::OnEffectAbsorb, and SPELL_AURA_SCHOOL_ABSORB.
|
inlineprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 247 of file spell_monk.cpp.
References SPELL_MONK_TOUCH_OF_KARMA_REDIRECT_DAMAGE, and sSpellMgr.
|
private |
Definition at line 245 of file spell_monk.cpp.
Referenced by Load(), and OnAbsorb().