mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2025-02-07 10:41:36 +00:00
Fixed some issues
This commit is contained in:
parent
10af5bf7c9
commit
056dfa5b03
3 changed files with 39 additions and 9 deletions
|
@ -420,13 +420,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
||||||
}))
|
}))
|
||||||
]);
|
]);
|
||||||
|
|
||||||
const dyeCooldown = createSequentialModifier(() => [
|
const dyeCooldown = createSequentialModifier(() => []);
|
||||||
createMultiplicativeModifier(() => ({
|
|
||||||
multiplier: Infinity,
|
|
||||||
description: "Dye",
|
|
||||||
enabled: () => true
|
|
||||||
}))
|
|
||||||
]);
|
|
||||||
|
|
||||||
const [generalTab, generalTabCollapsed] = createCollapsibleModifierSections(() => [
|
const [generalTab, generalTabCollapsed] = createCollapsibleModifierSections(() => [
|
||||||
{
|
{
|
||||||
|
|
|
@ -349,7 +349,10 @@ const layer = createLayer(id, () => {
|
||||||
effectDisplay: "Unlock an elf that autobuys oil drills and extractors."
|
effectDisplay: "Unlock an elf that autobuys oil drills and extractors."
|
||||||
},
|
},
|
||||||
visibility: () => showIf(cutterElfMilestones[3].earned.value && main.day.value >= 13),
|
visibility: () => showIf(cutterElfMilestones[3].earned.value && main.day.value >= 13),
|
||||||
shouldEarn: () => cutterElfTraining.level.value >= 5
|
shouldEarn: () => cutterElfTraining.level.value >= 5,
|
||||||
|
onComplete() {
|
||||||
|
main.days[3].recentlyUpdated.value = true;
|
||||||
|
}
|
||||||
}))
|
}))
|
||||||
] as Array<GenericMilestone>;
|
] as Array<GenericMilestone>;
|
||||||
const planterElfMilestones = [
|
const planterElfMilestones = [
|
||||||
|
@ -1666,6 +1669,36 @@ const layer = createLayer(id, () => {
|
||||||
modifier: clothElfTraining.elfXPGain,
|
modifier: clothElfTraining.elfXPGain,
|
||||||
base: 0.1,
|
base: 0.1,
|
||||||
unit: " XP"
|
unit: " XP"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "Peppermint XP Gain per Action",
|
||||||
|
modifier: coalDrillElfTraining.elfXPGain,
|
||||||
|
base: 0.1,
|
||||||
|
unit: " XP"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "Frosty XP Gain per Action",
|
||||||
|
modifier: heavyDrillElfTraining.elfXPGain,
|
||||||
|
base: 0.1,
|
||||||
|
unit: " XP"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "Cocoa XP Gain per Action",
|
||||||
|
modifier: oilElfTraining.elfXPGain,
|
||||||
|
base: 0.1,
|
||||||
|
unit: " XP"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "Twinkle XP Gain per Action",
|
||||||
|
modifier: metalElfTraining.elfXPGain,
|
||||||
|
base: 0.1,
|
||||||
|
unit: " XP"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "Carol XP Gain per Action",
|
||||||
|
modifier: dyeElfTraining.elfXPGain,
|
||||||
|
base: 0.1,
|
||||||
|
unit: " XP"
|
||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
const showModifiersModal = ref(false);
|
const showModifiersModal = ref(false);
|
||||||
|
|
|
@ -286,7 +286,10 @@ const layer = createLayer(id, () => {
|
||||||
requirement: "10 Total Wrapping Paper",
|
requirement: "10 Total Wrapping Paper",
|
||||||
effectDisplay: "Unlock a new elf to help with dyes"
|
effectDisplay: "Unlock a new elf to help with dyes"
|
||||||
},
|
},
|
||||||
shouldEarn: () => Decimal.gte(wrappingPaperSum.value, 10)
|
shouldEarn: () => Decimal.gte(wrappingPaperSum.value, 10),
|
||||||
|
onComplete() {
|
||||||
|
main.days[3].recentlyUpdated.value = true;
|
||||||
|
}
|
||||||
}));
|
}));
|
||||||
|
|
||||||
const masteryReq = computed(() => Decimal.pow(2, masteredDays.value).times(30));
|
const masteryReq = computed(() => Decimal.pow(2, masteredDays.value).times(30));
|
||||||
|
|
Loading…
Add table
Reference in a new issue