跳到主要内容

Pets Add XP

Grant experience to a pet

字段

字段类型默认值描述
amountVar<Int>0Amount of XP to grant. Supports placeholders and calculations.
TypeWriter 通用字段(criteria, modifiers, triggers)
字段类型默认值描述
criteriaList<Criteria>empty—
modifiersList<Modifier>empty—
triggersList<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.