Package mage.abilities.effects.common

Examples of mage.abilities.effects.common.ReturnToHandFromBattlefieldAllEffect


        // Flying
        this.addAbility(FlyingAbility.getInstance());
        // Morph {5}{U}{U}
        this.addAbility(new MorphAbility(this, new ManaCostsImpl("{5}{U}{U}")));
        // When Thousand Winds is turned face up, return all other tapped creatures to their owners' hands.
        this.addAbility(new TurnedFaceUpSourceTriggeredAbility(new ReturnToHandFromBattlefieldAllEffect(filter)));
    }
View Full Code Here


        this.expansionSetCode = "BNG";

        this.color.setBlue(true);

        // Return all creatures to their owners' hands except for Krakens, Leviathans, Octopuses and Serpents.
        Effect effect = new ReturnToHandFromBattlefieldAllEffect(filter);
        effect.setText("Return all creatures to their owners' hands except for Krakens, Leviathans, Octopuses and Serpents");
        this.getSpellAbility().addEffect(effect);
    }
View Full Code Here

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

        // When Llawan, Cephalid Empress enters the battlefield, return all blue creatures your opponents control to their owners' hands.
        this.addAbility(new EntersBattlefieldTriggeredAbility(new ReturnToHandFromBattlefieldAllEffect(filter), false));

        // Your opponents can't cast blue creature spells.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new LlawanCephalidRuleModifyingEffect()));
    }
View Full Code Here

        this.expansionSetCode = "GTC";

        this.color.setBlue(true);

        // Return all attacking creatures to their owners' hands.
        this.getSpellAbility().addEffect(new ReturnToHandFromBattlefieldAllEffect(new FilterAttackingCreature("attacking creatures")));
    }
View Full Code Here

            player.choose(outcome, choice, game);
            if (choice.getColor() != null) {
                game.informPlayers(new StringBuilder(player.getName()).append(" chooses ").append(choice.getColor()).toString());
                FilterPermanent filter = new FilterPermanent();
                filter.add(new ColorPredicate(choice.getColor()));
                new ReturnToHandFromBattlefieldAllEffect(filter).apply(game, source);
                return true;
            }
        }
        return false;
    }
View Full Code Here

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

        // When Kederekt Leviathan enters the battlefield, return all other nonland permanents to their owners' hands.
        this.addAbility(new EntersBattlefieldTriggeredAbility(new ReturnToHandFromBattlefieldAllEffect(filter)));
        // Unearth {6}{U}
        this.addAbility(new UnearthAbility(new ManaCostsImpl("{6}{U}")));
    }
View Full Code Here

        this.expansionSetCode = "ODY";

        this.color.setBlue(true);

        // Return all permanents to their owners' hands.
        this.getSpellAbility().addEffect(new ReturnToHandFromBattlefieldAllEffect(filter));
    }
View Full Code Here

        this.expansionSetCode = "EVE";

        this.color.setBlue(true);

        // Return all nonblue creatures to their owners' hands.
        this.getSpellAbility().addEffect(new ReturnToHandFromBattlefieldAllEffect(filter));
       
    }
View Full Code Here

TOP

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

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.