pub fn optional_attributes_for_chest_level(chest_level: i64) -> u64Expand description
A2-BAL-003 §3.3: how many optional stats a chest of this level rolls.
The count is a property of the CHEST, not of the item template. It used to
live on each template’s optional_attributes_count, which meant the same
sword rolled the same number of extras out of a level-1 chest as out of a
level-40 one — and ten templates carried three, above the signed maximum of
two.