v2.5.0: necromancer summoning now interrupts the hero
This commit is contained in:
+4
@@ -311,6 +311,10 @@ public class Necromancer extends Mob {
|
|||||||
summoning = true;
|
summoning = true;
|
||||||
sprite.zap( summoningPos );
|
sprite.zap( summoningPos );
|
||||||
|
|
||||||
|
if (Dungeon.level.heroFOV[pos] || Dungeon.level.heroFOV[summoningPos]){
|
||||||
|
Dungeon.hero.interrupt();
|
||||||
|
}
|
||||||
|
|
||||||
spend( firstSummon ? TICK : 2*TICK );
|
spend( firstSummon ? TICK : 2*TICK );
|
||||||
} else {
|
} else {
|
||||||
//wait for a turn
|
//wait for a turn
|
||||||
|
|||||||
Reference in New Issue
Block a user