Skip to content

Item commands

Buys an item from the shop.

ParameterTypeOptionalDefaultDescription
shopIdnumberThe shop id.
itemstring | numberThe name or item id of the item to buy.
quantitynumberThe quantity of the item to buy.
autobooleanfalseIf true, will try to buy any required items first (if available in the merge shop).

Puts an item into the bank.

ParameterTypeDescription
itemstring | number | (string | number)[]The item to deposit. If provided an array, each item will be deposited.

Enhances an item with the specified enhancement.

ParameterTypeDescription
itemNamestringThe name of the item to enhance.
enhancementNamestringThe enhancement type (Lucky, Fighter, Wizard, etc.) or “Forge”.
procNamestring?Optional. Awe proc (Spiral Carve) or Forge proc (Valiance, Vainglory, Anima).
// Basic enhancement
cmd.enhance_item("Void Highlord", "Lucky")
// Awe enhancement (weapon only) - base type + Awe proc
cmd.enhance_item("Weapon", "Lucky", "Spiral Carve")
cmd.enhance_item("Weapon", "Fighter", "Awe Blast")
// Forge enhancement - item type is deduced from item name
cmd.enhance_item("Necrotic Sword", "Forge") // base Forge
cmd.enhance_item("Necrotic Sword", "Forge", "Valiance") // weapon Forge proc
cmd.enhance_item("Cape", "Forge", "Vainglory") // cape Forge special
cmd.enhance_item("Helm", "Forge", "Anima") // helm Forge special
ParameterTypeDescription
itemstring

Equips an item using its enhancement name.

ParameterTypeDescription
enhancementNamestringThe enhancement name (Lucky, Fighter, etc.) or “Forge” for proc matching.
procOrItemTypestring?If the enhancement name is “Forge”, this should be the proc name. Otherwise, this should be the item type (weapon, helm, cape) or Awe proc if applicable.
// 1. forge + proc name
cmd.equip_item_by_enhancement("Forge", "Arcana's Concerto")
cmd.equip_item_by_enhancement("Forge", "arcanas")
cmd.equip_item_by_enhancement("Forge", "Penitence")
cmd.equip_item_by_enhancement("Forge", "Anima")
// 2. basic + awe proc (weapon)
cmd.equip_item_by_enhancement("Lucky", "Spiral Carve")
cmd.equip_item_by_enhancement("Fighter", "Awe Blast")
// 3. basic + item type filter
cmd.equip_item_by_enhancement("Lucky", "Weapon")
cmd.equip_item_by_enhancement("Fighter", "Cape")
// 4. basic only (first match)
cmd.equip_item_by_enhancement("Fighter")
cmd.equip_item_by_enhancement("Lucky")
ParameterTypeDescription
itemstring | number

Loads a shop.

ParameterTypeDescription
shopIdnumberThe shop id to load.

Picks up an item from the drop list.

ParameterTypeDescription
itemstring | numberThe name or item id of the item to pick up.

Registers a consumable boost to use when available.

ParameterTypeDescription
itemstringThe name of the item boost to use.

Registers an item to be automatically picked up when possible.

ParameterTypeDescription
itemsstring | string[]The name or item id of the item(s) to pick up.

Rejects an item from the drop list.

ParameterTypeDescription
itemstring | numberThe name or item id of the item to reject.

Sells an item.

ParameterTypeDescription
itemstringThe name of the item to sell.

Swaps an item from the bank with an item from the inventory.

ParameterTypeDescription
bankItemstring | numberThe name or item id of the item to swap from the bank.
invItemstring | numberThe name or item id of the item to swap from the inventory.

Unregisters a consumable boost.

ParameterTypeDescription
itemstringThe name of the item boost to unregister.

Unregisters an item from the drop list.

ParameterTypeDescription
itemsstring | string[]The name or item id of the item(s) to unregister.

Takes out an item from the bank.

ParameterTypeDescription
itemstring | number | (string | number)[]The item to withdraw. If provided an array, each item will be withdrawn.