This commit is contained in:
33333-33333 2026-07-20 14:36:59 +09:00
commit f6d7412744
94 changed files with 3836 additions and 1226 deletions

View file

@ -97,6 +97,7 @@ class Tarinai { constructor(world, opts = {}) {
this.affection = opts.affection ?? rand(0, 30);
this.dead = !!opts.dead;
this.deathReason = opts.deathReason || "";
this.deathTime = opts.deathTime != null && Number.isFinite(Number(opts.deathTime)) ? Number(opts.deathTime) : null;
this.lastDamageCause = opts.lastDamageCause || "";
this.lastDamageAmount = opts.lastDamageAmount ?? 0;
this.lastDamageAt = opts.lastDamageAt ?? -999;