From 59f9221bcc3eb7983458b035d5fc7f31414679c4 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Thu, 1 Jun 2023 11:15:02 -0400 Subject: [PATCH] v2.1.0: fixed tormented spirits having a 100% spawn rate ... again --- .../shatteredpixeldungeon/actors/mobs/Wraith.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Wraith.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Wraith.java index 36e176776..9d82b6e90 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Wraith.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Wraith.java @@ -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();