From ef43d296274082ef7da6ca039eb66548a57c2301 Mon Sep 17 00:00:00 2001 From: Scott Williams Date: Sun, 28 Mar 2021 10:39:20 +0000 Subject: [PATCH] Fix husk drops in miniboss rooms. --- assets/common/loot_tables/loot_table_husk.ron | 3 +++ world/src/site/dungeon/mod.rs | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 assets/common/loot_tables/loot_table_husk.ron diff --git a/assets/common/loot_tables/loot_table_husk.ron b/assets/common/loot_tables/loot_table_husk.ron new file mode 100644 index 0000000000..eb55933d9a --- /dev/null +++ b/assets/common/loot_tables/loot_table_husk.ron @@ -0,0 +1,3 @@ +[ + (1, "common.items.crafting_ing.stones"), +] diff --git a/world/src/site/dungeon/mod.rs b/world/src/site/dungeon/mod.rs index 23473ddeb8..4f70bac644 100644 --- a/world/src/site/dungeon/mod.rs +++ b/world/src/site/dungeon/mod.rs @@ -976,7 +976,7 @@ impl Floor { "common.loot_tables.loot_table_weapon_rare", ), 5 => Lottery::::load_expect( - "common.loot_tables.loot_table_miniboss", + "common.loot_tables.loot_table_husk", ), _ => Lottery::::load_expect( "common.loot_tables.loot_table_armor_misc", @@ -1088,7 +1088,7 @@ impl Floor { ), )) .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) }); entities