mirror of
https://github.com/IvarK/AntimatterDimensionsSourceCode.git
synced 2024-11-10 06:02:13 +00:00
Fix replicanti multiplier subtab
Change power/multiplier toggle button text
This commit is contained in:
parent
568a7a126e
commit
a69a31f9ea
@ -84,13 +84,6 @@ export default {
|
||||
hasSeenPowers() {
|
||||
return InfinityChallenge(4).isCompleted || PlayerProgress.eternityUnlocked();
|
||||
},
|
||||
powerToggleClassObject() {
|
||||
return {
|
||||
"o-primary-btn c-change-display-btn fas": true,
|
||||
"fa-xmark": this.replacePowers,
|
||||
"fa-superscript": !this.replacePowers,
|
||||
};
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
replacePowers(newValue) {
|
||||
@ -375,9 +368,9 @@ export default {
|
||||
v-if="hasSeenPowers"
|
||||
v-model="replacePowers"
|
||||
v-tooltip="'Change Display for Power effects'"
|
||||
off=""
|
||||
on=""
|
||||
:class="powerToggleClassObject"
|
||||
off="^N"
|
||||
on="×N"
|
||||
class="o-primary-btn c-change-display-btn"
|
||||
/>
|
||||
<i
|
||||
v-if="groups.length > 1"
|
||||
|
@ -142,7 +142,7 @@ export function totalReplicantiSpeedMult(overCap) {
|
||||
totalMult = totalMult.times(
|
||||
Math.clampMin(Decimal.log10(Replicanti.amount) * getSecondaryGlyphEffect("replicationdtgain"), 1));
|
||||
}
|
||||
totalMult = totalMult.timesEffectOf(AlchemyResource.replication, Ra.unlocks.continuousTTBoost.effects.replicanti);
|
||||
totalMult = totalMult.timesEffectsOf(AlchemyResource.replication, Ra.unlocks.continuousTTBoost.effects.replicanti);
|
||||
|
||||
return totalMult;
|
||||
}
|
||||
|
@ -963,8 +963,7 @@ GameDatabase.achievements.normal = [
|
||||
checkRequirement: () => Replicanti.amount.exponent >= 18000,
|
||||
checkEvent: GAME_EVENT.GAME_TICK_AFTER,
|
||||
get reward() {
|
||||
return `You gain Replicanti ${formatInt(2)} times faster
|
||||
under ${format(Decimal.NUMBER_MAX_VALUE, 1, 0)} Replicanti.`;
|
||||
return `You gain Replicanti ${formatInt(2)} times faster under ${format(replicantiCap(), 1)} Replicanti.`;
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -1,3 +1,4 @@
|
||||
import { DC } from "../../constants";
|
||||
import { GameDatabase } from "../game-database";
|
||||
|
||||
import { MultiplierTabIcons } from "./icons";
|
||||
@ -6,7 +7,7 @@ import { MultiplierTabIcons } from "./icons";
|
||||
GameDatabase.multiplierTabValues.replicanti = {
|
||||
total: {
|
||||
name: "Replicanti Speed",
|
||||
multValue: () => totalReplicantiSpeedMult(Replicanti.amount.gt(replicantiCap())),
|
||||
multValue: () => totalReplicantiSpeedMult(Replicanti.amount.gte(replicantiCap())),
|
||||
isActive: () => PlayerProgress.eternityUnlocked(),
|
||||
overlay: ["Ξ"],
|
||||
},
|
||||
@ -29,7 +30,8 @@ GameDatabase.multiplierTabValues.replicanti = {
|
||||
glyph: {
|
||||
name: "Glyph Effects",
|
||||
multValue: () => {
|
||||
const baseEffect = getAdjustedGlyphEffect("replicationspeed").times(Pelle.specialGlyphEffect.replication);
|
||||
const baseEffect = (Pelle.isDoomed ? DC.D1 : getAdjustedGlyphEffect("replicationspeed"))
|
||||
.times(Pelle.specialGlyphEffect.replication);
|
||||
const alteredEffect = Math.clampMin(
|
||||
Decimal.log10(Replicanti.amount) * getSecondaryGlyphEffect("replicationdtgain"), 1);
|
||||
return GlyphAlteration.isAdded("replication") ? baseEffect.times(alteredEffect) : baseEffect;
|
||||
|
Loading…
Reference in New Issue
Block a user