aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2025-04-15 15:34:58 +0200
committerShauren <shauren.trinity@gmail.com>2025-04-15 15:34:58 +0200
commitc6150b4d5d47454460623253627aede783bc8a6a (patch)
treed6638f0869ab0cebcee81ed5ab7fa3ea45691b7d /src
parent83c088d4f3e9187e8805e95817f6beb757a1a545 (diff)
Core/Spells: Make Spell::GetMinMaxRange public
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 4a9fc2a186b..2c4f996d360 100644
--- a/src/server/game/Spells/Spell.h
+++ b/src/server/game/Spells/Spell.h
@@ -702,14 +702,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;