Profectus / features/resources/resource / trackTotal
Function: trackTotal() ​
trackTotal(
resource
):Ref
<DecimalSource
>
Returns a reference to the total amount of the resource gained, updated automatically. "Refunds" count as gain.
Profectus / features/resources/resource / trackTotal
trackTotal(
resource
):Ref
<DecimalSource
>
Returns a reference to the total amount of the resource gained, updated automatically. "Refunds" count as gain.