a
This commit is contained in:
parent
d163ceb291
commit
f6d7412744
94 changed files with 3836 additions and 1226 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue