kill_counters #109

Closed
andy wants to merge 80 commits from kill_counters into master
Showing only changes of commit 68de2504e0 - Show all commits

View File

@ -213,6 +213,10 @@ mod test {
#[test]
fn test_sjs_drop() {
let mut drop_table = DropTable::<rand_chacha::ChaCha20Rng>::new(Episode::Two, Difficulty::Ultimate, SectionID::Skyly);
let drop = drop_table.get_rare_drop(&MapArea::Seaside, &MonsterType::GiGue);
let drop = drop_table.get_rare_drop(&MapArea::Seaside, &MonsterType::GiGue).unwrap();
if let ItemDropType::Weapon(weapon) = drop {
assert!(weapon.weapon == weapon::WeaponType::SealedJSword);
assert!(weapon.kills == Some(0));
}
}
}