Fix husk drops in miniboss rooms.

This commit is contained in:
Scott Williams 2021-03-28 10:39:20 +00:00 committed by Ben Wallis
parent 519c01a888
commit ef43d29627
2 changed files with 5 additions and 2 deletions

View File

@ -0,0 +1,3 @@
[
(1, "common.items.crafting_ing.stones"),
]

View File

@ -976,7 +976,7 @@ impl Floor {
"common.loot_tables.loot_table_weapon_rare", "common.loot_tables.loot_table_weapon_rare",
), ),
5 => Lottery::<String>::load_expect( 5 => Lottery::<String>::load_expect(
"common.loot_tables.loot_table_miniboss", "common.loot_tables.loot_table_husk",
), ),
_ => Lottery::<String>::load_expect( _ => Lottery::<String>::load_expect(
"common.loot_tables.loot_table_armor_misc", "common.loot_tables.loot_table_armor_misc",
@ -1088,7 +1088,7 @@ impl Floor {
), ),
)) ))
.with_name("Cultist Husk".to_string()) .with_name("Cultist Husk".to_string())
.with_loot_drop(comp::Item::new_from_asset_expect(chosen)) .with_loot_drop(comp::Item::new_from_asset_expect("common.items.crafting_ing.stones"))
.with_loadout_config(loadout_builder::LoadoutConfig::Husk) .with_loadout_config(loadout_builder::LoadoutConfig::Husk)
}); });
entities entities