p
This commit is contained in:
parent
d14550dad6
commit
63e10af865
86 changed files with 5400 additions and 1209 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue