diff options
| author | Meji <alvaro.megias@outlook.com> | 2023-07-20 10:10:18 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-20 10:10:18 +0200 |
| commit | 889e88ab8033a78db837e0bb8619d8ce9d64967f (patch) | |
| tree | 4b3e48d62b72fd860cff29cb7b3a3f1bd8dcb0f8 /src/server/scripts/Spells | |
| parent | 8b426af763a9d51524538cebbf615595f94a99a4 (diff) | |
Core/Spells: Fixed target radius logic in spell effects for TargetB (#29158)
Diffstat (limited to 'src/server/scripts/Spells')
| -rw-r--r-- | src/server/scripts/Spells/spell_mage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Spells/spell_mage.cpp b/src/server/scripts/Spells/spell_mage.cpp index 54b5cc2393f..4aecdc4fef9 100644 --- a/src/server/scripts/Spells/spell_mage.cpp +++ b/src/server/scripts/Spells/spell_mage.cpp @@ -1406,7 +1406,7 @@ class spell_mage_ring_of_frost_freeze : public SpellScript void FilterTargets(std::list<WorldObject*>& targets) { WorldLocation const* dest = GetExplTargetDest(); - float outRadius = sSpellMgr->AssertSpellInfo(SPELL_MAGE_RING_OF_FROST_SUMMON, GetCastDifficulty())->GetEffect(EFFECT_0).CalcRadius(); + float outRadius = sSpellMgr->AssertSpellInfo(SPELL_MAGE_RING_OF_FROST_SUMMON, GetCastDifficulty())->GetEffect(EFFECT_0).CalcRadius(nullptr, SpellTargetIndex::TargetB); float inRadius = 6.5f; targets.remove_if([dest, outRadius, inRadius](WorldObject* target) |
