diff --git a/data/battle_param/ep1_rare_monster.toml b/data/battle_param/ep1_rare_monster.toml new file mode 100644 index 0000000..b7e62c4 --- /dev/null +++ b/data/battle_param/ep1_rare_monster.toml @@ -0,0 +1,15 @@ +# 1/100 = 0.01 +# 1/256 = 0.00390625 +# 1/512 = 0.001953125 + +[[Hildebear]] +rate = 0.01 + +[[RagRappy]] +rate = 0.01 + +[[PoisonLily]] +rate = 0.01 + +[[PofuillySlime]] +rate = 0.01 \ No newline at end of file diff --git a/data/battle_param/ep2_rare_monster.toml b/data/battle_param/ep2_rare_monster.toml new file mode 100644 index 0000000..2b6f916 --- /dev/null +++ b/data/battle_param/ep2_rare_monster.toml @@ -0,0 +1,13 @@ +# 1/100 = 0.01 +# 1/256 = 0.00390625 +# 1/512 = 0.001953125 + +[[Hildebear]] +rate = 0.01 + +[[RagRappy]] +rate = 0.01 + +[[PoisonLily]] +rate = 0.01 + diff --git a/data/battle_param/ep4_rare_monster.toml b/data/battle_param/ep4_rare_monster.toml new file mode 100644 index 0000000..9a4b244 --- /dev/null +++ b/data/battle_param/ep4_rare_monster.toml @@ -0,0 +1,27 @@ +# 1/100 = 0.01 +# 1/256 = 0.00390625 +# 1/512 = 0.001953125 + +[[SandRappyCrater]] +rate = 0.01 + +[[ZuCrater]] +rate = 0.01 + +[[Dorphon]] +rate = 0.01 + +[[SandRappyDesert]] +rate = 0.01 + +[[ZuDesert]] +rate = 0.01 + +[[MerissaA]] +rate = 0.01 + +[[Shambertin]] +rate = 0.1 + +[[SaintMillion]] +rate = 0.1 \ No newline at end of file diff --git a/data/battle_param/global_rare_monster.toml b/data/battle_param/global_rare_monster.toml new file mode 100644 index 0000000..8a3ca93 --- /dev/null +++ b/data/battle_param/global_rare_monster.toml @@ -0,0 +1,11 @@ +# 1/100 = 0.01 +# 1/256 = 0.00390625 +# 1/512 = 0.001953125 + +# Everything that isn't Kondrieu +[[Grunt]] +rate = 0.01 + +# Kondrieu +[[Boss]] +rate = 0.1 \ No newline at end of file diff --git a/src/ship/map/maps.rs b/src/ship/map/maps.rs index 7f18e50..866ae12 100644 --- a/src/ship/map/maps.rs +++ b/src/ship/map/maps.rs @@ -73,7 +73,7 @@ fn parse_enemy(episode: &Episode, map_area: &MapArea, raw_enemy: RawMapEnemy) -> }, MonsterType::PouillySlime => { // guaranteed rare slime already pushed - // roll for the other 3 copies + // roll for the other 3 (4?) copies for _ in 0..4 { if rand::thread_rng().gen_range(0, 100) < 11 { monsters.push(Some(MapEnemy::new(MonsterType::PouillySlime, monster.map_area).set_shiny()))