From 94f85815ab79bbad9d90fda100c81e2b741e352b Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Thu, 18 May 2023 14:59:20 -0400 Subject: [PATCH] v2.1.0: fixed tormented spirits having a 100% spawn rate, instead of 1% --- .../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 d6c52d0e4..9fc23d1d0 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();