Create quick fix

This commit is contained in:
Dan Simon 2021-08-15 10:54:03 -04:00
parent e265ded2b8
commit eedb0bfc42
2 changed files with 4 additions and 1 deletions

View File

@ -22,7 +22,7 @@ const MachineHandler = {
// Increase base RM gain if <10 RM
if (rmGain.gte(1) && rmGain.lt(10)) rmGain = new Decimal(27 / 4000 * log10FinalEP - 26);
rmGain = rmGain.times(this.realityMachineMultiplier);
return rmGain;
return rmGain.floor();
},
get gainedRealityMachines() {

View File

@ -1002,6 +1002,9 @@ GameStorage.devMigrations = {
},
GameStorage.migrations.deleteDimboostBulk,
GameStorage.migrations.removePriority,
player => {
player.reality.realityMachines = player.reality.realityMachines.floor();
}
],
patch(player) {