This commit is contained in:
jake 2020-04-27 06:55:37 -06:00
parent 02c9cdc276
commit a32a7130f4

View File

@ -98,13 +98,6 @@ pub struct ItemDrop {
pub item: ItemDropType,
}
impl ItemDrop {
pub fn as_client_bytes(&self) -> u8 {
0
}
}
pub struct DropTable<R: Rng + SeedableRng> {
monster_stats: HashMap<MonsterType, MonsterDropStats>,
@ -118,7 +111,6 @@ pub struct DropTable<R: Rng + SeedableRng> {
rng: R,
}
impl<R: Rng + SeedableRng> DropTable<R> {
pub fn new(episode: Episode, difficulty: Difficulty, section_id: SectionID) -> DropTable<R> {
let monster_stats: HashMap<String, MonsterDropStats> = load_data_file(episode, difficulty, section_id, "monster_dar.toml");