Uncommon Rares
Macro APITriggers

Bank Node Reached

Runs when an adventurer reaches a bank node.

Category
Bank
Runs when
A bank node can be used.
Summary
Runs when an adventurer reaches a bank node.
Version
1

Events

  • system-bank-interaction

Lua Example

print("Bank", ctx.bank.bankKey)
bank.depositHaul()

ctx Fields

TriggerPathTypeLabelDescription
Bank Node Reachedctx.bank.bankKeystringBankThe bank reached by the adventurer.
Bank Node Reachedctx.bank.timelineBankInteractionIdidBank interactionThe bank interaction used by deposit actions.
Bank Node Reachedctx.bank.locationKeystringLocationThe large city or authored location containing the bank.
Bank Node Reachedctx.player.levelnumberPlayer levelThe player level used for this macro run.
Bank Node Reachedctx.player.currencyCoppernumberCurrencyThe player currency carried in copper.
Bank Node Reachedctx.player.bag.usedSlotsnumberBag usedThe number of backpack slots currently occupied.
Bank Node Reachedctx.player.bag.maxSlotsnumberBag capacityThe current backpack capacity including equipped bag bonuses.
Bank Node Reachedctx.player.bag.freeSlotsnumberBag freeThe number of free backpack slots remaining.
Bank Node Reachedctx.player.derivedStats.maxLifenumberDerived statA derived stat value; other stat keys are available beside maxLife.
Bank Node Reachedctx.player.equipment.mainHand.itemDefinitionKeystringEquipped itemAn equipped item definition key. Replace mainHand with another equipment slot as needed.
Bank Node Reachedctx.player.equipment.mainHand.raritystringEquipped item rarityThe rarity of an equipped item.
Bank Node Reachedctx.player.equipment.mainHand.itemLevelnumberEquipped item levelThe required level of an equipped item.
Bank Node Reachedctx.player.equipment.mainHand.dropLevelnumberEquipped drop levelThe drop level used to generate an equipped item.
Bank Node Reachedctx.player.equipment.mainHand.stats.maxLifenumberEquipped item statA stat contribution from an equipped item; other stat keys are available beside maxLife.
Bank Node Reachedctx.player.equipment.mainHand.affixes[].keystringEquipped affixA rolled affix key on an equipped item.

Blocks

BlockCategorySummary
Deposit itemBankDeposits one backpack item into the bank.
Deposit haulBankDeposits all auto-fileable backpack items into the bank.
ContinueFlowReturns continue to the Storyteller.
PauseFlowReturns pause to the Storyteller.