v2.0.0: fixed antimagic not resisting enchantmant damage

This commit is contained in:
Evan Debenham
2022-11-18 12:09:11 -05:00
parent ac71714da3
commit c23257ef54

View File

@@ -49,6 +49,9 @@ import com.shatteredpixel.shatteredpixeldungeon.items.wands.WandOfMagicMissile;
import com.shatteredpixel.shatteredpixeldungeon.items.wands.WandOfPrismaticLight;
import com.shatteredpixel.shatteredpixeldungeon.items.wands.WandOfTransfusion;
import com.shatteredpixel.shatteredpixeldungeon.items.wands.WandOfWarding;
import com.shatteredpixel.shatteredpixeldungeon.items.weapon.enchantments.Blazing;
import com.shatteredpixel.shatteredpixeldungeon.items.weapon.enchantments.Grim;
import com.shatteredpixel.shatteredpixeldungeon.items.weapon.enchantments.Shocking;
import com.shatteredpixel.shatteredpixeldungeon.items.weapon.missiles.ForceCube;
import com.shatteredpixel.shatteredpixeldungeon.levels.traps.DisintegrationTrap;
import com.shatteredpixel.shatteredpixeldungeon.levels.traps.GrimTrap;
@@ -88,6 +91,10 @@ public class AntiMagic extends Armor.Glyph {
RESISTS.add( WandOfTransfusion.class );
RESISTS.add( WandOfWarding.Ward.class );
RESISTS.add( Blazing.class );
RESISTS.add( Shocking.class );
RESISTS.add( Grim.class );
RESISTS.add( WarpBeacon.class );
RESISTS.add( DM100.LightningBolt.class );