Search in sources :

Example 1 with TomeOfMastery

use of com.shatteredpixel.shatteredpixeldungeon.items.TomeOfMastery in project shattered-pixel-dungeon-gdx by 00-Evan.

the class Tengu method die.

@Override
public void die(Object cause) {
    if (Dungeon.hero.subClass == HeroSubClass.NONE) {
        Dungeon.level.drop(new TomeOfMastery(), pos).sprite.drop();
    }
    GameScene.bossSlain();
    super.die(cause);
    Badges.validateBossSlain();
    LloydsBeacon beacon = Dungeon.hero.belongings.getItem(LloydsBeacon.class);
    if (beacon != null) {
        beacon.upgrade();
    }
    yell(Messages.get(this, "defeated"));
}
Also used : TomeOfMastery(com.shatteredpixel.shatteredpixeldungeon.items.TomeOfMastery) LloydsBeacon(com.shatteredpixel.shatteredpixeldungeon.items.artifacts.LloydsBeacon)

Aggregations

TomeOfMastery (com.shatteredpixel.shatteredpixeldungeon.items.TomeOfMastery)1 LloydsBeacon (com.shatteredpixel.shatteredpixeldungeon.items.artifacts.LloydsBeacon)1