[fix] 爆弾被弾検知時にローカルで即スタンを適用するよう修正
bomb-hit-report を送信してから player-hit が返ってくるまでの
ラグの間も動き続けていた問題を修正.
実クライアントと同様に,爆発範囲内を検知した時点で即 applyHitStun を適用する.
hitCount の管理は player-hit(サーバー通知)側で行い二重カウントを防ぐ

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 3270f0d commit 7160c406c67013fd426c65321b0e5d12ac0728b1
@rinto hasegawa rinto hasegawa authored 25 days ago
Showing 1 changed file
View
test/load-bot.ts