v2.4.0: fixed stone of fear applying to hero & allies

This commit is contained in:
Evan Debenham
2024-05-10 11:27:43 -04:00
parent 83467489ba
commit 951a4c5fb8

View File

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