Change cel6 dimension disabling from multiplier to production

This commit is contained in:
SpectralFlame 2022-07-28 17:30:11 -05:00 committed by cyip92
parent 80609b2f39
commit af8ea551cb
3 changed files with 9 additions and 11 deletions

View File

@ -54,7 +54,6 @@ export function antimatterDimensionCommonMultiplier() {
export function getDimensionFinalMultiplierUncached(tier) {
if (tier < 1 || tier > 8) throw new Error(`Invalid Antimatter Dimension tier ${tier}`);
if (Laitela.isRunning && tier > Laitela.maxAllowedDimension) return DC.D0;
if (NormalChallenge(10).isRunning && tier > 6) return DC.D1;
if (EternityChallenge(11).isRunning) {
return Currency.infinityPower.value.pow(
@ -564,6 +563,7 @@ class AntimatterDimensionState extends DimensionState {
get productionPerSecond() {
const tier = this.tier;
if (Laitela.isRunning && tier > Laitela.maxAllowedDimension) return DC.D0;
let amount = this.totalAmount;
if (NormalChallenge(12).isRunning) {
if (tier === 2) amount = amount.pow(1.6);

View File

@ -125,6 +125,10 @@ class InfinityDimensionState extends DimensionState {
}
get productionPerSecond() {
if (EternityChallenge(2).isRunning || EternityChallenge(10).isRunning ||
(Laitela.isRunning && this.tier > Laitela.maxAllowedDimension)) {
return DC.D0;
}
let production = this.amount;
if (EternityChallenge(11).isRunning) {
return production;
@ -137,11 +141,6 @@ class InfinityDimensionState extends DimensionState {
get multiplier() {
const tier = this.tier;
if (EternityChallenge(2).isRunning || EternityChallenge(10).isRunning ||
(Laitela.isRunning && this.tier > Laitela.maxAllowedDimension)) {
return DC.D0;
}
if (EternityChallenge(11).isRunning) return DC.D1;
let mult = GameCache.infinityDimensionCommonMultiplier.value
.timesEffectsOf(

View File

@ -182,11 +182,6 @@ class TimeDimensionState extends DimensionState {
get multiplier() {
const tier = this._tier;
if (EternityChallenge(1).isRunning || EternityChallenge(10).isRunning ||
(Laitela.isRunning && tier > Laitela.maxAllowedDimension)) {
return DC.D0;
}
if (EternityChallenge(11).isRunning) return DC.D1;
let mult = GameCache.timeDimensionCommonMultiplier.value
.timesEffectsOf(
@ -221,6 +216,10 @@ class TimeDimensionState extends DimensionState {
}
get productionPerSecond() {
if (EternityChallenge(1).isRunning || EternityChallenge(10).isRunning ||
(Laitela.isRunning && this.tier > Laitela.maxAllowedDimension)) {
return DC.D0;
}
if (EternityChallenge(11).isRunning) {
return this.amount;
}