mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2025-04-01 21:41:00 +00:00
Fix classroom effect
This commit is contained in:
parent
02062856f6
commit
10a03eab18
1 changed files with 3 additions and 3 deletions
|
@ -104,12 +104,12 @@ const layer = createLayer(id, () => {
|
||||||
}));
|
}));
|
||||||
const globalXPModifier = createSequentialModifier(() => [
|
const globalXPModifier = createSequentialModifier(() => [
|
||||||
createMultiplicativeModifier(() => ({
|
createMultiplicativeModifier(() => ({
|
||||||
multiplier: () => classroomEffect.value,
|
multiplier: classroomEffect,
|
||||||
description: "Classroom Effect",
|
description: "Classroom Effect",
|
||||||
enabled: () => classroomUpgrade.bought.value
|
enabled: classroomUpgrade.bought
|
||||||
}))
|
}))
|
||||||
]);
|
]);
|
||||||
const globalXPModifierComputed = globalXPModifier.apply(1);
|
const globalXPModifierComputed = computed(() => globalXPModifier.apply(1));
|
||||||
|
|
||||||
// ------------------------------------------------------------------------------- Training core function
|
// ------------------------------------------------------------------------------- Training core function
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue