Pular para o conteúdo principal

Mmoitem Variable

MMOItem Identifier

Campos

CampoTipoPadrãoDescrição
itemsList<MMOItemIdentifier>emptyList of MMOItems (type/id) that this variable can return.
MMOItemIdentifier (1)
CampoTipoPadrãoDescrição
typeVar<MMOItemType>—MMOItems type (e.g., SWORD, ARMOR)

How to use it​

Use this variable in any field that expects an item, an MMOItems identifier or a list of items. List the possible items in items. The variable builds the real MMOItems item from its type and id, and prefers an item the player holds in the main hand or off hand that matches. If a type or id is empty, or unknown to MMOItems, a warning is written to the console and an empty item is returned.