diff options
author | Shauren <shauren.trinity@gmail.com> | 2024-07-03 16:18:06 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2024-07-03 16:18:06 +0200 |
commit | f19e1a271618a35515512ce2a64330f21133616c (patch) | |
tree | 0490d682a4d48eb443d68c27692011cd08ee2e09 /src/server/game/Spells/Spell.h | |
parent | 321f3cc4a7a59874c73ab82d57c2f1c76a820396 (diff) |
Core/Spells: Remove spell range increase when caster or target move backwards
Diffstat (limited to 'src/server/game/Spells/Spell.h')
-rw-r--r-- | src/server/game/Spells/Spell.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/game/Spells/Spell.h b/src/server/game/Spells/Spell.h index 258c5f5693b..4364bcbdbf4 100644 --- a/src/server/game/Spells/Spell.h +++ b/src/server/game/Spells/Spell.h @@ -695,6 +695,8 @@ class TC_GAME_API Spell bool IsWithinLOS(WorldObject const* source, Position const& target, VMAP::ModelIgnoreFlags ignoreFlags) const; void MovePosition(Position& pos, WorldObject const* from, float dist, float angle) const; + static bool CanIncreaseRangeByMovement(Unit const* unit); + protected: bool HasGlobalCooldown() const; void TriggerGlobalCooldown(); |