v3.3.1: wand of regrowth is disallowed in tester area for now

This commit is contained in:
Evan Debenham
2025-12-08 11:38:27 -05:00
parent 53b1eb2535
commit 96f0673904

View File

@@ -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());