duu
This commit is contained in:
parent
88f618cadf
commit
8f9f5b5100
108 changed files with 2139 additions and 1500 deletions
|
|
@ -70,7 +70,6 @@
|
|||
if (!(id in this.itemEffectTimers)) this.itemEffectTimers[id] = 0;
|
||||
this.itemEffectTimers[id] = Math.max(this.itemEffectTimers[id] || 0, Number(seconds) || 0);
|
||||
if (id === "laxative") this.laxativePoopTimer = Math.min(Math.max(this.laxativePoopTimer || 3, 0.2), 3);
|
||||
this.world?.emit?.("effect:applied", { tarinai: this, effectId: id, duration: this.itemEffectTimers[id] || 0 });
|
||||
recordItemChange(this, id, "\u6642\u9593\u52b9\u679c");
|
||||
return true;
|
||||
},
|
||||
|
|
@ -113,7 +112,6 @@
|
|||
this.powerEffectKind = mode;
|
||||
this.powerEffectPulse = Math.max(this.powerEffectPulse || 0, 3.2);
|
||||
this.spawnPowerItemEffect(mode, 1.5);
|
||||
this.world?.emit?.("effect:applied", { tarinai: this, effectId: mode, permanent: true });
|
||||
recordItemChange(this, mode, "\u80fd\u529b\u5909\u5316");
|
||||
return true;
|
||||
},
|
||||
|
|
@ -127,7 +125,6 @@
|
|||
this.powerEffectKind = mode;
|
||||
this.powerEffectPulse = Math.max(this.powerEffectPulse || 0, 4.0);
|
||||
this.spawnPowerItemEffect(mode, mode === "giant_drug" ? 1.9 : 1.2);
|
||||
this.world?.emit?.("effect:applied", { tarinai: this, effectId: mode, permanent: true });
|
||||
recordItemChange(this, mode, "\u4f53\u683c\u5909\u5316");
|
||||
return true;
|
||||
},
|
||||
|
|
@ -144,7 +141,6 @@
|
|||
this.powerEffectKind = "mercury";
|
||||
this.powerEffectPulse = Math.max(this.powerEffectPulse || 0, 2.7);
|
||||
this.spawnPowerItemEffect("mercury", 0.95);
|
||||
this.world?.emit?.("effect:applied", { tarinai: this, effectId: "mercury", permanent: true, multiplier: this.mercuryLifeMultiplier });
|
||||
recordItemChange(this, "mercury", "\u5bff\u547d\u5909\u5316");
|
||||
return true;
|
||||
},
|
||||
|
|
@ -169,7 +165,6 @@
|
|||
this.powerEffectPulse = Math.max(this.powerEffectPulse || 0, 2.2);
|
||||
this.refreshEffectiveSize();
|
||||
this.spawnPowerItemEffect("zunda_juice", 1.4);
|
||||
this.world?.emit?.("effect:removed", { tarinai: this, effectId: "all_removable", source: "zunda_juice" });
|
||||
recordItemChange(this, "zunda_juice", "\u52b9\u679c\u89e3\u9664");
|
||||
return true;
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue