![]() |
TrinityCore
|
Inheritance diagram for spell_auto_repair::spell_auto_repair_SpellScript:Private Member Functions | |
| void | CheckCooldownForTarget (SpellMissInfo missInfo) |
| void | HandleScript (SpellEffIndex) |
| void | Register () override |
Definition at line 1524 of file boss_flame_leviathan.cpp.
|
inlineprivate |
Currently this doesn't work: if we call PreventHitAura(), the existing aura will be removed because of recent aura refreshing changes. Since removing the existing aura negates the idea of a cooldown marker, we just let the dummy aura refresh itself without executing the other spelleffects. The spelleffects can be executed by letting the dummy aura expire naturally. This is a temporary solution only.
Definition at line 1526 of file boss_flame_leviathan.cpp.
References EFFECT_0, EFFECT_1, EFFECT_2, SpellScript::GetHitUnit(), SpellScript::PreventHitDefaultEffect(), SpellScript::PreventHitEffect(), spell_auto_repair::SPELL_AUTO_REPAIR, and SPELL_MISS_NONE.
Referenced by Register().
|
inlineprivate |
Definition at line 1545 of file boss_flame_leviathan.cpp.
References DATA_UNBROKEN, EMOTE_REPAIR, Vehicle::GetBase(), SpellScript::GetHitUnit(), WorldObject::GetInstanceScript(), Vehicle::GetPassenger(), Unit::GetVehicleKit(), ZoneScript::SetData(), Unit::SetFullHealth(), and Unit::TextEmote().
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 1568 of file boss_flame_leviathan.cpp.
References SpellScript::BeforeHit, BeforeSpellHitFn, CheckCooldownForTarget(), EFFECT_0, HandleScript(), SpellScript::OnEffectHitTarget, SPELL_EFFECT_SCRIPT_EFFECT, and SpellEffectFn.