use of com.shatteredpixel.shatteredpixeldungeon.items.ArmorKit in project shattered-pixel-dungeon-gdx by 00-Evan.
the class King method die.
@Override
public void die(Object cause) {
GameScene.bossSlain();
Dungeon.level.drop(new ArmorKit(), pos).sprite.drop();
Dungeon.level.drop(new SkeletonKey(Dungeon.depth), pos).sprite.drop();
super.die(cause);
Badges.validateBossSlain();
LloydsBeacon beacon = Dungeon.hero.belongings.getItem(LloydsBeacon.class);
if (beacon != null) {
beacon.upgrade();
}
yell(Messages.get(this, "defeated", Dungeon.hero.givenName()));
}
Aggregations