![]() |
TrinityCore
|
Inheritance diagram for spell_warr_kill_or_be_killed:Private Member Functions | |
| bool | Validate (SpellInfo const *) override |
| void | HandleAbsorb (AuraEffect const *, DamageInfo const &dmgInfo, uint32 &absorbAmount) const |
| void | Register () override |
Definition at line 1434 of file spell_warrior.cpp.
|
inlineprivate |
Definition at line 1441 of file spell_warrior.cpp.
References WorldObject::CastSpell(), DamageInfo::GetAttacker(), AuraScript::GetTarget(), Unit::HasAura(), SPELL_FAILED_SUCCESS, SPELL_WARRIOR_KILL_OR_BE_KILLED_COOLDOWN, SPELL_WARRIOR_KILL_OR_BE_KILLED_PROC, SPELL_WARRIOR_KILL_OR_BE_KILLED_TARGET, TRIGGERED_DONT_REPORT_CAST_ERROR, TRIGGERED_IGNORE_CAST_IN_PROGRESS, and CastSpellExtraArgsInit::TriggerFlags.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 1470 of file spell_warrior.cpp.
References AuraEffectAbsorbOverkillFn, EFFECT_0, HandleAbsorb(), and AuraScript::OnEffectAbsorb.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 1436 of file spell_warrior.cpp.
References SPELL_WARRIOR_KILL_OR_BE_KILLED_COOLDOWN, SPELL_WARRIOR_KILL_OR_BE_KILLED_PROC, SPELL_WARRIOR_KILL_OR_BE_KILLED_TARGET, and SpellScriptBase::ValidateSpellInfo().