This commit is contained in:
33333-33333 2026-07-09 16:08:11 +09:00
commit f1c3af2b89
49 changed files with 989 additions and 310 deletions

View file

@ -516,8 +516,9 @@
if (!Number.isFinite(Number(drop.vx))) drop.vx = vx;
if (!Number.isFinite(Number(drop.vy))) drop.vy = vy;
if (!Number.isFinite(Number(drop.splashFlightTimer))) drop.splashFlightTimer = flight;
if (worldRef.addItem?.(drop, "water-balloon-splash", { terrain: false })) spawned += 1;
else { worldRef.items?.push?.(drop); spawned += 1; }
const addedDrop = worldRef.addItem?.(drop, "water-balloon-splash", { terrain: false }) || null;
if (!addedDrop) continue;
spawned += 1;
if (i < 8) {
worldRef.effects?.push(new Effect("fight", drop.x, drop.y, {
size: deterministicRange(worldRef || balloon, "water-balloon-drop-spark-size", 3.5, 7.0, balloon, i),