v0.7.3b: fixed further cases where thrown weapons would be lost when killing tengu

This commit is contained in:
Evan Debenham 2019-05-28 16:33:15 -04:00
parent d22b0d7353
commit 8b97172557

View File

@ -108,7 +108,20 @@ public class Tengu extends Mob {
//phase 2 of the fight is over
if (HP == 0 && state == PrisonBossLevel.State.FIGHT_ARENA) {
((PrisonBossLevel)Dungeon.level).progress();
//let full attack action complete first
Actor.add(new Actor() {
{
actPriority = VFX_PRIO;
}
@Override
protected boolean act() {
Actor.remove(this);
((PrisonBossLevel)Dungeon.level).progress();
return true;
}
});
return;
}