mirror of
https://github.com/thepaperpilot/Planar-Pioneers.git
synced 2025-02-16 09:41:40 +00:00
Add limit to repeatables and dimensions
This commit is contained in:
parent
946ecaebcd
commit
12a68c02fa
1 changed files with 2 additions and 0 deletions
|
@ -437,6 +437,7 @@ export function createPlane(
|
||||||
showAmount: false
|
showAmount: false
|
||||||
}),
|
}),
|
||||||
visibility: repeatableVisibility,
|
visibility: repeatableVisibility,
|
||||||
|
limit: 100,
|
||||||
bonusAmount: () =>
|
bonusAmount: () =>
|
||||||
Decimal.gt(repeatable.amount.value, 0)
|
Decimal.gt(repeatable.amount.value, 0)
|
||||||
? isEmpowered("dirtRelic")
|
? isEmpowered("dirtRelic")
|
||||||
|
@ -774,6 +775,7 @@ export function createPlane(
|
||||||
},
|
},
|
||||||
effect,
|
effect,
|
||||||
dimensions,
|
dimensions,
|
||||||
|
limit: 100,
|
||||||
energy: j === 0 ? energy : undefined,
|
energy: j === 0 ? energy : undefined,
|
||||||
requirements: createCostRequirement(() => ({
|
requirements: createCostRequirement(() => ({
|
||||||
resource: noPersist(resource),
|
resource: noPersist(resource),
|
||||||
|
|
Loading…
Add table
Reference in a new issue