Pets Add XP
Grant experience to a pet
字段
| 字段 | 类型 | 默认值 | 描述 |
|---|---|---|---|
amount | Var<Int> | 0 | Amount of XP to grant. Supports placeholders and calculations. |
TypeWriter 通用字段(criteria, modifiers, triggers)
| 字段 | 类型 | 默认值 | 描述 |
|---|---|---|---|
criteria | List<Criteria> | empty | — |
modifiers | List<Modifier> | empty | — |
triggers | List<Ref<TriggerableEntry>> | empty | — |
How to use it
amount is added to the player's active pet. It supports placeholders and calculations. Nothing happens when the player has no active pet or the pet is at its maximum level. Use it for quest rewards. To give XP to a pet that is not active, activate it first with Pets State.