Function slot_order_marker

Source
pub fn slot_order_marker(item_type: ItemType) -> i64
Expand description

Position of item_type in the order the slot rules resolve in, plus one.

The order is ItemType::iter() filtered to the two-sided slots (Weapon → Torso → Head → Gloves → Shoulders) — the same one HA-03 Cross Relay relays along and the fire loop already walks, so “the next slot” and “the previous slot” mean the same thing to every rule. The + 1 keeps 0 meaning “no slot has resolved yet this fight”, which is what an untouched attribute reads as.