Files
DarkflameServer/dGame
Aaron Kimbrell 45f9ffdf34 fix(combat): area attacks handle each target once, in the client's order (issues 917, 1189)
The client's AreaOfEffectBehavior::Cast (0x004ec590) writes every target id, then runs and writes the action once
per unique target in ascending id order. The server ran it for every listed target in list order, so a target
listed twice (the caster with a magnet, Everlasting items' refill) was handled twice, and later targets' data was
read against the wrong target. Handle and the server's own Calculate now go through the unique ids in ascending
order. Check: Thumpin' Bass / Flowin' MC refill once; Shinobi charge with a magnet gives imagination once; area
attacks on several enemies still hit each of them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 09:39:17 -05:00
..
2026-09-28 22:30:50 -05:00