various config files
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
andy 2021-06-28 17:42:50 +00:00
parent 2a7e793b23
commit 7c7cf95942
5 changed files with 67 additions and 1 deletions

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 => { MonsterType::PouillySlime => {
// guaranteed rare slime already pushed // guaranteed rare slime already pushed
// roll for the other 3 copies // roll for the other 3 (4?) copies
for _ in 0..4 { for _ in 0..4 {
if rand::thread_rng().gen_range(0, 100) < 11 { if rand::thread_rng().gen_range(0, 100) < 11 {
monsters.push(Some(MapEnemy::new(MonsterType::PouillySlime, monster.map_area).set_shiny())) monsters.push(Some(MapEnemy::new(MonsterType::PouillySlime, monster.map_area).set_shiny()))