![]() |
TrinityCore
|
Inheritance diagram for spell_monk_stagger:Private Member Functions | |
| bool | Validate (SpellInfo const *) override |
| void | AbsorbNormal (AuraEffect *, DamageInfo &dmgInfo, uint32 &) |
| void | AbsorbMagic (AuraEffect *, DamageInfo &dmgInfo, uint32 &) |
| void | Absorb (DamageInfo &dmgInfo, float multiplier) |
| void | Register () override |
| void | AddAndRefreshStagger (float amount) const |
Static Private Member Functions | |
| static uint32 | GetStaggerSpellId (Unit const *unit, SpellEffectValue amount) |
| static void | AddNewStagger (Unit *unit, uint32 staggerSpellId, SpellEffectValue staggerAmount) |
Definition at line 581 of file spell_monk.cpp.
|
inlineprivate |
Definition at line 602 of file spell_monk.cpp.
References DamageInfo::AbsorbDamage(), AddAndRefreshStagger(), ArmorConstant, AuraStaggerEffectTick, CalculatePct(), AuraEffect::GetAmount(), Unit::GetClass(), DamageInfo::GetDamage(), AuraScript::GetEffect(), Unit::GetLevel(), DamageInfo::GetSpellInfo(), Unit::GetStat(), AuraScript::GetTarget(), AuraScript::PreventDefaultAction(), sDB2Manager, SPELL_MONK_STAGGER_DAMAGE_AURA, and STAT_AGILITY.
Referenced by AbsorbMagic(), and AbsorbNormal().
|
inlineprivate |
Definition at line 593 of file spell_monk.cpp.
References Absorb(), EFFECT_4, AuraEffect::GetAmount(), and AuraScript::GetEffect().
Referenced by Register().
|
inlineprivate |
|
inlineprivate |
Definition at line 642 of file spell_monk.cpp.
References AddNewStagger(), AuraStaggerEffectTotal, AuraEffect::ChangeAmount(), FindExistingStaggerEffect(), AuraEffect::GetAmount(), AuraEffect::GetSpellInfo(), GetStaggerSpellId(), AuraScript::GetTarget(), SpellInfo::Id, and Unit::RemoveAura().
Referenced by Absorb().
|
inlinestaticprivate |
Definition at line 680 of file spell_monk.cpp.
References WorldObject::CastSpell(), SPELLVALUE_BASE_POINT1, and TRIGGERED_FULL_MASK.
Referenced by AddAndRefreshStagger().
|
inlinestaticprivate |
Definition at line 669 of file spell_monk.cpp.
References Unit::GetMaxHealth(), SPELL_MONK_STAGGER_HEAVY, SPELL_MONK_STAGGER_LIGHT, and SPELL_MONK_STAGGER_MODERATE.
Referenced by AddAndRefreshStagger().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 635 of file spell_monk.cpp.
References AbsorbMagic(), AbsorbNormal(), AuraEffectAbsorbFn, EFFECT_1, EFFECT_2, and AuraScript::OnEffectAbsorb.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 583 of file spell_monk.cpp.
References SPELL_MONK_STAGGER_HEAVY, SPELL_MONK_STAGGER_LIGHT, SPELL_MONK_STAGGER_MODERATE, and SpellScriptBase::ValidateSpellInfo().