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.Heap;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.items.Item;
|
import com.shatteredpixel.shatteredpixeldungeon.items.Item;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.items.armor.Armor;
|
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.items.weapon.melee.MeleeWeapon;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.levels.features.LevelTransition;
|
import com.shatteredpixel.shatteredpixeldungeon.levels.features.LevelTransition;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.levels.painters.Painter;
|
import com.shatteredpixel.shatteredpixeldungeon.levels.painters.Painter;
|
||||||
@@ -189,6 +190,12 @@ public class VaultLevel extends Level { //for now
|
|||||||
Generator.Category.ARMOR,
|
Generator.Category.ARMOR,
|
||||||
Generator.Category.WAND,
|
Generator.Category.WAND,
|
||||||
Generator.Category.RING));
|
Generator.Category.RING));
|
||||||
|
|
||||||
|
//regrowth is disallowed as it can be used to farm HP regen
|
||||||
|
if (item instanceof WandOfRegrowth){
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
int pos;
|
int pos;
|
||||||
do {
|
do {
|
||||||
pos = pointToCell(n.random());
|
pos = pointToCell(n.random());
|
||||||
|
|||||||
Reference in New Issue
Block a user