Browse Source

fix tech drop tests

pbs
jake 4 years ago
parent
commit
6458fad89f
  1. 8
      src/ship/drops/tech_table.rs

8
src/ship/drops/tech_table.rs

@ -118,10 +118,10 @@ mod test {
let mut rng = rand_chacha::ChaCha20Rng::from_seed([23;32]);
let tt = TechniqueTable::new(Episode::One, Difficulty::Ultimate, SectionID::Skyly);
let tech_tests = vec![(MapArea::Forest1, Technique::Resta, 13),
(MapArea::Caves3, Technique::Foie, 24),
(MapArea::Mines2, Technique::Gibarta, 20),
(MapArea::DarkFalz, Technique::Razonde, 22)];
let tech_tests = vec![(MapArea::Forest1, Technique::Resta, 14),
(MapArea::Caves3, Technique::Foie, 25),
(MapArea::Mines2, Technique::Gibarta, 21),
(MapArea::DarkFalz, Technique::Razonde, 23)];
for (area, tech, level) in tech_tests {
assert!(tt.get_drop(&area, &mut rng) == Some(ItemDropType::TechniqueDisk(

Loading…
Cancel
Save