v0.9.3: fixed incorrect spawn timers in DK's challenge boss fight
This commit is contained in:
parent
a6b5490050
commit
6595bfe968
|
@ -215,10 +215,10 @@ public class DwarfKing extends Mob {
|
|||
sprite.centerEmitter().start(Speck.factory(Speck.SCREAM), 0.4f, 2);
|
||||
Sample.INSTANCE.play(Assets.Sounds.CHALLENGE);
|
||||
yell(Messages.get(this, "wave_3"));
|
||||
summonSubject(4, DKWarlock.class);
|
||||
summonSubject(4, DKMonk.class);
|
||||
summonSubject(4, DKGhoul.class);
|
||||
summonSubject(4, DKGhoul.class);
|
||||
summonSubject(3, DKWarlock.class);
|
||||
summonSubject(3, DKMonk.class);
|
||||
summonSubject(3, DKGhoul.class);
|
||||
summonSubject(3, DKGhoul.class);
|
||||
summonsMade += 4;
|
||||
spend(3*TICK);
|
||||
} else {
|
||||
|
@ -621,9 +621,13 @@ public class DwarfKing extends Mob {
|
|||
Char ch = Actor.findChar(pos);
|
||||
ch.damage(Random.NormalIntRange(20, 40), target);
|
||||
if (((DwarfKing)target).phase == 2){
|
||||
if (Dungeon.isChallenged(Challenges.STRONGER_BOSSES)){
|
||||
target.damage(target.HT/18, new KingDamager());
|
||||
} else {
|
||||
target.damage(target.HT/12, new KingDamager());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
detach();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user