Skip to content

Profectus / game/requirements / payRequirements

Function: payRequirements() ​

payRequirements(requirements, amount): void

Utility function for paying the costs for 1+ requirements

Parameters ​

requirements ​

Requirements

The 1+ requirements to pay

amount ​

DecimalSource = 1

How many levels to pay for

Returns ​

void

Defined in ​

profectus/src/game/requirements.tsx:358