Made calculateMaxAffordable, calculateCost, and cost requirements interface a bit cleaner #17
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: profectus/Profectus#17
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/requirements-refactor"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This is a breaking change, and will require updating the docs.
So where previously you would set
maximize: true
on a repeatable or challenge, you'd now setmaxBulkAmount
on the cost requirement, such asDecimal.dInf
.