v0.3.2: fully implemented elemental embers quest

This commit is contained in:
Evan Debenham
2015-10-17 22:59:31 -04:00
parent 43327a5f4e
commit f8749368a4
9 changed files with 153 additions and 10 deletions
@@ -23,11 +23,15 @@ package com.shatteredpixel.shatteredpixeldungeon.actors.mobs;
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Buff;
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Chill;
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Frost;
import com.shatteredpixel.shatteredpixeldungeon.items.quest.Embers;
import com.shatteredpixel.shatteredpixeldungeon.sprites.NewbornElementalSprite;
public class NewbornElemental extends Elemental {
{
name = "newborn fire elemental";
spriteClass = NewbornElementalSprite.class;
HT = 65;
HP = HT/2; //32
@@ -35,7 +39,7 @@ public class NewbornElemental extends Elemental {
EXP = 4;
loot = null; //TODO Elemental embers
loot = new Embers();
lootChance = 1f;
}
@@ -27,6 +27,7 @@ import com.shatteredpixel.shatteredpixeldungeon.Challenges;
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Hero;
import com.shatteredpixel.shatteredpixeldungeon.items.Generator;
import com.shatteredpixel.shatteredpixeldungeon.items.quest.CeremonialCandle;
import com.shatteredpixel.shatteredpixeldungeon.items.quest.Embers;
import com.watabou.noosa.audio.Sample;
import com.shatteredpixel.shatteredpixeldungeon.Assets;
import com.shatteredpixel.shatteredpixeldungeon.Dungeon;
@@ -160,7 +161,7 @@ public class Wandmaker extends NPC {
item = Dungeon.hero.belongings.getItem(CorpseDust.class);
break;
case 2:
item = Dungeon.hero.belongings.getItem(CorpseDust.class); //TODO: elemental embers
item = Dungeon.hero.belongings.getItem(Embers.class);
break;
case 3:
item = Dungeon.hero.belongings.getItem(Rotberry.Seed.class);