v0.3.0: reworked Lloyd's beacon, now an artifact

This commit is contained in:
Evan Debenham
2015-05-20 23:57:25 -04:00
parent 716b7ed8fd
commit 624277ef97
7 changed files with 171 additions and 26 deletions
@@ -20,6 +20,8 @@ package com.shatteredpixel.shatteredpixeldungeon.actors.mobs;
import java.util.HashSet;
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Vertigo;
import com.shatteredpixel.shatteredpixeldungeon.items.artifacts.LloydsBeacon;
import com.shatteredpixel.shatteredpixeldungeon.utils.GLog;
import com.watabou.noosa.audio.Sample;
import com.shatteredpixel.shatteredpixeldungeon.Assets;
import com.shatteredpixel.shatteredpixeldungeon.Badges;
@@ -143,6 +145,12 @@ public class King extends Mob {
super.die( cause );
Badges.validateBossSlain();
LloydsBeacon beacon = Dungeon.hero.belongings.getItem(LloydsBeacon.class);
if (beacon != null) {
beacon.upgrade();
GLog.p("Your beacon grows stronger!");
}
yell( "You cannot kill me, " + Dungeon.hero.givenName() + "... I am... immortal..." );
}