This commit is contained in:
33333-33333 2026-07-15 14:44:29 +09:00
commit 63e10af865
86 changed files with 5400 additions and 1209 deletions

View file

@ -364,6 +364,7 @@
const push = clamp(speed * 1.7, 180, 620);
ant.vx = (ant.vx || 0) + px * push;
ant.vy = (ant.vy || 0) + py * push;
globalThis.TarinaiAchievements?.recordAntDamageSource?.(ant, this, { world: this.world, reason: "tarinai_ammo_collision" });
ant.hp = Math.max(0, (ant.hp ?? ant.maxHp ?? 32) - 4);
ant.hpBarTimer = Math.max(ant.hpBarTimer || 0, 1.2);
this.world.spawnFallEffect?.(ant.x, ant.y, 0.65);