Fix classroom effect

This commit is contained in:
thepaperpilot 2022-12-12 22:58:41 -06:00
parent 02062856f6
commit 10a03eab18

View file

@ -104,12 +104,12 @@ const layer = createLayer(id, () => {
}));
const globalXPModifier = createSequentialModifier(() => [
createMultiplicativeModifier(() => ({
multiplier: () => classroomEffect.value,
multiplier: classroomEffect,
description: "Classroom Effect",
enabled: () => classroomUpgrade.bought.value
enabled: classroomUpgrade.bought
}))
]);
const globalXPModifierComputed = globalXPModifier.apply(1);
const globalXPModifierComputed = computed(() => globalXPModifier.apply(1));
// ------------------------------------------------------------------------------- Training core function