v3.3.0: Tengu now has a 1-turn delay before attacking when he spawns
This commit is contained in:
@@ -448,7 +448,7 @@ public class PrisonBossLevel extends Level {
|
|||||||
|
|
||||||
tengu.state = tengu.HUNTING;
|
tengu.state = tengu.HUNTING;
|
||||||
tengu.pos = tenguPos;
|
tengu.pos = tenguPos;
|
||||||
GameScene.add( tengu );
|
GameScene.add( tengu, 1 );
|
||||||
tengu.notice();
|
tengu.notice();
|
||||||
|
|
||||||
CellEmitter.get( tengu.pos ).burst( Speck.factory( Speck.WOOL ), 6 );
|
CellEmitter.get( tengu.pos ).burst( Speck.factory( Speck.WOOL ), 6 );
|
||||||
@@ -474,6 +474,7 @@ public class PrisonBossLevel extends Level {
|
|||||||
Doom d = tengu.buff(Doom.class);
|
Doom d = tengu.buff(Doom.class);
|
||||||
Actor.remove(tengu);
|
Actor.remove(tengu);
|
||||||
mobs.remove(tengu);
|
mobs.remove(tengu);
|
||||||
|
tengu.clearTime();
|
||||||
TargetHealthIndicator.instance.target(null);
|
TargetHealthIndicator.instance.target(null);
|
||||||
tengu.sprite.kill();
|
tengu.sprite.kill();
|
||||||
if (d != null) tengu.add(d);
|
if (d != null) tengu.add(d);
|
||||||
@@ -495,8 +496,7 @@ public class PrisonBossLevel extends Level {
|
|||||||
|
|
||||||
tengu.state = tengu.HUNTING;
|
tengu.state = tengu.HUNTING;
|
||||||
tengu.pos = (arena.left + arena.width()/2) + width()*(arena.top+2);
|
tengu.pos = (arena.left + arena.width()/2) + width()*(arena.top+2);
|
||||||
GameScene.add(tengu);
|
GameScene.add( tengu, 1 );
|
||||||
tengu.timeToNow();
|
|
||||||
tengu.notice();
|
tengu.notice();
|
||||||
|
|
||||||
CellEmitter.get( tengu.pos ).burst( Speck.factory( Speck.WOOL ), 6 );
|
CellEmitter.get( tengu.pos ).burst( Speck.factory( Speck.WOOL ), 6 );
|
||||||
|
|||||||
Reference in New Issue
Block a user