Modify Points
Description
Modifies the target player's balance for a point type. Works both targeted (with a targeter) and no-target (on the caster).
Point balances are whole numbers and are never negative; the resulting value is rounded and clamped to a minimum of 0. Persistent points added this way are kept even when archetypes are removed.
Attributes
| Attribute | Aliases | Description | Default |
|---|---|---|---|
| type | point, pointtype, p | The point type key to modify (case-insensitive) | required |
| amount | a | The amount to add, remove, or set | 1 |
| operation | op, mode | How to apply amount: ADD, REMOVE, or SET. Unknown values fall back to ADD |
ADD |
Examples
Grant a player 3 attribute points:
RewardPoints:
Skills:
- modifypoints{type=ATTRIBUTE_POINTS;amount=3} @target
Set the caster's talent points to 10:
ResetTalentPoints:
Skills:
- modifypoints{type=TALENT_POINTS;amount=10;operation=SET} @self
Aliases
- points