func get_defence_valve() -> int: var total = 0 var slot_datas = player.equip_inventory_data.slot_datas for slot_data in slot_datas: if slot_data: var item = slot_data.item_data var def = item.defence total += def return total
https://cdn.masto.host/dicecamp/media_attachments/files/112/648/796/587/417/994/original/be9947b2584a20d0.png