mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-02 10:53:44 +00:00
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>