diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/quest/CorpseDust.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/quest/CorpseDust.java index 6c251f295..30f7b0c98 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/quest/CorpseDust.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/quest/CorpseDust.java @@ -52,10 +52,6 @@ public class CorpseDust extends Item { unique = true; } - @Override - public ArrayList actions(Hero hero) { - return new ArrayList<>(); //yup, no dropping this one - } @Override public boolean isUpgradable() { @@ -133,6 +129,9 @@ public class CorpseDust extends Item { Wraith.spawnAt(Random.element(candidates), DustWraith.class); Sample.INSTANCE.play(Assets.Sounds.CURSED); spawnPower -= powerNeeded; + } else { + //prevents excessive spawn power buildup + spawnPower = Math.min(spawnPower, 2*wraiths); } }