mirror of
https://github.com/thepaperpilot/Planar-Pioneers.git
synced 2024-11-22 16:35:42 +00:00
Tweaked coal relic balancing
This commit is contained in:
parent
536abf6cd2
commit
7d067dca32
2 changed files with 8 additions and 8 deletions
|
@ -279,7 +279,9 @@ export const passives = {
|
||||||
},
|
},
|
||||||
coalRelic: {
|
coalRelic: {
|
||||||
description: (empowered: boolean) =>
|
description: (empowered: boolean) =>
|
||||||
empowered ? "(Treasures)^2 boost planar speed" : "Treasures boost planar speed"
|
empowered
|
||||||
|
? "Every treasure boosts planar speed by +50%"
|
||||||
|
: "Every treasure boosts planar speed by +25%"
|
||||||
},
|
},
|
||||||
copperRelic: {
|
copperRelic: {
|
||||||
description: (empowered: boolean) =>
|
description: (empowered: boolean) =>
|
||||||
|
|
|
@ -921,7 +921,7 @@ export function createPlane(
|
||||||
randomResource = getRandomResource(random, influences);
|
randomResource = getRandomResource(random, influences);
|
||||||
description = `Gain ${format(
|
description = `Gain ${format(
|
||||||
Decimal.div(rewardsLevel.value, 12)
|
Decimal.div(rewardsLevel.value, 12)
|
||||||
)}x your current ${randomResource}.`;
|
)}x your current ${randomResource} (no modifiers).`;
|
||||||
onComplete = () =>
|
onComplete = () =>
|
||||||
main.grantResource(
|
main.grantResource(
|
||||||
randomResource,
|
randomResource,
|
||||||
|
@ -1116,12 +1116,10 @@ export function createPlane(
|
||||||
})),
|
})),
|
||||||
createMultiplicativeModifier(() => ({
|
createMultiplicativeModifier(() => ({
|
||||||
multiplier: () =>
|
multiplier: () =>
|
||||||
Decimal.add(
|
Decimal.times(
|
||||||
1,
|
isEmpowered("coalRelic") ? 0.5 : 0.25,
|
||||||
isEmpowered("coalRelic")
|
earnedTreasures.value.length
|
||||||
? Decimal.pow(earnedTreasures.value.length, 2)
|
).add(1),
|
||||||
: earnedTreasures.value.length
|
|
||||||
),
|
|
||||||
description: () => (isEmpowered("coalRelic") ? "Empowered " : "") + relics.coal,
|
description: () => (isEmpowered("coalRelic") ? "Empowered " : "") + relics.coal,
|
||||||
enabled: () => main.toolNodes.value.coalRelic != null
|
enabled: () => main.toolNodes.value.coalRelic != null
|
||||||
}))
|
}))
|
||||||
|
|
Loading…
Reference in a new issue