Package mage.abilities.effects.common

Examples of mage.abilities.effects.common.ScryEffect


        this.color.setWhite(true);

        // Destroy all creatures and planeswalkers. If it's your turn, scry 2.
        this.getSpellAbility().addEffect(new DestroyAllEffect(filter, false));
        this.getSpellAbility().addEffect(new ConditionalOneShotEffect(new ScryEffect(2), MyTurnCondition.getInstance(), "If it's your turn, scry 2"));
    }
View Full Code Here


        this.color.setRed(true);

        // Bolt of Keranos deals 3 damage to target creature and/or player. Scry 1.
        this.getSpellAbility().addEffect(new DamageTargetEffect(3));
        this.getSpellAbility().addTarget(new TargetCreatureOrPlayer());
        this.getSpellAbility().addEffect(new ScryEffect(1));
    }
View Full Code Here

        // Put target creature card from a graveyard onto the battlefield under your control. It gains indestructible. If it's your turn, scry 2.
        this.getSpellAbility().addEffect(new ReturnFromGraveyardToBattlefieldTargetEffect());
        this.getSpellAbility().addTarget(new TargetCardInGraveyard(new FilterCreatureCard("creature card from a graveyard")));
        this.getSpellAbility().addEffect(new GainAbilityTargetEffect(IndestructibleAbility.getInstance(), Duration.Custom,
                "It gains indestructible"));
        this.getSpellAbility().addEffect(new ConditionalOneShotEffect(new ScryEffect(2), MyTurnCondition.getInstance(),
                "If it's your turn, scry 2 <i>(Look at the top two cards of your library, then put any number of them on the bottom of your library and the rest on top in any order.)</i>"));
    }
View Full Code Here

        this.getSpellAbility().addTarget(auraTarget);
        this.getSpellAbility().addEffect(new AttachEffect(Outcome.AddAbility));
        Ability ability = new EnchantAbility(auraTarget.getTargetName());
        this.addAbility(ability);
        // Enchanted creature has "{T}: Scry 1, then draw a card."
        ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new ScryEffect(1), new TapSourceCost());
        Effect effect = new DrawCardSourceControllerEffect(1);
        effect.setText("then draw a card");
        ability.addEffect(effect);
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAttachedEffect(ability, AttachmentType.AURA, Duration.WhileOnBattlefield)));
    }
View Full Code Here

        this.toughness = new MageInt(2);

        // Flying
        this.addAbility(FlyingAbility.getInstance());
        // <i>Heroic</i> - Whenever you cast a spell that targets Chorus of the Tides, scry 1.
        this.addAbility(new HeroicAbility(new ScryEffect(1)));
    }
View Full Code Here

        this.color.setGreen(true);

        // Put two 3/3 green Centaur enchantment creature tokens onto the battlefield. If it's your turn, scry 2.
        this.getSpellAbility().addEffect(new CreateTokenEffect(new CentaurEnchantmentCreatureToken(), 2));
        this.getSpellAbility().addEffect(new ConditionalOneShotEffect(new ScryEffect(2), MyTurnCondition.getInstance(), "If it's your turn, scry 2"));
    }
View Full Code Here

        this.expansionSetCode = "BNG";

        // Temple of Plenty enters the battlefield tapped.
        this.addAbility(new EntersBattlefieldTappedAbility());
        // When Temple of Plenty enters the battlefield, scry 1.
        this.addAbility(new EntersBattlefieldTriggeredAbility(new ScryEffect(1)));
        // {T}: Add {G} or {W} to your mana pool.
        this.addAbility(new GreenManaAbility());
        this.addAbility(new WhiteManaAbility());
    }
View Full Code Here

        this.color.setRed(true);

        // Choose target creature or player. Scry 3, then reveal the top card of your library. Riddle of Lightning deals damage equal to that card's converted mana cost to that creature or player.
        this.getSpellAbility().addTarget(new TargetCreatureOrPlayer());
        Effect effect = new ScryEffect(3);
        effect.setText("Choose target creature or player. Scry 3");
        this.getSpellAbility().addEffect(effect);
        this.getSpellAbility().addEffect(new RiddleOfLightningEffect());               
    }
View Full Code Here

        this.expansionSetCode = "JOU";

        // Temple of Malady enters the battlefield tapped.
        this.addAbility(new EntersBattlefieldTappedAbility());
        // When Temple of Malady enters the battlefield, scry 1.
        this.addAbility(new EntersBattlefieldTriggeredAbility(new ScryEffect(1)));
        // {T}: Add {B} or {G} to your mana pool.
        this.addAbility(new BlackManaAbility());
        this.addAbility(new GreenManaAbility());       
       
    }
View Full Code Here

        // Counter target spell. Scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.)
        this.getSpellAbility().addEffect(new CounterTargetEffect());
        Target target = new TargetSpell();
        this.getSpellAbility().addTarget(target);
        this.getSpellAbility().addEffect(new ScryEffect(1));
    }
View Full Code Here

TOP

Related Classes of mage.abilities.effects.common.ScryEffect

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.