Open Battle Pass
Open a battle pass menu
Action that opens the battle pass menu for the player.
Поля
| Поле | Тип | По умолчанию | Описание |
|---|---|---|---|
battlePass | Ref<BattlePassDefinitionEntry> | — | — |
Общие поля TypeWriter (criteria, modifiers, triggers)
| Поле | Тип | По умолчанию | Описание |
|---|---|---|---|
criteria | List<Criteria> | empty | — |
modifiers | List<Modifier> | empty | — |
triggers | List<Ref<TriggerableEntry>> | empty | — |
How to use it
Set battlePass to the definition to open. If the definition is not registered (for example because it failed validation), nothing opens and a warning is written to the log. Players can also open the first pass with /tw battlepass.