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

@ -42,6 +42,7 @@
const STICKY_BOMB_PANIC_TEXT = "粘着ボムが付いてパニックになっている。";
const STICKY_BOMB_FUSE_SECONDS = 12.0;
const STICKY_BOMB_BLAST_SCALE = 0.68; // identical to TOOL_SIZE_SCALES.small
function tarinaiById(worldRef, id = "") {
return (worldRef?.tarinai || []).find(t => t && !t.dead && t.id === id) || null;
@ -96,7 +97,7 @@
if (!item || item.dead) return false;
item.stickyBombCarrierId = "";
item.stickyBombTransferCooldown = 0;
item.blastScale = Number(item.blastScale || 1) || 1;
item.blastScale = STICKY_BOMB_BLAST_SCALE;
if (worldRef?.explodeFirecracker) {
return Boolean(worldRef.explodeFirecracker(item));
}