v2.1.0: fixed tormented spirits having a 100% spawn rate ... again

This commit is contained in:
Evan Debenham
2023-06-01 11:15:02 -04:00
parent bc0b30fece
commit 59f9221bcc

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