Fixed some issues

This commit is contained in:
thepaperpilot 2022-12-18 22:05:33 -06:00
parent 10af5bf7c9
commit 056dfa5b03
3 changed files with 39 additions and 9 deletions

View file

@ -420,13 +420,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
}))
]);
const dyeCooldown = createSequentialModifier(() => [
createMultiplicativeModifier(() => ({
multiplier: Infinity,
description: "Dye",
enabled: () => true
}))
]);
const dyeCooldown = createSequentialModifier(() => []);
const [generalTab, generalTabCollapsed] = createCollapsibleModifierSections(() => [
{

View file

@ -349,7 +349,10 @@ const layer = createLayer(id, () => {
effectDisplay: "Unlock an elf that autobuys oil drills and extractors."
},
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>;
const planterElfMilestones = [
@ -1666,6 +1669,36 @@ const layer = createLayer(id, () => {
modifier: clothElfTraining.elfXPGain,
base: 0.1,
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);

View file

@ -286,7 +286,10 @@ const layer = createLayer(id, () => {
requirement: "10 Total Wrapping Paper",
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));