![]() |
TrinityCore
|
Inheritance diagram for spell_dh_last_resort:Private Member Functions | |
| bool | Validate (SpellInfo const *spellInfo) override |
| void | HandleAbsorb (AuraEffect const *, DamageInfo const &, uint32 &absorbAmount) |
| void | Register () override |
Definition at line 1599 of file spell_dh.cpp.
|
inlineprivate |
Definition at line 1607 of file spell_dh.cpp.
References WorldObject::CastSpell(), Unit::CountPctFromMaxHealth(), EFFECT_1, AuraScript::GetEffectInfo(), AuraScript::GetTarget(), Unit::HasAura(), AuraScript::PreventDefaultAction(), Unit::SetHealth(), SPELL_DH_METAMORPHOSIS_VENGEANCE_TRANSFORM, SPELL_DH_UNCONTAINED_FEL, TRIGGERED_DONT_REPORT_CAST_ERROR, TRIGGERED_IGNORE_CAST_IN_PROGRESS, and TRIGGERED_IGNORE_SPELL_AND_CATEGORY_CD.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 1626 of file spell_dh.cpp.
References AuraEffectAbsorbOverkillFn, EFFECT_0, HandleAbsorb(), and AuraScript::OnEffectAbsorb.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 1601 of file spell_dh.cpp.
References EFFECT_1, SpellInfo::Id, SPELL_DH_METAMORPHOSIS_VENGEANCE_TRANSFORM, SPELL_DH_UNCONTAINED_FEL, SpellScriptBase::ValidateSpellEffect(), and SpellScriptBase::ValidateSpellInfo().