v0.7.3b: fixed further cases where thrown weapons would be lost when killing tengu
This commit is contained in:
parent
d22b0d7353
commit
8b97172557
|
@ -108,7 +108,20 @@ public class Tengu extends Mob {
|
||||||
|
|
||||||
//phase 2 of the fight is over
|
//phase 2 of the fight is over
|
||||||
if (HP == 0 && state == PrisonBossLevel.State.FIGHT_ARENA) {
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user