|
@ -139,6 +139,7 @@ pub struct StandardDropTable { |
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
impl StandardDropTable {
|
|
|
impl StandardDropTable {
|
|
|
|
|
|
#[warn(clippy::new_ret_no_self)]
|
|
|
pub fn new(episode: Episode, difficulty: Difficulty, section_id: SectionID) -> Box<dyn DropTable + Send + Sync> {
|
|
|
pub fn new(episode: Episode, difficulty: Difficulty, section_id: SectionID) -> Box<dyn DropTable + Send + Sync> {
|
|
|
let monster_stats: HashMap<String, MonsterDropStats> = load_data_file(episode, difficulty, section_id, "monster_dar.toml");
|
|
|
let monster_stats: HashMap<String, MonsterDropStats> = load_data_file(episode, difficulty, section_id, "monster_dar.toml");
|
|
|
|
|
|
|
|
|