Buys an item from the shop.
Remarks
If an item that costs ACs is being bought, a confirmation dialog will appear.
Auto mode may not be flawless and have edge cases. Report any issues!
Parameter Type Optional Default Description shopId numberThe shop id. item string | numberThe name or item id of the item to buy. quantity numberThe quantity of the item to buy. auto boolean✓ falseIf true, will try to buy any required items first (if available in the merge shop).
Puts an item into the bank.
Parameter Type Description item string | number | (string | number)[]The item to deposit. If provided an array, each item will be deposited.
Enhances an item with the specified enhancement.
Parameter Type Description itemName stringThe name of the item to enhance. enhancementName stringThe enhancement type (Lucky, Fighter, Wizard, etc.) or “Forge”. procName string?Optional. Awe proc (Spiral Carve) or Forge proc (Valiance, Vainglory, Anima).
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
Parameter Type Description item string
Equips an item using its enhancement name.
Parameter Type Description enhancementName stringThe enhancement name (Lucky, Fighter, etc.) or “Forge” for proc matching. procOrItemType string?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.
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 " )
Parameter Type Description item string | number
Loads a shop.
Parameter Type Description shopId numberThe shop id to load.
Picks up an item from the drop list.
Parameter Type Description item string | numberThe name or item id of the item to pick up.
Registers a consumable boost to use when available.
Parameter Type Description item stringThe name of the item boost to use.
Registers an item to be automatically picked up when possible.
Parameter Type Description items string | string[]The name or item id of the item(s) to pick up.
Rejects an item from the drop list.
Parameter Type Description item string | numberThe name or item id of the item to reject.
Sells an item.
Parameter Type Description item stringThe name of the item to sell.
Swaps an item from the bank with an item from the inventory.
Parameter Type Description bankItem string | numberThe name or item id of the item to swap from the bank. invItem string | numberThe name or item id of the item to swap from the inventory.
Unregisters a consumable boost.
Parameter Type Description item stringThe name of the item boost to unregister.
Unregisters an item from the drop list.
Parameter Type Description items string | string[]The name or item id of the item(s) to unregister.
Takes out an item from the bank.
Parameter Type Description item string | number | (string | number)[]The item to withdraw. If provided an array, each item will be withdrawn.