File tree 2 files changed +8
-3
lines changed
2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 1
- export const version = '3.0.0 pt 5.2: June 27, 2024: Fall of the Octeracts'
1
+ export const version = '3.0.0 pt 5.2: June 27, 2024: Fall of the Octeracts 2 '
2
2
3
3
/**
4
4
* PSEUDO DO NOT CHANGE THIS LINE
Original file line number Diff line number Diff line change @@ -166,8 +166,13 @@ export class OcteractUpgrade extends DynamicUpgrade {
166
166
return 0
167
167
}
168
168
const actualFreeLevels = this . computeFreeLevelSoftcap ( )
169
- const decayLevel = Math . min ( actualFreeLevels + this . level , 2 * Math . sqrt ( actualFreeLevels * this . level ) )
170
- return decayLevel // There is currently no 'improvement' to oct free upgrades.
169
+
170
+ if ( this . level >= actualFreeLevels ) {
171
+ return actualFreeLevels + this . level
172
+ }
173
+ else {
174
+ return 2 * Math . sqrt ( actualFreeLevels * this . level )
175
+ }
171
176
}
172
177
173
178
public getEffect ( ) : { bonus : number | boolean ; desc : string } {
You can’t perform that action at this time.
0 commit comments