Address PR feedback (spec/holiday-bugfixes)

This commit is contained in:
SpectralFlame 2023-01-03 12:33:54 -06:00 committed by cyip92
parent c1acb9ac9e
commit 82697fa8e2
2 changed files with 5 additions and 5 deletions

View File

@ -51,10 +51,10 @@ export const Effarig = {
}
},
get glyphEffectAmount() {
const genEffectBitmask = Glyphs.activeList
const genEffectBitmask = Glyphs.activeWithoutCompanion
.filter(g => generatedTypes.includes(g.type))
.reduce((prev, curr) => prev | curr.effects, 0);
const nongenEffectBitmask = Glyphs.activeList
const nongenEffectBitmask = Glyphs.activeWithoutCompanion
.filter(g => !generatedTypes.includes(g.type))
.reduce((prev, curr) => prev | curr.effects, 0);
return countValuesFromBitmask(genEffectBitmask) + countValuesFromBitmask(nongenEffectBitmask);

View File

@ -172,9 +172,6 @@ export default {
Cost: {{ format(unlockCost) }} IP
</PrimaryButton>
<template v-else>
<div v-if="isInEC8">
You have {{ quantifyInt("purchase", ec8Purchases) }} left.
</div>
<div v-if="isDoomed">
Your Replicanti cap has been removed due to the second {{ scrambledText }} milestone.
</div>
@ -192,6 +189,9 @@ export default {
<span v-html="boostText" />
</p>
<br>
<div v-if="isInEC8">
You have {{ quantifyInt("purchase", ec8Purchases) }} left within Eternity Challenge 8.
</div>
<div class="l-replicanti-upgrade-row">
<ReplicantiUpgradeButton :setup="replicantiChanceSetup" />
<ReplicantiUpgradeButton :setup="replicantiIntervalSetup" />