Examples of CantGainLifeAllEffect


Examples of mage.abilities.effects.common.continious.CantGainLifeAllEffect

        this.expansionSetCode = "GTC";

        this.color.setRed(true);

        // Players can't gain life this turn. Damage can't be prevented this turn. Skullcrack deals 3 damage to target player.
        this.getSpellAbility().addEffect(new CantGainLifeAllEffect(Duration.EndOfTurn));
        this.getSpellAbility().addEffect(new DamageCantBePreventedEffect());
        this.getSpellAbility().addEffect(new DamageTargetEffect(3));
        this.getSpellAbility().addTarget(new TargetPlayer());

    }
View Full Code Here

Examples of mage.abilities.effects.common.continious.CantGainLifeAllEffect

        this.expansionSetCode = "C13";

        this.color.setRed(true);

        // Players can't gain life.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CantGainLifeAllEffect()));
        // At the beginning of your upkeep, Witch Hunt deals 4 damage to you.
        this.addAbility(new BeginningOfUpkeepTriggeredAbility(Zone.BATTLEFIELD, new DamageControllerEffect(4), TargetController.YOU, false));
        // At the beginning of your end step, target opponent chosen at random gains control of Witch Hunt.
        Ability ability = new BeginningOfEndStepTriggeredAbility(Zone.BATTLEFIELD, new WitchHuntEffect(), TargetController.YOU, null, false);
        Target target = new TargetOpponent();
View Full Code Here

Examples of mage.abilities.effects.common.continious.CantGainLifeAllEffect

        this.color.setBlack(true);
        this.color.setRed(true);

        // Players can't gain life.
       this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CantGainLifeAllEffect()));

        // At the beginning of each player's upkeep, that player loses half his or her life, rounded up.
        Ability ability = new BeginningOfUpkeepTriggeredAbility(Zone.BATTLEFIELD, new HavocFestivalLoseLifeEffect(), TargetController.ANY, false);

        this.addAbility(ability);
View Full Code Here

Examples of mage.abilities.effects.common.continious.CantGainLifeAllEffect

        this.color.setRed(true);

        // At the beginning of each player's upkeep, Sulfuric Vortex deals 2 damage to that player.
        this.addAbility(new BeginningOfUpkeepTriggeredAbility(Zone.BATTLEFIELD, new DamageTargetEffect(2, true, "that player"), TargetController.ANY, false, true));       
        // If a player would gain life, that player gains no life instead.
        Effect effect = new CantGainLifeAllEffect(Duration.WhileOnBattlefield);
        effect.setText("If a player would gain life, that player gains no life instead");
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, effect));
       
    }
View Full Code Here

Examples of mage.abilities.effects.common.continious.CantGainLifeAllEffect

        this.color.setRed(true);

        // If Leyline of Punishment is in your opening hand, you may begin the game with it on the battlefield.
        this.addAbility(LeylineAbility.getInstance());
        // Players can't gain life.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CantGainLifeAllEffect()));
        // Damage can't be prevented.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new LeylineOfPunishmentEffect2()));
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.