v0.9.2: fixed golden lotus being corruptable

This commit is contained in:
Evan Debenham
2021-02-18 19:20:38 -05:00
parent d81f527bf7
commit a35604ea8a

View File

@@ -26,6 +26,8 @@ import com.shatteredpixel.shatteredpixeldungeon.Dungeon;
import com.shatteredpixel.shatteredpixeldungeon.actors.Actor;
import com.shatteredpixel.shatteredpixeldungeon.actors.Char;
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Buff;
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Corruption;
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Doom;
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Roots;
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Hero;
import com.shatteredpixel.shatteredpixeldungeon.actors.mobs.npcs.NPC;
@@ -438,6 +440,11 @@ public class WandOfRegrowth extends Wand {
return true;
}
{
immunities.add(Corruption.class);
immunities.add(Doom.class);
}
@Override
public String description() {
return Messages.get(this, "desc", wandLvl, (int)(seedPreservation()*100), (int)(seedPreservation()*100) );