v3.3.1: wand of regrowth is disallowed in tester area for now
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user