use of com.nyrds.pixeldungeon.items.icecaves.IceKey in project pixel-dungeon-remix by NYRDS.
the class IceGuardianCore method die.
@Override
public void die(Object cause) {
super.die(cause);
Level level = Dungeon.level;
for (Mob mob : level.getCopyOfMobsArray()) {
if (mob instanceof IceGuardian) {
mob.die(cause);
}
}
level.unseal();
GameScene.bossSlain();
level.drop(new SkeletonKey(), getPos()).sprite.drop();
level.drop(new IceKey(), getPos()).sprite.drop();
Badges.validateBossSlain(Badges.Badge.ICE_GUARDIAN_SLAIN);
}
Aggregations