give_pet_xp
Gives the player experience towards the specified pet.
Categories: economy, player
Required arguments
| Key(s) | Description | Type |
|---|---|---|
amount | The amount of pet experience to give. | EXPRESSION |
pet | The ID of the pet to give experience to. | STRING |
Trigger parameters required
PLAYER
Example
effects:
- id: give_pet_xp
args:
amount: %level% * 10
pet: <value>
Behaviour
| Setting | Value |
|---|---|
| Run order | NORMAL |
| Supports delay | true |
| Reloads on plugin reload | true |