RGs reset Dimboosts/Antimatter/Dimensions/Tickspeed/Sacrifice by default

Added a new Milestone that makes RGs no longer reset the above stuff, and reordered the Milestones.
This commit is contained in:
kajfik 2021-07-15 17:22:16 +02:00
parent ac989f5131
commit 086802c3e4
3 changed files with 13 additions and 10 deletions

View File

@ -211,13 +211,13 @@ const EternityMilestone = (function() {
autoEP: new EternityMilestoneState(db.autoEP), autoEP: new EternityMilestoneState(db.autoEP),
autoIC: new EternityMilestoneState(db.autoIC), autoIC: new EternityMilestoneState(db.autoIC),
autobuyMaxGalaxies: new EternityMilestoneState(db.autobuyMaxGalaxies), autobuyMaxGalaxies: new EternityMilestoneState(db.autobuyMaxGalaxies),
autobuyMaxDimboosts: new EternityMilestoneState(db.autobuyMaxDimboosts), unlockReplicanti: new EternityMilestoneState(db.unlockReplicanti),
autobuyerID: tier => infinityDims[tier - 1], autobuyerID: tier => infinityDims[tier - 1],
keepBreakUpgrades: new EternityMilestoneState(db.keepBreakUpgrades), keepBreakUpgrades: new EternityMilestoneState(db.keepBreakUpgrades),
autoUnlockID: new EternityMilestoneState(db.autoUnlockID), autoUnlockID: new EternityMilestoneState(db.autoUnlockID),
unlockAllND: new EternityMilestoneState(db.unlockAllND), unlockAllND: new EternityMilestoneState(db.unlockAllND),
replicantiNoReset: new EternityMilestoneState(db.replicantiNoReset),
autobuyerReplicantiChance: new EternityMilestoneState(db.autobuyerReplicantiChance), autobuyerReplicantiChance: new EternityMilestoneState(db.autobuyerReplicantiChance),
unlockReplicanti: new EternityMilestoneState(db.unlockReplicanti),
autobuyerReplicantiInterval: new EternityMilestoneState(db.autobuyerReplicantiInterval), autobuyerReplicantiInterval: new EternityMilestoneState(db.autobuyerReplicantiInterval),
autobuyerReplicantiMaxGalaxies: new EternityMilestoneState(db.autobuyerReplicantiMaxGalaxies), autobuyerReplicantiMaxGalaxies: new EternityMilestoneState(db.autobuyerReplicantiMaxGalaxies),
autobuyerEternity: new EternityMilestoneState(db.autobuyerEternity), autobuyerEternity: new EternityMilestoneState(db.autobuyerEternity),

View File

@ -15,13 +15,15 @@ function addReplicantiGalaxies(newGalaxies) {
if (newGalaxies > 0) { if (newGalaxies > 0) {
player.replicanti.galaxies += newGalaxies; player.replicanti.galaxies += newGalaxies;
player.achievementChecks.noReplicantiGalaxies = false; player.achievementChecks.noReplicantiGalaxies = false;
if (!EternityMilestone.replicantiNoReset.isReached) {
player.dimensionBoosts = 0;
softReset(0, true, true);
}
} }
} }
function replicantiGalaxy() { function replicantiGalaxy() {
if (!Replicanti.galaxies.canBuyMore) return; if (!Replicanti.galaxies.canBuyMore) return;
//player.dimensionBoosts = 0;
//softReset(0);
player.replicanti.timer = 0; player.replicanti.timer = 0;
let galaxyGain = 1; let galaxyGain = 1;
if (Achievement(126).isUnlocked) { if (Achievement(126).isUnlocked) {

View File

@ -43,9 +43,9 @@ GameDatabase.eternity.milestones = {
eternities: 9, eternities: 9,
reward: "Unlock the buy max Antimatter Galaxies Autobuyer mode" reward: "Unlock the buy max Antimatter Galaxies Autobuyer mode"
}, },
autobuyMaxDimboosts: { unlockReplicanti: {
eternities: 10, eternities: 10,
reward: "Unlock the buy max Dimension Boost Autobuyer mode" reward: "You start with Replicanti unlocked"
}, },
autobuyerID1: { autobuyerID1: {
eternities: 11, eternities: 11,
@ -87,13 +87,14 @@ GameDatabase.eternity.milestones = {
eternities: 30, eternities: 30,
reward: "Start with all Antimatter Dimensions available for purchase" reward: "Start with all Antimatter Dimensions available for purchase"
}, },
autobuyerReplicantiChance: { replicantiNoReset: {
eternities: 40, eternities: 40,
reward: "Unlock the Replicanti Chance Upgrade Autobuyer" reward: `Replicanti Galaxies no longer reset Antimatter, Antimatter Dimensions,
Tickspeed, Dimensional Sacrifice, or Dimension Boosts`
}, },
unlockReplicanti: { autobuyerReplicantiChance: {
eternities: 50, eternities: 50,
reward: "You start with Replicanti unlocked" reward: "Unlock the Replicanti Chance Upgrade Autobuyer"
}, },
autobuyerReplicantiInterval: { autobuyerReplicantiInterval: {
eternities: 60, eternities: 60,