v0.8.2c: fixed acidic scorpios not dropping experience potions

This commit is contained in:
Evan Debenham 2020-08-25 15:04:14 -04:00
parent 8b9219e35d
commit 6a3cd94d22

View File

@ -25,6 +25,7 @@ import com.shatteredpixel.shatteredpixeldungeon.Dungeon;
import com.shatteredpixel.shatteredpixeldungeon.actors.Char;
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Buff;
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Ooze;
import com.shatteredpixel.shatteredpixeldungeon.items.Item;
import com.shatteredpixel.shatteredpixeldungeon.items.potions.PotionOfExperience;
import com.shatteredpixel.shatteredpixeldungeon.sprites.AcidicSprite;
@ -51,5 +52,9 @@ public class Acidic extends Scorpio {
}
return super.defenseProc( enemy, damage );
}
@Override
protected Item createLoot() {
return new PotionOfExperience();
}
}