fix(Core/GameObject): use the full spell focus radius (#27075)

Co-authored-by: Killyana <[email protected]>
This commit is contained in:
Andrew
2026-08-11 19:35:04 -03:00
committed by GitHub
co-authored by Killyana
parent 68d065f603
commit 9204c46ca9
2 changed files with 12 additions and 1 deletions
@@ -0,0 +1,11 @@
--
-- Spell focus radius is no longer halved by the core, so the inflated values that compensated for
-- that go back to their sniffed radius.
UPDATE `gameobject_template` SET `Data1` = 50 WHERE `entry` = 20919; -- Tuber Node
UPDATE `gameobject_template` SET `Data1` = 50 WHERE `entry` = 184643; -- Void Conduit Spell Focus
UPDATE `gameobject_template` SET `Data1` = 50 WHERE `entry` = 184750; -- Unguarded Summoning Site
UPDATE `gameobject_template` SET `Data1` = 5 WHERE `entry` = 185144; -- Bleeding Hollow Forge Spell Focus
UPDATE `gameobject_template` SET `Data1` = 50 WHERE `entry` = 190033; -- Alystros the Verdant Keeper Spell Focus
UPDATE `gameobject_template` SET `Data1` = 5 WHERE `entry` = 190224; -- Scourge Mummy Fire
UPDATE `gameobject_template` SET `Data1` = 10 WHERE `entry` = 190731; -- Scourgewagon
UPDATE `gameobject_template` SET `Data1` = 5 WHERE `entry` = 192011; -- Thane Ufrang the Mighty's Spell Focus
@@ -691,7 +691,7 @@ namespace Acore
if (go->GetGOInfo()->spellFocus.focusId != i_focusId)
return false;
float dist = (float)((go->GetGOInfo()->spellFocus.dist) / 2);
float const dist = go->GetGOInfo()->spellFocus.dist;
return go->IsWithinDistInMap(i_unit, dist);
}