From 889e88ab8033a78db837e0bb8619d8ce9d64967f Mon Sep 17 00:00:00 2001 From: Meji Date: Thu, 20 Jul 2023 10:10:18 +0200 Subject: Core/Spells: Fixed target radius logic in spell effects for TargetB (#29158) --- src/server/scripts/Spells/spell_mage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/scripts/Spells') 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& 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) -- cgit v1.2.3