void spell_auto_repair::spell_auto_repair_SpellScript::CheckCooldownForTarget |
( |
| ) |
|
|
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.
void PreventHitDefaultEffect(SpellEffIndex effIndex)
Definition: SpellScript.cpp:583
Definition: SharedDefines.h:29
Definition: SharedDefines.h:28
void PreventHitEffect(SpellEffIndex effIndex)
Definition: SpellScript.cpp:572
Unit * GetHitUnit()
Definition: SpellScript.cpp:441
Definition: SharedDefines.h:30
Definition: boss_flame_leviathan.cpp:1509
void spell_auto_repair::spell_auto_repair_SpellScript::HandleScript |
( |
SpellEffIndex |
| ) |
|
|
inlineprivate |
virtual void TextEmote(std::string const &text, WorldObject const *target=nullptr, bool isBossEmote=false)
Definition: Unit.cpp:16403
InstanceScript * GetInstanceScript()
Definition: Object.cpp:1540
Unit * GetPassenger(int8 seatId) const
Gets a passenger on specified seat.
Definition: Vehicle.cpp:287
virtual void SetData(uint32, uint32)
Definition: ZoneScript.h:52
Definition: boss_flame_leviathan.cpp:166
Definition: InstanceScript.h:141
Unit * GetHitUnit()
Definition: SpellScript.cpp:441
void SetFullHealth()
Definition: Unit.h:1440
Unit * GetBase() const
May be called from scripts.
Definition: Vehicle.h:49
Vehicle * GetVehicleKit() const
Definition: Unit.h:2165
void spell_auto_repair::spell_auto_repair_SpellScript::Register |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition: SharedDefines.h:28
void HandleScript(SpellEffIndex)
Definition: boss_flame_leviathan.cpp:1535
#define SpellHitFn(F)
Definition: SpellScript.h:306
#define SpellEffectFn(F, I, N)
Definition: SpellScript.h:297
HookList< HitHandler > BeforeHit
Definition: SpellScript.h:300
HookList< EffectHandler > OnEffectHitTarget
Definition: SpellScript.h:295
Definition: SharedDefines.h:1087
void CheckCooldownForTarget()
Definition: boss_flame_leviathan.cpp:1519
The documentation for this class was generated from the following file: