This commit is contained in:
parent
2a7e793b23
commit
7c7cf95942
15
data/battle_param/ep1_rare_monster.toml
Normal file
15
data/battle_param/ep1_rare_monster.toml
Normal 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
|
13
data/battle_param/ep2_rare_monster.toml
Normal file
13
data/battle_param/ep2_rare_monster.toml
Normal 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
|
||||||
|
|
27
data/battle_param/ep4_rare_monster.toml
Normal file
27
data/battle_param/ep4_rare_monster.toml
Normal 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
|
11
data/battle_param/global_rare_monster.toml
Normal file
11
data/battle_param/global_rare_monster.toml
Normal 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
|
@ -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()))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user