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,10 +51,12 @@ public class ScrollOfTerror extends Scroll {
if (Level.fieldOfView[mob.pos]) { if (Level.fieldOfView[mob.pos]) {
Buff.affect( mob, Terror.class, Terror.DURATION ).object = curUser.id(); Buff.affect( mob, Terror.class, Terror.DURATION ).object = curUser.id();
if (mob.buff(Terror.class) != null){
count++; count++;
affected = mob; affected = mob;
} }
} }
}
switch (count) { switch (count) {
case 0: case 0: