From 951a4c5fb82a7d1417d7fadb6d8b0a47067b54fe Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Fri, 10 May 2024 11:27:43 -0400 Subject: [PATCH] v2.4.0: fixed stone of fear applying to hero & allies --- .../shatteredpixeldungeon/items/stones/StoneOfFear.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/stones/StoneOfFear.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/stones/StoneOfFear.java index cb13bed71..d03342762 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/stones/StoneOfFear.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/stones/StoneOfFear.java @@ -43,7 +43,7 @@ public class StoneOfFear extends Runestone { Char ch = Actor.findChar( cell ); - if (ch != null){ + if (ch != null && ch.alignment != Char.Alignment.ALLY ){ Buff.affect( ch, Terror.class, Terror.DURATION ).object = curUser.id(); }