![]() |
TrinityCore
|
Inheritance diagram for spell_warr_kill_or_be_killed_warrior:Private Member Functions | |
| bool | Validate (SpellInfo const *) override |
| void | OnRemove (AuraEffect const *aurEff, AuraEffectHandleModes) const |
| void | Register () override |
Definition at line 1495 of file spell_warrior.cpp.
|
inlineprivate |
Definition at line 1502 of file spell_warrior.cpp.
References AURA_REMOVE_BY_DEFAULT, AURA_REMOVE_BY_EXPIRE, WorldObject::CastSpell(), Unit::CountPctFromMaxHealth(), AuraEffect::GetAmount(), AuraScript::GetTarget(), AuraScript::GetTargetApplication(), Unit::HealthBelowPct(), Unit::SetHealth(), SPELL_WARRIOR_KILL_OR_BE_KILLED_FULFILLED, SPELL_WARRIOR_KILL_OR_BE_KILLED_INSTAKILL, TRIGGERED_DONT_REPORT_CAST_ERROR, TRIGGERED_IGNORE_CAST_IN_PROGRESS, and CastSpellExtraArgsInit::TriggerFlags.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 1525 of file spell_warrior.cpp.
References AuraScript::AfterEffectRemove, AURA_EFFECT_HANDLE_REAL, AuraEffectRemoveFn, EFFECT_4, OnRemove(), and SPELL_AURA_DUMMY.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 1497 of file spell_warrior.cpp.
References SPELL_WARRIOR_KILL_OR_BE_KILLED_FULFILLED, SPELL_WARRIOR_KILL_OR_BE_KILLED_INSTAKILL, and SpellScriptBase::ValidateSpellInfo().