Commit 2e7bd35f authored by Benoît du Garreau's avatar Benoît du Garreau
Browse files

fmt

parent 13dffddf
Pipeline #258735407 passed with stages
in 93 minutes and 50 seconds
......@@ -536,51 +536,51 @@ impl Floor {
{
// Bad
let chosen = match room.difficulty {
0 => {
Lottery::<String>::load_expect_raw(match dynamic_rng.gen_range(0..4) {
0 => Lottery::<String>::load_expect_raw(
match dynamic_rng.gen_range(0..4) {
0 => "common.loot_tables.loot_table_humanoids",
1 => "common.loot_tables.loot_table_armor_cloth",
_ => "common.loot_tables.loot_table_weapon_common",
})
},
1 => {
Lottery::<String>::load_expect_raw(match dynamic_rng.gen_range(0..4) {
},
),
1 => Lottery::<String>::load_expect_raw(
match dynamic_rng.gen_range(0..4) {
0 => "common.loot_tables.loot_table_humanoids",
1 => "common.loot_tables.loot_table_armor_light",
_ => "common.loot_tables.loot_table_weapon_uncommon",
})
},
2 => {
Lottery::<String>::load_expect_raw(match dynamic_rng.gen_range(0..4) {
},
),
2 => Lottery::<String>::load_expect_raw(
match dynamic_rng.gen_range(0..4) {
0 => "common.loot_tables.loot_table_humanoids",
1 => "common.loot_tables.loot_table_armor_heavy",
_ => "common.loot_tables.loot_table_weapon_rare",
})
},
3 => {
Lottery::<String>::load_expect_raw(match dynamic_rng.gen_range(0..10) {
},
),
3 => Lottery::<String>::load_expect_raw(
match dynamic_rng.gen_range(0..10) {
0 => "common.loot_tables.loot_table_humanoids",
1 => "common.loot_tables.loot_table_armor_heavy",
2 => "common.loot_tables.loot_table_weapon_rare",
_ => "common.loot_tables.loot_table_cultists",
})
},
4 => {
Lottery::<String>::load_expect_raw(match dynamic_rng.gen_range(0..6) {
},
),
4 => Lottery::<String>::load_expect_raw(
match dynamic_rng.gen_range(0..6) {
0 => "common.loot_tables.loot_table_humanoids",
1 => "common.loot_tables.loot_table_armor_misc",
2 => "common.loot_tables.loot_table_weapon_rare",
_ => "common.loot_tables.loot_table_cultists",
})
},
5 => {
Lottery::<String>::load_expect_raw(match dynamic_rng.gen_range(0..5) {
},
),
5 => Lottery::<String>::load_expect_raw(
match dynamic_rng.gen_range(0..5) {
0 => "common.loot_tables.loot_table_humanoids",
1 => "common.loot_tables.loot_table_armor_misc",
2 => "common.loot_tables.loot_table_weapon_rare",
_ => "common.loot_tables.loot_table_cultists",
})
},
},
),
_ => Lottery::<String>::load_expect_raw(
"common.loot_tables.loot_table_armor_misc",
),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment