mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-11-22 00:21:34 +00:00
some slight improvements
This commit is contained in:
parent
6199f07fbc
commit
d9bbd9dce0
1 changed files with 1 additions and 7 deletions
|
@ -104,7 +104,7 @@ const layer = createLayer(id, () => {
|
|||
const exp = persistent<DecimalSource>(0);
|
||||
const expRequiredForNextLevel = computed(() => Decimal.pow(10, level.value).mul(1e4));
|
||||
const level = computed(() =>
|
||||
Decimal.min(Decimal.mul(9, exp.value).div(1e4).add(1).log10().floor().toNumber(), schools.amount.value).toNumber()
|
||||
Decimal.min(Decimal.mul(9, exp.value).div(1e4).add(1).log10().floor(), schools.amount.value).toNumber()
|
||||
);
|
||||
const expToNextLevel = computed(() =>
|
||||
Decimal.sub(exp.value, Decimal.pow(10, level.value).sub(1).div(9).mul(1e4))
|
||||
|
@ -656,8 +656,6 @@ const layer = createLayer(id, () => {
|
|||
classroomUpgrade,
|
||||
display: jsx(() => (
|
||||
<>
|
||||
{import.meta.env.DEV || true ? (
|
||||
<>
|
||||
{main.day.value === day ? `Get all elves to level 5.` : `${name} Complete!`}{" "}
|
||||
-
|
||||
<button
|
||||
|
@ -670,10 +668,6 @@ const layer = createLayer(id, () => {
|
|||
{render(modifiersModal)}
|
||||
{render(dayProgress)}
|
||||
{render(tabs)}
|
||||
</>
|
||||
) : (
|
||||
"The day is still being developed, please wait patiently."
|
||||
)}
|
||||
</>
|
||||
))
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue