mirror of
https://github.com/IvarK/AntimatterDimensionsSourceCode.git
synced 2024-11-12 23:23:20 +00:00
Fix some issues found for mid-February patch
This commit is contained in:
parent
19b6d1e0d6
commit
316e43aa58
@ -183,6 +183,7 @@ export default {
|
||||
You have {{ quantifyInt("useless paperclip", paperclips) }}.
|
||||
</div>
|
||||
<div v-if="fullGameCompletions">
|
||||
<br>
|
||||
<b>
|
||||
You have completed the entire game {{ quantifyInt("time", fullGameCompletions) }}.
|
||||
<br>
|
||||
|
@ -100,8 +100,8 @@ export default {
|
||||
this.ppGained = multiplier;
|
||||
this.shardsGained = Effarig.shardsGained * multiplier;
|
||||
this.currentShardsRate = (this.shardsGained / Time.thisRealityRealTime.totalMinutes);
|
||||
this.bestShardRate = player.records.thisReality.bestRSmin;
|
||||
this.bestShardRateVal = player.records.thisReality.bestRSminVal;
|
||||
this.bestShardRate = player.records.thisReality.bestRSmin * multiplier;
|
||||
this.bestShardRateVal = player.records.thisReality.bestRSminVal * multiplier;
|
||||
|
||||
const teresaReward = this.formatScalingMultiplierText(
|
||||
"Glyph Sacrifice",
|
||||
|
@ -77,7 +77,10 @@ Autobuyer.reality = new class RealityAutobuyerState extends AutobuyerState {
|
||||
|
||||
tick() {
|
||||
let proc = false;
|
||||
const rmProc = MachineHandler.gainedRealityMachines.gte(this.rm);
|
||||
// The game generally displays amplified values, so we want to adjust the thresholds to
|
||||
// account for that and make the automation trigger based on the actual displayed values
|
||||
const ampFactor = simulatedRealityCount(false) + 1;
|
||||
const rmProc = MachineHandler.gainedRealityMachines.times(ampFactor).gte(this.rm);
|
||||
const glyphProc = gainedGlyphLevel().actualLevel >= Math.min(this.glyph, Glyphs.levelCap);
|
||||
switch (this.mode) {
|
||||
case AUTO_REALITY_MODE.RM:
|
||||
@ -96,7 +99,7 @@ Autobuyer.reality = new class RealityAutobuyerState extends AutobuyerState {
|
||||
proc = player.records.thisReality.realTime / 1000 > this.time;
|
||||
break;
|
||||
case AUTO_REALITY_MODE.RELIC_SHARD:
|
||||
proc = Effarig.shardsGained > this.shard;
|
||||
proc = Effarig.shardsGained * ampFactor > this.shard;
|
||||
break;
|
||||
}
|
||||
if (proc) autoReality();
|
||||
|
@ -34,8 +34,12 @@ class TimeDimensionAutobuyerState extends IntervaledAutobuyerState {
|
||||
}
|
||||
|
||||
tick() {
|
||||
// We specifically call these two things before actually running the TD autobuyer code because that behavior
|
||||
// is desirable to gameplay, but simply reordering the autobuyers overall has undesired side-effects. There
|
||||
// are checks internal to these calls which ensure that they don't trigger even when still locked
|
||||
applyEU2();
|
||||
Autobuyer.epMult.tick();
|
||||
|
||||
const tier = this.tier;
|
||||
if (!TimeDimension(tier).isAvailableForPurchase) return;
|
||||
super.tick();
|
||||
|
@ -271,7 +271,7 @@ function updateRealityRecords(realityProps) {
|
||||
function giveRealityRewards(realityProps) {
|
||||
const multiplier = realityProps.simulatedRealities + 1;
|
||||
const realityAndPPMultiplier = multiplier + binomialDistribution(multiplier, Achievement(154).effectOrDefault(0));
|
||||
const gainedRM = realityProps.gainedRM;
|
||||
const gainedRM = Currency.realityMachines.gte(MachineHandler.hardcapRM) ? DC.D0 : realityProps.gainedRM;
|
||||
Currency.realityMachines.add(gainedRM.times(multiplier));
|
||||
updateRealityRecords(realityProps);
|
||||
addRealityTime(
|
||||
@ -679,6 +679,8 @@ export function finishProcessReality(realityProps) {
|
||||
player.records.thisEternity.bestIPMsWithoutMaxAll = DC.D0;
|
||||
player.records.bestEternity.bestEPminReality = DC.D0;
|
||||
player.records.thisReality.bestEternitiesPerMs = DC.D0;
|
||||
player.records.thisReality.bestRSmin = 0;
|
||||
player.records.thisReality.bestRSminVal = 0;
|
||||
resetTimeDimensions();
|
||||
resetTickspeed();
|
||||
AchievementTimers.marathon2.reset();
|
||||
|
@ -638,7 +638,7 @@ GameDatabase.celestials.navigation = {
|
||||
`Reach Glyph rarity ${formatPercents(complete * goal / 100, 1)}/${formatPercents(goal / 100, 1)}`
|
||||
];
|
||||
},
|
||||
angle: 135,
|
||||
angle: 45,
|
||||
diagonal: 32,
|
||||
horizontal: 32,
|
||||
},
|
||||
|
@ -8,7 +8,7 @@ GameDatabase.shopPurchases = {
|
||||
cost: 30,
|
||||
description: "Double all your Antimatter Dimension multipliers. Forever.",
|
||||
multiplier: purchases => Math.pow(2, purchases),
|
||||
formatEffect: x => `×${Notation.scientific.formatDecimal(new Decimal(x))}`,
|
||||
formatEffect: x => `×${x > 1000 ? Notation.scientific.formatDecimal(new Decimal(x), 2) : x.toFixed(0)}`,
|
||||
},
|
||||
allDimPurchases: {
|
||||
key: "allDimPurchases",
|
||||
|
@ -1,6 +1,7 @@
|
||||
import { ElectronRuntime, SteamRuntime } from "@/steam";
|
||||
import TWEEN from "tween.js";
|
||||
|
||||
import { ElectronRuntime, SteamRuntime } from "@/steam";
|
||||
|
||||
import { DC } from "./core/constants";
|
||||
import { deepmergeAll } from "@/utility/deepmerge";
|
||||
import { DEV } from "@/env";
|
||||
@ -258,7 +259,8 @@ export function addRealityTime(time, realTime, rm, level, realities) {
|
||||
}
|
||||
const shards = Effarig.shardsGained;
|
||||
player.records.recentRealities.pop();
|
||||
player.records.recentRealities.unshift([time, realTime, rm, realities, reality, level, shards]);
|
||||
player.records.recentRealities.unshift([time, realTime, rm.times(realities), realities,
|
||||
reality, level, shards * realities]);
|
||||
}
|
||||
|
||||
export function gainedInfinities() {
|
||||
|
Loading…
Reference in New Issue
Block a user