Core/Spells: SPELL_ATTR0_CU_CONE_LINE is no longer taking a target's combatreach into account to avoid being falsely hit when not even inside of the cone

This commit is contained in:
Ovahlord
2022-01-14 21:37:08 +01:00
parent 86d8443732
commit 319ef144b4

View File

@@ -8531,7 +8531,7 @@ bool WorldObjectSpellConeTargetCheck::operator()(WorldObject* target)
}
else if (_spellInfo->HasAttribute(SPELL_ATTR0_CU_CONE_LINE))
{
if (!_coneSrc.HasInLine(target, _caster->GetCombatReach() + target->GetCombatReach()))
if (!_coneSrc.HasInLine(target, _caster->GetCombatReach()))
return false;
}
else