v0.3.5a: rot heart can no longer be feared

This commit is contained in:
Evan Debenham 2016-05-06 16:12:01 -04:00
parent e9161348fc
commit 1b9523a3b2

View File

@ -25,6 +25,7 @@ import com.shatteredpixel.shatteredpixeldungeon.actors.Char;
import com.shatteredpixel.shatteredpixeldungeon.actors.blobs.Blob; import com.shatteredpixel.shatteredpixeldungeon.actors.blobs.Blob;
import com.shatteredpixel.shatteredpixeldungeon.actors.blobs.ToxicGas; import com.shatteredpixel.shatteredpixeldungeon.actors.blobs.ToxicGas;
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Burning; import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Burning;
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Terror;
import com.shatteredpixel.shatteredpixeldungeon.plants.Rotberry; import com.shatteredpixel.shatteredpixeldungeon.plants.Rotberry;
import com.shatteredpixel.shatteredpixeldungeon.scenes.GameScene; import com.shatteredpixel.shatteredpixeldungeon.scenes.GameScene;
import com.shatteredpixel.shatteredpixeldungeon.sprites.RotHeartSprite; import com.shatteredpixel.shatteredpixeldungeon.sprites.RotHeartSprite;
@ -109,6 +110,7 @@ public class RotHeart extends Mob {
private static final HashSet<Class<?>> IMMUNITIES = new HashSet<>(); private static final HashSet<Class<?>> IMMUNITIES = new HashSet<>();
static { static {
IMMUNITIES.add( ToxicGas.class ); IMMUNITIES.add( ToxicGas.class );
IMMUNITIES.add( Terror.class );
} }
@Override @Override