From 96f0673904f0e64cc3f44b84b08af90e96f38278 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Mon, 8 Dec 2025 11:38:27 -0500 Subject: [PATCH] v3.3.1: wand of regrowth is disallowed in tester area for now --- .../shatteredpixeldungeon/levels/VaultLevel.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/VaultLevel.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/VaultLevel.java index df126cf9f..cc032fea9 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/VaultLevel.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/VaultLevel.java @@ -33,6 +33,7 @@ import com.shatteredpixel.shatteredpixeldungeon.items.Generator; import com.shatteredpixel.shatteredpixeldungeon.items.Heap; import com.shatteredpixel.shatteredpixeldungeon.items.Item; import com.shatteredpixel.shatteredpixeldungeon.items.armor.Armor; +import com.shatteredpixel.shatteredpixeldungeon.items.wands.WandOfRegrowth; import com.shatteredpixel.shatteredpixeldungeon.items.weapon.melee.MeleeWeapon; import com.shatteredpixel.shatteredpixeldungeon.levels.features.LevelTransition; import com.shatteredpixel.shatteredpixeldungeon.levels.painters.Painter; @@ -189,6 +190,12 @@ public class VaultLevel extends Level { //for now Generator.Category.ARMOR, Generator.Category.WAND, Generator.Category.RING)); + + //regrowth is disallowed as it can be used to farm HP regen + if (item instanceof WandOfRegrowth){ + continue; + } + int pos; do { pos = pointToCell(n.random());