Package mage.abilities.keyword

Examples of mage.abilities.keyword.SplitSecondAbility


        this.subtype.add("Aura");

        this.color.setBlue(true);

        // Split second
        this.addAbility(new SplitSecondAbility());
        // Enchant permanent
        TargetPermanent auraTarget = new TargetPermanent();
        this.getSpellAbility().addTarget(auraTarget);
        this.getSpellAbility().addEffect(new AttachEffect(Outcome.GainControl));
        Ability ability = new EnchantAbility(auraTarget.getTargetName());
View Full Code Here


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

        this.addAbility(FlashAbility.getInstance());
        this.addAbility(new SplitSecondAbility());
        this.addAbility(FlyingAbility.getInstance());
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostControlledEffect(1, 1, Duration.WhileOnBattlefield, filter, true)));
    }
View Full Code Here

}

class MoltenDisasterTriggeredAbility extends TriggeredAbilityImpl {

    public MoltenDisasterTriggeredAbility() {
        super(Zone.HAND, new GainAbilitySourceEffect(new SplitSecondAbility(), Duration.WhileOnStack), false);
    }
View Full Code Here

        this.expansionSetCode = "TSP";

        this.color.setBlack(true);

        // Split second
        this.addAbility(new SplitSecondAbility());
        // Target creature gets -4/-4 until end of turn.
        this.getSpellAbility().addEffect(new BoostTargetEffect(-4, -4, Duration.EndOfTurn));
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
    }
View Full Code Here

        this.expansionSetCode = "PLC";

        this.color.setBlack(true);

        // Split second
        this.addAbility(new SplitSecondAbility());
        // Choose target card in a graveyard other than a basic land card. Search its owner's graveyard, hand, and library for all cards with the same name as that card and exile them. Then that player shuffles his or her library.
        this.getSpellAbility().addEffect(new ExtirpateEffect());
        this.getSpellAbility().addTarget(new TargetCardInGraveyard(filter));
    }
View Full Code Here

        this.expansionSetCode = "TSP";

        this.color.setBlue(true);

        // Split second
        this.addAbility(new SplitSecondAbility());

        // Counter target activated or triggered ability. If a permanent's ability is countered this way, activated abilities of that permanent can't be activated this turn.
        this.getSpellAbility().addEffect(new TrickbindCounterEffect());
        this.getSpellAbility().addTarget(new TargetActivatedOrTriggeredAbility());
    }
View Full Code Here

        this.toughness = new MageInt(2);

        // Flash
        this.addAbility(FlashAbility.getInstance());
        // Split second
        this.addAbility(new SplitSecondAbility());
        // White creatures get +1/-1.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostAllEffect(1,-1, Duration.WhileOnBattlefield, filter, false)));
    }
View Full Code Here

        this.expansionSetCode = "TSP";

        this.color.setGreen(true);

        // Split second
        this.addAbility(new SplitSecondAbility());
        // Destroy target artifact or enchantment.
        this.getSpellAbility().addTarget(new TargetPermanent(filter));
        this.getSpellAbility().addEffect(new DestroyTargetEffect());
    }
View Full Code Here

        this.expansionSetCode = "TSP";

        this.color.setBlack(true);

        // Split second
        this.addAbility(new SplitSecondAbility());
        // Until end of turn, creatures target player controls lose all abilities and have base power and toughness 0/2.
        this.getSpellAbility().addEffect(new SuddenSpoilingEffect(Duration.EndOfTurn));
        this.getSpellAbility().addTarget(new TargetPlayer());

    }
View Full Code Here

        this.expansionSetCode = "TSP";

        this.color.setWhite(true);

        // Split second
        this.addAbility(new SplitSecondAbility());
       
        // You can't lose the game this turn and your opponents can't win the game this turn. Until end of turn, damage that would reduce your life total to less than 1 reduces it to 1 instead.
        this.getSpellAbility().addEffect(new AngelsGraceEffect());
        this.getSpellAbility().addEffect(new AngelsGraceReplacementEffect());
    }
View Full Code Here

TOP

Related Classes of mage.abilities.keyword.SplitSecondAbility

Copyright © 2018 www.massapicom. 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.