Pets State
Change the state of a pet
Campos
| Campo | Tipo | Padrão | Descrição |
|---|---|---|---|
pet | Ref<PetDefinitionEntry> | — | Target pet definition to affect. |
action | PetAction | ACTIVATE | What action should be performed on the pet.Valores:ACTIVATEDEACTIVATEHIDESHOWREMOVE |
Campos comuns do TypeWriter (criteria, modifiers, triggers)
| Campo | Tipo | Padrão | Descrição |
|---|---|---|---|
criteria | List<Criteria> | empty | — |
modifiers | List<Modifier> | empty | — |
triggers | List<Ref<TriggerableEntry>> | empty | — |
How to use it
Pick the pet with pet and the operation with action: ACTIVATE (makes it the active pet and deactivates the others), DEACTIVATE, HIDE, SHOW, or REMOVE (deletes the pet from the player's menu without returning an item). The player must already own the pet, otherwise nothing happens.