mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-06 08:59:11 +01:00
Core/Creatures: implement a helper to reset spell focus reacquisition
This commit is contained in:
@@ -347,6 +347,7 @@ class TC_GAME_API Creature : public Unit, public GridObject<Creature>, public Ma
|
||||
void SetSpellFocus(Spell const* focusSpell, WorldObject const* target);
|
||||
bool HasSpellFocus(Spell const* focusSpell = nullptr) const override;
|
||||
void ReleaseSpellFocus(Spell const* focusSpell = nullptr, bool withDelay = true);
|
||||
void ResetSpellFocusReacquisition() { _spellFocusInfo.delay = 0; }
|
||||
|
||||
bool IsMovementPreventedByCasting() const override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user