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
@@ -19,6 +19,8 @@ package com.shatteredpixel.shatteredpixeldungeon.actors.mobs;
import java.util.HashSet;
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;
@@ -99,6 +101,12 @@ public class Tengu 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( "Free at last..." );
}