sp_give_stat
Adds to a stat of the player's active SmartPets pet, or takes away from it when the amount is negative.
Categories: pets
Required arguments
| Key(s) | Description | Type |
|---|---|---|
stat | The stat to change. | STRING |
amount | The amount to add. Negative values take away. | EXPRESSION |
Trigger parameters required
PLAYER
Example
effects:
- id: sp_give_stat
args:
stat: loyalty
amount: 5
Behaviour
| Setting | Value |
|---|---|
| Run order | NORMAL |
| Supports delay | true |
| Reloads on plugin reload | true |