Center projectile AoE on collided player for consistent multi-target hits

- Use collided player coordinates as AoE explosion center instead of current projectile position

- Avoid near-miss drift caused by projectile step size and collision threshold
This commit is contained in:
dingo
2026-02-11 08:33:04 -05:00
parent 87eefa04b8
commit 8d6fe596ac
+3 -1
View File
@@ -918,7 +918,9 @@ public partial class DungeonSimulation
if (projectile.AoeRadius > 0)
{
// AOE explosion
ProcessAoeAbilityAtLocation(projectile, projectile.X, projectile.Y);
// Center AoE on the collided player to avoid near-miss drift from
// projectile step size / collision threshold.
ProcessAoeAbilityAtLocation(projectile, player.X, player.Y);
}
else
{