v2.1.0: fixed tormented spirits having a 100% spawn rate, instead of 1%

This commit is contained in:
Evan Debenham
2023-05-18 14:59:20 -04:00
parent 2df15c494e
commit 94f85815ab

View File

@@ -104,7 +104,7 @@ public class Wraith extends Mob {
if ((!Dungeon.level.solid[pos] || Dungeon.level.passable[pos]) && Actor.findChar( pos ) == null) {
Wraith w;
if (allowExotic && Random.Int(1) == 0){
if (allowExotic && Random.Int(100) == 0){
w = new TormentedSpirit();
} else {
w = new Wraith();