diff options
| author | Shauren <shauren.trinity@gmail.com> | 2025-04-15 15:34:58 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2025-04-15 15:34:58 +0200 |
| commit | c6150b4d5d47454460623253627aede783bc8a6a (patch) | |
| tree | d6638f0869ab0cebcee81ed5ab7fa3ea45691b7d /src | |
| parent | 83c088d4f3e9187e8805e95817f6beb757a1a545 (diff) | |
Core/Spells: Make Spell::GetMinMaxRange public
Diffstat (limited to 'src')
| -rw-r--r-- | src/server/game/Spells/Spell.h | 4 |
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; |
