So I wanted there to be a 25% chance of automatic treasures spawning at monuments. Set the value to 0.25 - However, every single treasure now spawns at monuments instead of just 25%.
"Chance To Spawn At Monuments Instead" not working
Auto Spawn At Monuments Only must be false
nivexAuto Spawn At Monuments Only must be false
It is, never changed it
change
if (_config.Monuments.Chance > 0f && UnityEngine.Random.Range(0.1f, 1.0f) >= _config.Monuments.Chance && allowedMonuments.Count > 0)
to
if (_config.Monuments.Chance > 0f && UnityEngine.Random.value <= _config.Monuments.Chance && allowedMonuments.Count > 0)
fixed in next update
if (_config.Monuments.Chance > 0f && UnityEngine.Random.Range(0.1f, 1.0f) >= _config.Monuments.Chance && allowedMonuments.Count > 0)
to
if (_config.Monuments.Chance > 0f && UnityEngine.Random.value <= _config.Monuments.Chance && allowedMonuments.Count > 0)
fixed in next update
I also have some other bugs to report. Not sure when these started to be honest, everything seemed to be working as intended until the last month or so. If you can not confirm on your end then I'll try a fresh config.
- Rocket opener doesn't always work, sometimes they spawn without the rocket opener
- Certain fireball settings don't seem to work. For example the min-max lifetime of the fireballs. I have them set to 30 min and 60 max seconds, but they expire in about 15 seconds maximum.
Will let you know if I notice anything else.