cleanup
This commit is contained in:
parent
02c9cdc276
commit
a32a7130f4
@ -98,13 +98,6 @@ pub struct ItemDrop {
|
|||||||
pub item: ItemDropType,
|
pub item: ItemDropType,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl ItemDrop {
|
|
||||||
pub fn as_client_bytes(&self) -> u8 {
|
|
||||||
0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
pub struct DropTable<R: Rng + SeedableRng> {
|
pub struct DropTable<R: Rng + SeedableRng> {
|
||||||
monster_stats: HashMap<MonsterType, MonsterDropStats>,
|
monster_stats: HashMap<MonsterType, MonsterDropStats>,
|
||||||
@ -118,7 +111,6 @@ pub struct DropTable<R: Rng + SeedableRng> {
|
|||||||
rng: R,
|
rng: R,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
impl<R: Rng + SeedableRng> DropTable<R> {
|
impl<R: Rng + SeedableRng> DropTable<R> {
|
||||||
pub fn new(episode: Episode, difficulty: Difficulty, section_id: SectionID) -> 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");
|
let monster_stats: HashMap<String, MonsterDropStats> = load_data_file(episode, difficulty, section_id, "monster_dar.toml");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user