2.2.2 Release (#378)

This commit is contained in:
Snarling
2023-02-21 09:44:18 -05:00
committed by GitHub
parent bba6b26ac1
commit d3f9554a6e
28 changed files with 196 additions and 67 deletions
+2 -2
View File
@@ -41,7 +41,7 @@ export class GraftingWork extends Work {
}
this.cyclesWorked += cycles;
this.unitCompleted += CONSTANTS._idleSpeed * cycles * graftingIntBonus() * focusBonus;
this.unitCompleted += CONSTANTS.MilliPerCycle * cycles * graftingIntBonus() * focusBonus;
return this.unitCompleted >= this.unitNeeded();
}
@@ -78,7 +78,7 @@ export class GraftingWork extends Work {
// Intelligence gain
if (!cancelled) {
Player.gainIntelligenceExp(
(CONSTANTS.IntelligenceGraftBaseExpGain * this.cyclesWorked * CONSTANTS._idleSpeed) / 10000,
(CONSTANTS.IntelligenceGraftBaseExpGain * this.cyclesWorked * CONSTANTS.MilliPerCycle) / 10000,
);
}
}