Has Points
Description
Matches the player's point balance against a given amount.
The amount attribute accepts a ranged value. The metric attribute selects which balance is checked.
Attributes
| Attribute | Aliases | Description | Default |
|---|---|---|---|
| type | pointType, t | The point type id | required |
| amount | a | The amount, as a ranged value. Falls back to the unkeyed argument | required |
| metric | m | Which balance to check: available, earned, or spent |
available |
Examples
Conditions:
- hasPoints{type=TALENT_POINTS;amount=>5} true
- hasPoints{type=TALENT_POINTS;amount=>0;metric=spent} true
Aliases
- hasPoint