e
This commit is contained in:
parent
f657b6a4a4
commit
d163ceb291
76 changed files with 1385 additions and 524 deletions
|
|
@ -25,7 +25,8 @@
|
|||
|
||||
const minute = dt / 60;
|
||||
t.age += dt;
|
||||
t.reproductionTimer -= dt;
|
||||
// reproductionTimer is advanced in the outer creature pass so low-frequency
|
||||
// AI updates do not stretch the cooldown as population grows.
|
||||
t.eatTimer = Math.max(0, t.eatTimer - dt);
|
||||
if (t.state === "eat" && t.eatTimer <= 0.02) {
|
||||
t.setActionState?.("idle", { target: null, reason: "\u98df\u3079\u7d42\u3048\u305f", sleeping: false, clearTarget: true });
|
||||
|
|
@ -85,7 +86,6 @@
|
|||
if (!t.dead) t._achievementLaxativeActiveThisFrame = false;
|
||||
return { done: true };
|
||||
}
|
||||
global.TarinaiCursorCareSystem.updateOne(t, dt);
|
||||
const wasFighting = t.fightTimer > 0.04;
|
||||
const endingFightTargetIds = wasFighting ? [...new Set([t.fightTargetId, ...(Array.isArray(t.fightTargetIds) ? t.fightTargetIds : [])].filter(Boolean))] : [];
|
||||
t.fightTimer = Math.max(0, t.fightTimer - dt);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue