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)DescriptionType
statThe stat to change.STRING
amountThe amount to add. Negative values take away.EXPRESSION

Trigger parameters required

  • PLAYER

Example

effects:
  - id: sp_give_stat
    args:
      stat: loyalty
      amount: 5

Behaviour

SettingValue
Run orderNORMAL
Supports delaytrue
Reloads on plugin reloadtrue