v0.6.3: fixed scroll of psionic blast applying debuffs to a dead hero
This commit is contained in:
+5
-3
@@ -57,9 +57,11 @@ public class ScrollOfPsionicBlast extends Scroll {
|
|||||||
}
|
}
|
||||||
|
|
||||||
curUser.damage(Math.max(curUser.HT/5, curUser.HP/2), this);
|
curUser.damage(Math.max(curUser.HT/5, curUser.HP/2), this);
|
||||||
Buff.prolong( curUser, Paralysis.class, Random.Int( 4, 6 ) );
|
if (curUser.isAlive()) {
|
||||||
Buff.prolong( curUser, Blindness.class, Random.Int( 6, 9 ) );
|
Buff.prolong(curUser, Paralysis.class, Random.Int(4, 6));
|
||||||
Dungeon.observe();
|
Buff.prolong(curUser, Blindness.class, Random.Int(6, 9));
|
||||||
|
Dungeon.observe();
|
||||||
|
}
|
||||||
|
|
||||||
setKnown();
|
setKnown();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user