Verification: Directed attack arrows from killers[] in combat_death events (bf-3jyd)

Verified that the feature implemented in commits 8e0aa5e (engine) and 323c1e8 (viewer) is complete and working:

Engine (engine/turn.go):
- executeCombat emits EventCombatDeath with killers[] array
- Each killer entry includes bot_id, owner, and position

Viewer (web/src/replay-viewer.ts):
- drawCombatEffects() handles combat_death events with killers[]
- Draws solid colored arrows from each killer to the victim
- Includes red explosion flash and X marker for death
- Maintains backward compatibility with old replays (proximity-inference fallback)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
jedarden 2026-05-22 15:00:08 -04:00
parent 1c8f0aea72
commit b3f6dcba49

View file

@ -1 +1 @@
cdb17ca8ca503ba0d58c8d17cb9a93447e4813b7
dcae389972e03e804130e8b7db544e19a2fcc902