Examples of PutOnLibraryTargetEffect


Examples of mage.abilities.effects.common.PutOnLibraryTargetEffect

        this.subtype.add("Beast");
        this.color.setGreen(true);
        this.color.setBlue(true);
        this.power = new MageInt(5);
        this.toughness = new MageInt(6);
        Ability ability = new EntersBattlefieldTriggeredAbility(new PutOnLibraryTargetEffect(true), false);
        Target target = new TargetControlledCreaturePermanent();
        target.setNotTarget(true);
        ability.addTarget(target);
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.PutOnLibraryTargetEffect

        this.expansionSetCode = "CHK";
        this.subtype.add("Spirit");
        this.color.setGreen(true);
        this.power = new MageInt(3);
        this.toughness = new MageInt(3);
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new PutOnLibraryTargetEffect(true), new ManaCostsImpl("{G}{G}"));
        ability.addCost(new SacrificeSourceCost());
        ability.addTarget(new TargetLandPermanent());
        this.addAbility(ability);
        this.addAbility(new SoulshiftAbility(3));
    }
View Full Code Here

Examples of mage.abilities.effects.common.PutOnLibraryTargetEffect

        this.getSpellAbility().addMode(mode);

        // or put target attacking or blocking creature on top of its owner's library.
        mode = new Mode();
        mode.getTargets().add(new TargetAttackingOrBlockingCreature());
        mode.getEffects().add(new PutOnLibraryTargetEffect(true));
        this.getSpellAbility().addMode(mode);
    }
View Full Code Here

Examples of mage.abilities.effects.common.PutOnLibraryTargetEffect

        Condition condition = new CompoundCondition("If an opponent controls a Forest and you control an Island",
                new OpponentControlsPermanentCondition(filterForest),
                new PermanentsOnTheBattlefieldCondition(filterIsland));
        this.addAbility(new AlternativeCostSourceAbility(null, condition));       
        // Put target creature on top of its owner's library.
        this.getSpellAbility().addEffect(new PutOnLibraryTargetEffect(true));
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
               
    }
View Full Code Here

Examples of mage.abilities.effects.common.PutOnLibraryTargetEffect

    public Excommunicate(UUID ownerId) {
        super(ownerId, 11, "Excommunicate", Rarity.COMMON, new CardType[]{CardType.SORCERY}, "{2}{W}");
        this.expansionSetCode = "ALA";
        this.color.setWhite(true);
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
        this.getSpellAbility().addEffect(new PutOnLibraryTargetEffect(true));
    }
View Full Code Here

Examples of mage.abilities.effects.common.PutOnLibraryTargetEffect

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

        // When Vedalken Dismisser enters the battlefield, put target creature on top of its owner's library.
        Ability ability = new EntersBattlefieldTriggeredAbility(new PutOnLibraryTargetEffect(true), false);
        ability.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.PutOnLibraryTargetEffect

        this.expansionSetCode = "GTC";

        this.color.setBlue(true);

        // Put target nonland permanent on top of its owner's library.
        this.getSpellAbility().addEffect(new PutOnLibraryTargetEffect(true));
        this.getSpellAbility().addTarget(new TargetNonlandPermanent());
    }
View Full Code Here

Examples of mage.abilities.effects.common.PutOnLibraryTargetEffect

    public TemporalSpring(UUID ownerId) {
        super(ownerId, 125, "Temporal Spring", Rarity.COMMON, new CardType[]{CardType.SORCERY}, "{1}{G}{U}");
        this.expansionSetCode = "APC";
        this.color.setBlue(true);
        this.color.setGreen(true);
        this.getSpellAbility().addEffect(new PutOnLibraryTargetEffect(true));
        this.getSpellAbility().addTarget(new TargetPermanent());
    }
View Full Code Here

Examples of mage.abilities.effects.common.PutOnLibraryTargetEffect

        Ability ability = new ConditionalTriggeredAbility(new EntersBattlefieldTriggeredAbility(new DiscardTargetEffect(1), true), new PermanentsOnTheBattlefieldCondition(filter, CountType.MORE_THAN, 1), rule, true);
        ability.addTarget(new TargetPlayer());
        this.addAbility(ability);
       
        // When Hag Hedge-Mage enters the battlefield, if you control two or more Forests, you may put target card from your graveyard on top of your library.
        Ability ability2 = new ConditionalTriggeredAbility(new EntersBattlefieldTriggeredAbility(new PutOnLibraryTargetEffect(true), true), new PermanentsOnTheBattlefieldCondition(filter2, CountType.MORE_THAN, 1), rule2, true);
        ability2.addTarget(new TargetCardInYourGraveyard());
        this.addAbility(ability2);
    }
View Full Code Here

Examples of mage.abilities.effects.common.PutOnLibraryTargetEffect

        this.color.setBlue(true);

        // Put target creature on top of its owner's library.
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
        this.getSpellAbility().addEffect(new PutOnLibraryTargetEffect(true));
    }
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.