v0.3.1d: fixed a bug where scroll of terror would report that terror-immune enemies were terrified.
This commit is contained in:
committed by
Evan Debenham
parent
a8344eb1d5
commit
f09e96651b
@@ -51,8 +51,10 @@ 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();
|
||||||
|
|
||||||
count++;
|
if (mob.buff(Terror.class) != null){
|
||||||
affected = mob;
|
count++;
|
||||||
|
affected = mob;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user