Various cel7 fixes

This commit is contained in:
SpectralFlame 2023-02-02 06:10:42 -06:00 committed by cyip92
parent 6cc8f79940
commit a75b1526a6
3 changed files with 12 additions and 6 deletions

View File

@ -140,7 +140,7 @@ function pelleRiftFill(name, index, textAngle, fillType) {
visibleCheck = () => riftFillStage(name) === FILL_STATE.FILL;
progressFn = () => Math.clamp(0.1 + PelleRifts[name.toLowerCase()].realPercentage / 0.9, 1e-6, 1);
legendFn = () => false;
percentFn = x => (x - 0.1) / 0.9;
percentFn = () => PelleRifts[name.toLowerCase()].realPercentage;
incompleteClass = "c-celestial-nav__test-incomplete";
nodeFill = "crimson";
connectorFill = "crimson";
@ -153,7 +153,7 @@ function pelleRiftFill(name, index, textAngle, fillType) {
visibleCheck = () => riftFillStage(name) >= FILL_STATE.DRAIN;
progressFn = () => Math.clamp(Math.sqrt(PelleRifts[name.toLowerCase()].reducedTo), 1e-6, 1);
legendFn = () => riftFillStage(name) === FILL_STATE.DRAIN && PelleRifts[name.toLowerCase()].reducedTo < 1;
percentFn = x => x;
percentFn = () => PelleRifts[name.toLowerCase()].reducedTo;
incompleteClass = "c-celestial-nav__drained-rift";
nodeFill = "crimson";
connectorFill = "#550919";
@ -161,7 +161,7 @@ function pelleRiftFill(name, index, textAngle, fillType) {
case FILL_STATE.OVERFILL:
visibleCheck = () => riftFillStage(name) === FILL_STATE.OVERFILL;
progressFn = () => Math.clamp(PelleRifts[name.toLowerCase()].percentage - 1, 1e-6, 1);
percentFn = x => x + 1;
percentFn = () => PelleRifts[name.toLowerCase()].percentage;
legendFn = () => true;
incompleteClass = undefined;
nodeFill = "#ff7700";
@ -182,8 +182,8 @@ function pelleRiftFill(name, index, textAngle, fillType) {
},
forceLegend: () => legendFn(),
legend: {
text: complete => [
`${formatPercents(percentFn(complete), 1)} ${wordShift.wordCycle(PelleRifts[name.toLowerCase()].name)}`
text: () => [
`${formatPercents(percentFn(), 1)} ${wordShift.wordCycle(PelleRifts[name.toLowerCase()].name)}`
],
angle: textAngle,
diagonal: 30,

View File

@ -37,7 +37,7 @@ GameDatabase.celestials.pelle.strikes = {
id: 5,
requirementDescription: "Dilate Time",
penaltyDescription: "Time Dilation is permanently active",
rewardDescription: () => `Keep access to Time Dilation upgrades across Armageddon and unlock
rewardDescription: () => `Keep the Time Dilation study across Armageddon, boost Remnant gain, and unlock
${wordShift.wordCycle(PelleRifts.paradox.name)}`,
rift: () => PelleRifts.paradox
}

View File

@ -53,6 +53,7 @@ export default {
When active, Rifts consume {{ formatPercents(decayRate) }} of another resource per second.
<br>
Rift effects apply even when not activated, and are based on the total amount drained.
<b class="o-strike-warning">Pelle Strike penalties are permanent and remain active even after Armageddon!</b>
<div class="c-pelle-bar-container">
<div
v-for="strike in strikes"
@ -88,4 +89,9 @@ export default {
flex-direction: column;
justify-content: flex-start;
}
.o-strike-warning {
color: var(--color-pelle--base);
font-size: 1.4rem;
}
</style>