v0.7.4: ring of elements and antimagic now applies to wand damage
This commit is contained in:
parent
545cda0bba
commit
87f909d1fe
|
@ -29,6 +29,16 @@ import com.shatteredpixel.shatteredpixeldungeon.actors.mobs.Shaman;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.actors.mobs.Warlock;
|
import com.shatteredpixel.shatteredpixeldungeon.actors.mobs.Warlock;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.actors.mobs.Yog;
|
import com.shatteredpixel.shatteredpixeldungeon.actors.mobs.Yog;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.items.armor.Armor;
|
import com.shatteredpixel.shatteredpixeldungeon.items.armor.Armor;
|
||||||
|
import com.shatteredpixel.shatteredpixeldungeon.items.wands.WandOfBlastWave;
|
||||||
|
import com.shatteredpixel.shatteredpixeldungeon.items.wands.WandOfDisintegration;
|
||||||
|
import com.shatteredpixel.shatteredpixeldungeon.items.wands.WandOfFireblast;
|
||||||
|
import com.shatteredpixel.shatteredpixeldungeon.items.wands.WandOfFrost;
|
||||||
|
import com.shatteredpixel.shatteredpixeldungeon.items.wands.WandOfLightning;
|
||||||
|
import com.shatteredpixel.shatteredpixeldungeon.items.wands.WandOfLivingEarth;
|
||||||
|
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.levels.traps.DisintegrationTrap;
|
import com.shatteredpixel.shatteredpixeldungeon.levels.traps.DisintegrationTrap;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.levels.traps.GrimTrap;
|
import com.shatteredpixel.shatteredpixeldungeon.levels.traps.GrimTrap;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.sprites.ItemSprite;
|
import com.shatteredpixel.shatteredpixeldungeon.sprites.ItemSprite;
|
||||||
|
@ -48,6 +58,17 @@ public class AntiMagic extends Armor.Glyph {
|
||||||
RESISTS.add( DisintegrationTrap.class );
|
RESISTS.add( DisintegrationTrap.class );
|
||||||
RESISTS.add( GrimTrap.class );
|
RESISTS.add( GrimTrap.class );
|
||||||
|
|
||||||
|
RESISTS.add( WandOfBlastWave.class );
|
||||||
|
RESISTS.add( WandOfDisintegration.class );
|
||||||
|
RESISTS.add( WandOfFireblast.class );
|
||||||
|
RESISTS.add( WandOfFrost.class );
|
||||||
|
RESISTS.add( WandOfLightning.class );
|
||||||
|
RESISTS.add( WandOfLivingEarth.class );
|
||||||
|
RESISTS.add( WandOfMagicMissile.class );
|
||||||
|
RESISTS.add( WandOfPrismaticLight.class );
|
||||||
|
RESISTS.add( WandOfTransfusion.class );
|
||||||
|
RESISTS.add( WandOfWarding.Ward.class );
|
||||||
|
|
||||||
RESISTS.add( Shaman.LightningBolt.class );
|
RESISTS.add( Shaman.LightningBolt.class );
|
||||||
RESISTS.add( Warlock.DarkBolt.class );
|
RESISTS.add( Warlock.DarkBolt.class );
|
||||||
RESISTS.add( Eye.DeathGaze.class );
|
RESISTS.add( Eye.DeathGaze.class );
|
||||||
|
|
|
@ -37,6 +37,16 @@ import com.shatteredpixel.shatteredpixeldungeon.actors.mobs.Eye;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.actors.mobs.Shaman;
|
import com.shatteredpixel.shatteredpixeldungeon.actors.mobs.Shaman;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.actors.mobs.Warlock;
|
import com.shatteredpixel.shatteredpixeldungeon.actors.mobs.Warlock;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.actors.mobs.Yog;
|
import com.shatteredpixel.shatteredpixeldungeon.actors.mobs.Yog;
|
||||||
|
import com.shatteredpixel.shatteredpixeldungeon.items.wands.WandOfBlastWave;
|
||||||
|
import com.shatteredpixel.shatteredpixeldungeon.items.wands.WandOfDisintegration;
|
||||||
|
import com.shatteredpixel.shatteredpixeldungeon.items.wands.WandOfFireblast;
|
||||||
|
import com.shatteredpixel.shatteredpixeldungeon.items.wands.WandOfFrost;
|
||||||
|
import com.shatteredpixel.shatteredpixeldungeon.items.wands.WandOfLightning;
|
||||||
|
import com.shatteredpixel.shatteredpixeldungeon.items.wands.WandOfLivingEarth;
|
||||||
|
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.levels.traps.DisintegrationTrap;
|
import com.shatteredpixel.shatteredpixeldungeon.levels.traps.DisintegrationTrap;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.levels.traps.GrimTrap;
|
import com.shatteredpixel.shatteredpixeldungeon.levels.traps.GrimTrap;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.messages.Messages;
|
import com.shatteredpixel.shatteredpixeldungeon.messages.Messages;
|
||||||
|
@ -59,6 +69,7 @@ public class RingOfElements extends Ring {
|
||||||
return new Resistance();
|
return new Resistance();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//FIXME probably should add wands here
|
||||||
public static final HashSet<Class> RESISTS = new HashSet<>();
|
public static final HashSet<Class> RESISTS = new HashSet<>();
|
||||||
static {
|
static {
|
||||||
RESISTS.add( Burning.class );
|
RESISTS.add( Burning.class );
|
||||||
|
@ -74,6 +85,17 @@ public class RingOfElements extends Ring {
|
||||||
RESISTS.add( DisintegrationTrap.class );
|
RESISTS.add( DisintegrationTrap.class );
|
||||||
RESISTS.add( GrimTrap.class );
|
RESISTS.add( GrimTrap.class );
|
||||||
|
|
||||||
|
RESISTS.add( WandOfBlastWave.class );
|
||||||
|
RESISTS.add( WandOfDisintegration.class );
|
||||||
|
RESISTS.add( WandOfFireblast.class );
|
||||||
|
RESISTS.add( WandOfFrost.class );
|
||||||
|
RESISTS.add( WandOfLightning.class );
|
||||||
|
RESISTS.add( WandOfLivingEarth.class );
|
||||||
|
RESISTS.add( WandOfMagicMissile.class );
|
||||||
|
RESISTS.add( WandOfPrismaticLight.class );
|
||||||
|
RESISTS.add( WandOfTransfusion.class );
|
||||||
|
RESISTS.add( WandOfWarding.Ward.class );
|
||||||
|
|
||||||
RESISTS.add( ToxicGas.class );
|
RESISTS.add( ToxicGas.class );
|
||||||
RESISTS.add( Electricity.class );
|
RESISTS.add( Electricity.class );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user