use of com.watabou.pixeldungeon.items.keys.SkeletonKey in project pixel-dungeon by watabou.
the class Yog method die.
@SuppressWarnings("unchecked")
@Override
public void die(Object cause) {
for (Mob mob : (Iterable<Mob>) Dungeon.level.mobs.clone()) {
if (mob instanceof BurningFist || mob instanceof RottingFist) {
mob.die(cause);
}
}
GameScene.bossSlain();
Dungeon.level.drop(new SkeletonKey(), pos).sprite.drop();
super.die(cause);
yell("...");
}
use of com.watabou.pixeldungeon.items.keys.SkeletonKey in project pixel-dungeon by watabou.
the class Tengu method die.
@Override
public void die(Object cause) {
Badges.Badge badgeToCheck = null;
switch(Dungeon.hero.heroClass) {
case WARRIOR:
badgeToCheck = Badge.MASTERY_WARRIOR;
break;
case MAGE:
badgeToCheck = Badge.MASTERY_MAGE;
break;
case ROGUE:
badgeToCheck = Badge.MASTERY_ROGUE;
break;
case HUNTRESS:
badgeToCheck = Badge.MASTERY_HUNTRESS;
break;
}
if (!Badges.isUnlocked(badgeToCheck) || Dungeon.hero.subClass != HeroSubClass.NONE) {
Dungeon.level.drop(new TomeOfMastery(), pos).sprite.drop();
}
GameScene.bossSlain();
Dungeon.level.drop(new SkeletonKey(), pos).sprite.drop();
super.die(cause);
Badges.validateBossSlain();
yell("Free at last...");
}
use of com.watabou.pixeldungeon.items.keys.SkeletonKey in project pixel-dungeon by watabou.
the class DM300 method die.
@Override
public void die(Object cause) {
super.die(cause);
GameScene.bossSlain();
Dungeon.level.drop(new SkeletonKey(), pos).sprite.drop();
Badges.validateBossSlain();
yell("Mission failed. Shutting down.");
}
use of com.watabou.pixeldungeon.items.keys.SkeletonKey in project pixel-dungeon by watabou.
the class Goo method die.
@Override
public void die(Object cause) {
super.die(cause);
((SewerBossLevel) Dungeon.level).unseal();
GameScene.bossSlain();
Dungeon.level.drop(new SkeletonKey(), pos).sprite.drop();
Badges.validateBossSlain();
yell("glurp... glurp...");
}
use of com.watabou.pixeldungeon.items.keys.SkeletonKey in project pixel-dungeon by watabou.
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(), pos).sprite.drop();
super.die(cause);
Badges.validateBossSlain();
yell("You cannot kill me, " + Dungeon.hero.heroClass.title() + "... I am... immortal...");
}
Aggregations