v0.3.1d: fixed a bug where scroll of terror would report that terror-immune enemies were terrified.

This commit is contained in:
Evan Debenham
2015-09-11 13:54:16 -04:00
committed by Evan Debenham
parent a8344eb1d5
commit f09e96651b
@@ -51,8 +51,10 @@ public class ScrollOfTerror extends Scroll {
if (Level.fieldOfView[mob.pos]) {
Buff.affect( mob, Terror.class, Terror.DURATION ).object = curUser.id();
count++;
affected = mob;
if (mob.buff(Terror.class) != null){
count++;
affected = mob;
}
}
}