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
@@ -21,6 +21,7 @@ import java.util.HashSet;
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Terror;
import com.shatteredpixel.shatteredpixeldungeon.items.artifacts.CapeOfThorns;
import com.shatteredpixel.shatteredpixeldungeon.items.artifacts.LloydsBeacon;
import com.watabou.noosa.Camera;
import com.watabou.noosa.audio.Sample;
import com.shatteredpixel.shatteredpixeldungeon.Assets;
@@ -133,6 +134,12 @@ public class DM300 extends Mob {
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();
GLog.p("Your beacon grows stronger!");
}
yell( "Mission failed. Shutting down." );
}