v3.3.0: Tengu now has a 1-turn delay before attacking when he spawns

This commit is contained in:
Evan Debenham
2025-10-09 12:51:39 -04:00
parent 9403402e29
commit 338660a853

View File

@@ -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 );