rare_monsters #60

Merged
jake merged 16 commits from rare_monsters into master 2021-12-29 02:10:50 -05:00
5 changed files with 67 additions and 1 deletions
Showing only changes of commit 7c7cf95942 - Show all commits

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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()))