aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2025-04-15 15:34:58 +0200
committerOvahlord <dreadkiller@gmx.de>2025-04-16 17:15:02 +0200
commit3c1fa0ab4c6d8ad8d5d11c4384a94f3e07881cd9 (patch)
tree768c43cd929df1158e61afb778451bbf345961fe /src
parent17e361f9a2036ab7b65e8a401d5969e824e90d10 (diff)
Core/Spells: Make Spell::GetMinMaxRange public
(cherry picked from commit c6150b4d5d47454460623253627aede783bc8a6a)
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Spells/Spell.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Spells/Spell.h b/src/server/game/Spells/Spell.h
index c8506d0c405..a805d3db80d 100644
--- a/src/server/game/Spells/Spell.h
+++ b/src/server/game/Spells/Spell.h
@@ -684,14 +684,14 @@ class TC_GAME_API Spell
static bool CanIncreaseRangeByMovement(Unit const* unit);
+ std::pair<float, float> GetMinMaxRange(bool strict) const;
+
protected:
bool HasGlobalCooldown() const;
void TriggerGlobalCooldown();
void CancelGlobalCooldown();
void _cast(bool skipCheck = false);
- std::pair<float, float> GetMinMaxRange(bool strict) const;
-
WorldObject* const m_caster;
SpellValue* const m_spellValue;