Examples of UntapSourceEffect


Examples of mage.abilities.effects.common.UntapSourceEffect

        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new PreventDamageToTargetEffect(Duration.EndOfTurn, 1), new TapSourceCost());
        ability.addTarget(new TargetCreatureOrPlayer());
        this.addAbility(ability);
       
        // Put a -1/-1 counter on Barrenton Medic: Untap Barrenton Medic.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new UntapSourceEffect(), new PutCountersSourceCost(CounterType.M1M1.createInstance(1))));
    }
View Full Code Here

Examples of mage.abilities.effects.common.UntapSourceEffect

       
        // Deep-Slumber Titan doesn't untap during your untap step.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new SkipUntapSourceEffect()));
       
        // Whenever Deep-Slumber Titan is dealt damage, untap it.
        this.addAbility(new DealtDamageToSourceTriggeredAbility(Zone.BATTLEFIELD, new UntapSourceEffect(), false));
       
    }
View Full Code Here

Examples of mage.abilities.effects.common.UntapSourceEffect

                new ConditionalContinousEffect(
                new GainAbilitySourceEffect(new ProtectionAbility(filter), Duration.WhileOnBattlefield),
                new InvertCondition(new SourceTappedCondition()),
                "As long as {this} is untapped, it has protection from artifacts and from all colors")));
        // Whenever you cast a spell, you may untap Pristine Angel.
        this.addAbility(new SpellCastControllerTriggeredAbility(new UntapSourceEffect(), true));
    }
View Full Code Here

Examples of mage.abilities.effects.common.UntapSourceEffect

        this.toughness = new MageInt(2);

        // {tap}: Add {G} to your mana pool.
        this.addAbility(new GreenManaAbility());
        // Put a -1/-1 counter on Devoted Druid: Untap Devoted Druid.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new UntapSourceEffect(), new PutCountersSourceCost(CounterType.M1M1.createInstance())));
    }
View Full Code Here

Examples of mage.abilities.effects.common.UntapSourceEffect

        Ability ability = new ActivateIfConditionActivatedAbility(Zone.BATTLEFIELD, new DiscardTargetEffect(1), new TapSourceCost(), MyTurnCondition.getInstance());
        ability.addTarget(new TargetPlayer());
        this.addAbility(ability);

        // Put a -1/-1 counter on Cinderhaze Wretch: Untap Cinderhaze Wretch.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new UntapSourceEffect(), new PutCountersSourceCost(CounterType.M1M1.createInstance(1))));

    }
View Full Code Here

Examples of mage.abilities.effects.common.UntapSourceEffect

        // Colossus of Sardia doesn't untap during your untap step.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new SkipUntapSourceEffect()));

        // {9}: Untap Colossus of Sardia. Activate this ability only during your upkeep.
        this.addAbility(new ConditionalActivatedAbility(Zone.BATTLEFIELD,
                new UntapSourceEffect(), new ManaCostsImpl("{9}"), new IsStepCondition(PhaseStep.UPKEEP), null));
    }
View Full Code Here

Examples of mage.abilities.effects.common.UntapSourceEffect

        this.expansionSetCode = "10E";
        this.subtype.add("Crab");
        this.color.setBlue(true);
        this.power = new MageInt(1);
        this.toughness = new MageInt(3);
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new UntapSourceEffect(), new ColoredManaCost(ColoredManaSymbol.U)));
    }
View Full Code Here

Examples of mage.abilities.effects.common.UntapSourceEffect

        // Mana Vault doesn't untap during your untap step.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new SkipUntapSourceEffect()));
        // At the beginning of your upkeep, you may pay {4}. If you do, untap Mana Vault.
        this.addAbility(new BeginningOfUpkeepTriggeredAbility(
                Zone.BATTLEFIELD,
                new DoIfCostPaid(new UntapSourceEffect(), new GenericManaCost(4)),
                TargetController.YOU,
                false));
        // At the beginning of your draw step, if Mana Vault is tapped, it deals 1 damage to you.
        this.addAbility(new ConditionalTriggeredAbility(
                new BeginningOfDrawTriggeredAbility(Zone.BATTLEFIELD, new DamageControllerEffect(1), TargetController.YOU, false),
View Full Code Here

Examples of mage.abilities.effects.common.UntapSourceEffect

        this.toughness = new MageInt(1);

        // Goblin Sharpshooter doesn't untap during your untap step.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new SkipUntapSourceEffect()));
        // Whenever a creature dies, untap Goblin Sharpshooter.
        this.addAbility(new DiesCreatureTriggeredAbility(new UntapSourceEffect(), false));
        // {tap}: Goblin Sharpshooter deals 1 damage to target creature or player.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(1), new TapSourceCost());
        ability.addTarget(new TargetCreatureOrPlayer());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.UntapSourceEffect

        // Enchanted creature doesn't untap during its controller's untap step.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new SkipEnchantedUntapEffect()));

        // Enchanted creature has "{1}, Put a -1/-1 counter on this creature: Untap this creature.
        Ability ability2 = new SimpleActivatedAbility(Zone.BATTLEFIELD, new UntapSourceEffect(), new ManaCostsImpl("{1}"));
        ability2.addCost(new PutCountersSourceCost(CounterType.M1M1.createInstance()));
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAttachedEffect(ability2, AttachmentType.AURA, Duration.Custom, "Enchanted creature has \"{1}, Put a -1/-1 counter on this creature: Untap this creature.")));

    }
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.