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