Search in sources :

Example 6 with SkeletonKey

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"));
}
Also used : LloydsBeacon(com.shatteredpixel.shatteredpixeldungeon.items.artifacts.LloydsBeacon) SkeletonKey(com.shatteredpixel.shatteredpixeldungeon.items.keys.SkeletonKey)

Example 7 with SkeletonKey

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"));
}
Also used : SkeletonKey(com.shatteredpixel.shatteredpixeldungeon.items.keys.SkeletonKey)

Aggregations

SkeletonKey (com.shatteredpixel.shatteredpixeldungeon.items.keys.SkeletonKey)7 IronKey (com.shatteredpixel.shatteredpixeldungeon.items.keys.IronKey)3 LloydsBeacon (com.shatteredpixel.shatteredpixeldungeon.items.artifacts.LloydsBeacon)2 GoldenKey (com.shatteredpixel.shatteredpixeldungeon.items.keys.GoldenKey)2 ArmorKit (com.shatteredpixel.shatteredpixeldungeon.items.ArmorKit)1 Heap (com.shatteredpixel.shatteredpixeldungeon.items.Heap)1 CrystalKey (com.shatteredpixel.shatteredpixeldungeon.items.keys.CrystalKey)1