v0.9.0: Fixed newborn elems not dropping embers for overlevelled heroes
This commit is contained in:
@@ -29,6 +29,7 @@ import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Blindness;
|
|||||||
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Buff;
|
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Buff;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Burning;
|
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Burning;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Chill;
|
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.Lightning;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.effects.Splash;
|
import com.shatteredpixel.shatteredpixeldungeon.effects.Splash;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.items.potions.PotionOfFrost;
|
import com.shatteredpixel.shatteredpixeldungeon.items.potions.PotionOfFrost;
|
||||||
@@ -213,6 +214,7 @@ public abstract class Elemental extends Mob {
|
|||||||
defenseSkill = 12;
|
defenseSkill = 12;
|
||||||
|
|
||||||
EXP = 7;
|
EXP = 7;
|
||||||
|
maxLvl = Hero.MAX_LEVEL;
|
||||||
|
|
||||||
loot = new Embers();
|
loot = new Embers();
|
||||||
lootChance = 1f;
|
lootChance = 1f;
|
||||||
|
|||||||
Reference in New Issue
Block a user