v0.9.0: Fixed newborn elems not dropping embers for overlevelled heroes

This commit is contained in:
Evan Debenham 2020-09-07 14:11:41 -04:00
parent f82217ebbc
commit 557d4e9d7e

View File

@ -29,6 +29,7 @@ import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Blindness;
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Buff;
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Burning;
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Chill;
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Hero;
import com.shatteredpixel.shatteredpixeldungeon.effects.Lightning;
import com.shatteredpixel.shatteredpixeldungeon.effects.Splash;
import com.shatteredpixel.shatteredpixeldungeon.items.potions.PotionOfFrost;
@ -213,6 +214,7 @@ public abstract class Elemental extends Mob {
defenseSkill = 12;
EXP = 7;
maxLvl = Hero.MAX_LEVEL;
loot = new Embers();
lootChance = 1f;