![]() |
TrinityCore
|
Inheritance diagram for spell_gen_no_npc_damage_below_override:Static Public Member Functions | |
| static void | CalculateAmount (AuraScript const &, AuraEffect const *, SpellEffectValue &amount, bool &) |
Static Public Member Functions inherited from SpellScriptBase | |
| static bool | ValidateSpellInfo (std::initializer_list< uint32 > spellIds) |
| template<class T > | |
| static bool | ValidateSpellInfo (T const &spellIds) |
| static bool | ValidateSpellEffect (std::initializer_list< std::pair< uint32, SpellEffIndex > > effects) |
| template<class T > | |
| static bool | ValidateSpellEffect (T const &spellEffects) |
Private Attributes | |
| float | _healthPct |
Definition at line 5682 of file spell_generic.cpp.
|
inline |
Definition at line 5685 of file spell_generic.cpp.
|
inlinestatic |
Definition at line 5687 of file spell_generic.cpp.
Referenced by Register().
|
inline |
Definition at line 5692 of file spell_generic.cpp.
References _healthPct, DamageInfo::GetAttacker(), DamageInfo::GetDamage(), AuraScript::GetTarget(), BaseEntity::IsCreature(), and AuraScript::PreventDefaultAction().
Referenced by Register().
|
inlineoverridevirtual |
Implements SpellScriptBase.
Definition at line 5706 of file spell_generic.cpp.
References AuraEffectAbsorbFn, AuraEffectCalcAmountFn, CalculateAmount(), AuraScript::DoEffectCalcAmount, EFFECT_0, HandleAbsorb(), AuraScript::OnEffectAbsorb, and SPELL_AURA_SCHOOL_ABSORB.
|
private |
Definition at line 5713 of file spell_generic.cpp.
Referenced by HandleAbsorb().