Examples of MyrToken


Examples of mage.game.permanent.token.MyrToken

    @Override
    public boolean apply(Game game, Ability source) {
        Cost cost = new GenericManaCost(1);
        cost.clearPaid();
        if (cost.pay(source, game, source.getSourceId(), source.getControllerId(), false)) {
            new MyrToken().putOntoBattlefield(1, game, source.getControllerId(), source.getControllerId());
        }
        return true;
    }
View Full Code Here

Examples of mage.game.permanent.token.MyrToken

        public MyrMatrix (UUID ownerId) {
        super(ownerId, 132, "Myr Matrix", Rarity.RARE, new CardType[]{CardType.ARTIFACT}, "{5}");
        this.expansionSetCode = "DST";
        this.addAbility(IndestructibleAbility.getInstance());
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostAllEffect(1, 1, Duration.WhileOnBattlefield, filter, false)));
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new CreateTokenEffect(new MyrToken()), new GenericManaCost(5)));

    }
View Full Code Here

Examples of mage.game.permanent.token.MyrToken

        this.addAbility(new BeginningOfUpkeepTriggeredAbility(new AddCountersSourceEffect(CounterType.CHARGE.createInstance()), TargetController.YOU, false));
        this.addAbility(new SpellCastControllerTriggeredAbility(new AddCountersSourceEffect(CounterType.CHARGE.createInstance()), filter, false));

        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD,
                new CreateTokenEffect(new MyrToken("NPH"), new CountersCount(CounterType.CHARGE)),
                new GenericManaCost(3));
        ability.addCost(new TapSourceCost());
        ability.addCost(new SacrificeSourceCost());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.game.permanent.token.MyrToken

        Permanent permanent = game.getPermanent(targetPointer.getFirst(game, source));
        if(permanent == null){
            permanent = (Permanent)game.getLastKnownInformation(targetPointer.getFirst(game, source), Zone.BATTLEFIELD);
        }
        if (permanent != null) {
            MyrToken token = new MyrToken();
            token.putOntoBattlefield(1, game, source.getSourceId(), permanent.getControllerId());
        }
        return true;
    }
View Full Code Here

Examples of mage.game.permanent.token.MyrToken

        this.getSpellAbility().addTarget(auraTarget);
        this.getSpellAbility().addEffect(new AttachEffect(Outcome.Sacrifice));
        Ability ability = new EnchantAbility(auraTarget.getTargetName());
        this.addAbility(ability);
        ability = new BeginningOfUpkeepTriggeredAbility(new ParasiticImplantEffect(), TargetController.YOU, false);
        ability.addEffect(new CreateTokenEffect(new MyrToken("NPH")));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.game.permanent.token.MyrToken

        super(ownerId, 116, "Myr Sire", Rarity.COMMON, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{2}");
        this.expansionSetCode = "MBS";
        this.subtype.add("Myr");
        this.power = new MageInt(1);
        this.toughness = new MageInt(1);
        this.addAbility(new DiesTriggeredAbility(new CreateTokenEffect(new MyrToken())));
    }
View Full Code Here

Examples of mage.game.permanent.token.MyrToken

    public MyrTurbine(UUID ownerId) {
        super(ownerId, 117, "Myr Turbine", Rarity.RARE, new CardType[]{CardType.ARTIFACT}, "{5}");
        this.expansionSetCode = "MBS";

        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD,
                new CreateTokenEffect(new MyrToken()),
                new TapSourceCost()));
        SimpleActivatedAbility ability = new SimpleActivatedAbility(Zone.BATTLEFIELD,
                new SearchLibraryPutInPlayEffect(new TargetCardInLibrary(filterCard)),
                new TapSourceCost());
        ability.addCost(new TapTargetCost(new TargetControlledPermanent(5, 5, filterMyr, true)));
View Full Code Here

Examples of mage.game.permanent.token.MyrToken

public class OriginSpellbomb extends CardImpl {

    public OriginSpellbomb (UUID ownerId) {
        super(ownerId, 189, "Origin Spellbomb", Rarity.COMMON, new CardType[]{CardType.ARTIFACT}, "{1}");
        this.expansionSetCode = "SOM";
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new CreateTokenEffect(new MyrToken(), 1), new GenericManaCost(1));
        ability.addCost(new TapSourceCost());
        ability.addCost(new SacrificeSourceCost());
        this.addAbility(ability);
        this.addAbility(new DiesTriggeredAbility(new DoIfCostPaid(new DrawCardSourceControllerEffect(1), new ManaCostsImpl("{W}")), false));
    }
View Full Code Here

Examples of mage.game.permanent.token.MyrToken

        this.subtype.add("Construct");
        this.power = new MageInt(4);
        this.toughness = new MageInt(7);

        // When Myr Battlesphere enters the battlefield, put four 1/1 colorless Myr artifact creature tokens onto the battlefield.
        this.addAbility(new EntersBattlefieldTriggeredAbility(new CreateTokenEffect(new MyrToken(), 4), false));

        // Whenever Myr Battlesphere attacks, you may tap X untapped Myr you control. If you do, Myr Battlesphere gets +X/+0 until end of turn and deals X damage to defending player.
        this.addAbility(new AttacksTriggeredAbility(new MyrBattlesphereEffect(), true));
    }
View Full Code Here

Examples of mage.game.permanent.token.MyrToken

    public MastersCall (UUID ownerId) {
        super(ownerId, 13, "Master's Call", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{2}{W}");
        this.expansionSetCode = "MBS";
        this.color.setWhite(true);
        this.getSpellAbility().addEffect(new CreateTokenEffect(new MyrToken(), 2));
    }
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.