Examples of DrawCardSourceControllerEffect


Examples of mage.abilities.effects.common.DrawCardSourceControllerEffect

        this.color.setBlue(true);
        this.power = new MageInt(2);
        this.toughness = new MageInt(2);

        // Whenever you cast an instant spell, you may pay {1}. If you do, draw a card.
        this.addAbility(new SpellCastControllerTriggeredAbility(new DoIfCostPaid(new DrawCardSourceControllerEffect(1), new GenericManaCost(1)), filter, false));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DrawCardSourceControllerEffect

    static {
            filter.add(new CardTypePredicate(CardType.CREATURE));
    }

    public GlimpseOfNatureTriggeredAbility() {
        super(new DrawCardSourceControllerEffect(1), Duration.EndOfTurn, false);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DrawCardSourceControllerEffect

        super(ownerId, 167, "Infiltration Lens", Rarity.UNCOMMON, new CardType[]{CardType.ARTIFACT}, "{1}");
        this.expansionSetCode = "SOM";
        this.subtype.add("Equipment");

        // Whenever equipped creature becomes blocked by a creature, you may draw two cards.
        this.addAbility(new EquippedBecomesBlockedTriggeredAbility(new DrawCardSourceControllerEffect(2), true));

        // Equip {1}
        this.addAbility(new EquipAbility(Outcome.AddAbility, new GenericManaCost(1)));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DrawCardSourceControllerEffect

        SimpleActivatedAbility ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new ExileGraveyardAllTargetPlayerEffect(), new TapSourceCost());
        ability.addCost(new SacrificeSourceCost());
        ability.addTarget(new TargetPlayer());
        this.addAbility(ability);
        // When Nihil Spellbomb is put into a graveyard from the battlefield, you may pay {B}. If you do, draw a card.
        this.addAbility(new DiesTriggeredAbility(new DoIfCostPaid(new DrawCardSourceControllerEffect(1), new ManaCostsImpl("{B}")), false));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DrawCardSourceControllerEffect

        this.getSpellAbility().addEffect(
                new GainAbilityTargetEffect(
                new SimpleStaticAbility(Zone.BATTLEFIELD, new MustBeBlockedByAtLeastOneTargetEffect()),
                Duration.EndOfTurn));
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
        this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DrawCardSourceControllerEffect

        this.getSpellAbility().addEffect(new AttachEffect(Outcome.AddAbility));
        Ability ability = new EnchantAbility(auraTarget.getTargetName());
        this.addAbility(ability);

        // When Karametra's Favor enters the battlefield, draw a card.
        this.addAbility(new EntersBattlefieldTriggeredAbility(new DrawCardSourceControllerEffect(1), false));

        // Enchanted creature has "{T}: Add one mana of any color to your mana pool."
        Effect effect = new GainAbilityAttachedEffect(new AnyColorManaAbility(), AttachmentType.AURA, Duration.WhileOnBattlefield);
        effect.setText("Enchanted creature has \"{T}: Add one mana of any color to your mana pool.\"");
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, effect));
View Full Code Here

Examples of mage.abilities.effects.common.DrawCardSourceControllerEffect

        this.toughness = new MageInt(1);

        //Prime Speaker Zegana enters the battlefield with X +1/+1 counters on it, where X is the greatest power among other creatures you control.
        this.addAbility(new EntersBattlefieldAbility(new AddCountersSourceEffect(CounterType.P1P1.createInstance(0), new greatestPowerCount(), true), "where X is the greatest power among other creatures you control"));
        //When Prime Speaker Zegana enters the battlefield, draw cards equal to its power.
        this.addAbility(new EntersBattlefieldTriggeredAbility(new DrawCardSourceControllerEffect(new SourcePermanentPowerCount())));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DrawCardSourceControllerEffect

        this.toughness = new MageInt(2);

        // Flying
        this.addAbility(FlyingAbility.getInstance());
        // <i>Inspired</i> - Whenever Sphinx's Disciple becomes untapped, draw a card.
        this.addAbility(new InspiredAbility(new DrawCardSourceControllerEffect(1)));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DrawCardSourceControllerEffect

        this.power = new MageInt(3);
        this.toughness = new MageInt(1);

        this.addAbility(FlyingAbility.getInstance());
        Ability ability = new DealsCombatDamageToAPlayerTriggeredAbility(new SacrificeSourceEffect(), true);
        ability.addEffect(new DrawCardSourceControllerEffect(3));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DrawCardSourceControllerEffect

        this.getSpellAbility().addTarget(auraTarget);
        this.getSpellAbility().addEffect(new AttachEffect(Outcome.AddAbility));
        Ability ability = new EnchantAbility(auraTarget.getTargetName());
        this.addAbility(ability);
        // When Grisly Transformation enters the battlefield, draw a card.
        this.addAbility(new EntersBattlefieldTriggeredAbility(new DrawCardSourceControllerEffect(1), false));
        // Enchanted creature has intimidate.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAttachedEffect(IntimidateAbility.getInstance(), AttachmentType.AURA, Duration.WhileOnBattlefield)));
    }
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.