Examples of TargetOpponent


Examples of mage.target.common.TargetOpponent

}

class MergimTriggeredAbility extends TriggeredAbilityImpl {
    MergimTriggeredAbility() {
        super(Zone.BATTLEFIELD, new DamageTargetEffect(2));
        this.addTarget(new TargetOpponent());
    }
View Full Code Here

Examples of mage.target.common.TargetOpponent

        this.color.setBlack(true);

        // Search target opponent's library for a card and exile it face down. Then that player shuffles his or her library. You may look at and play that card for as long as it remains exiled.
        this.getSpellAbility().addEffect(new PraetorsGraspEffect());
        this.getSpellAbility().addTarget(new TargetOpponent());

    }
View Full Code Here

Examples of mage.target.common.TargetOpponent

        this.color.setBlue(true);

        // Creatures and lands target opponent controls don't untap during his or her next untap step.
        this.getSpellAbility().addEffect(new ExhaustionEffect());
        this.getSpellAbility().addTarget(new TargetOpponent());
    }
View Full Code Here

Examples of mage.target.common.TargetOpponent

        this.power = new MageInt(3);
        this.toughness = new MageInt(3);

        // {tap}: Target opponent discards two cards. Activate this ability only during your turn, before attackers are declared.
        Ability ability = new ActivateIfConditionActivatedAbility(Zone.BATTLEFIELD, new DiscardTargetEffect(2), new TapSourceCost(), MyTurnBeforeAttackersDeclaredCondition.getInstance());
        ability.addTarget(new TargetOpponent());
        this.addAbility(ability);       
    }
View Full Code Here

Examples of mage.target.common.TargetOpponent

        this.color.setBlue(true);

        // Search target opponent's library for a creature card and put that card onto the battlefield under your control. Then that player shuffles his or her library.
        this.getSpellAbility().addEffect(new BriberyEffect());
        this.getSpellAbility().addTarget(new TargetOpponent());


    }
View Full Code Here

Examples of mage.target.common.TargetOpponent

        this.expansionSetCode = "PTK";

        this.color.setRed(true);

        // You destroy four lands you control, then target opponent destroys four lands he or she controls. Then Burning of Xinye deals 4 damage to each creature.
        this.getSpellAbility().addTarget(new TargetOpponent());
        this.getSpellAbility().addEffect(new BurningOfXinyeEffect());
        this.getSpellAbility().addEffect(new DamageAllEffect(4, new FilterCreaturePermanent()));
    }
View Full Code Here

Examples of mage.target.common.TargetOpponent

        ability.addEffect(effect);
        this.addAbility(ability);

        // When equipped creature dies, target opponent gains control of Avarice Amulet.
        ability = new DiesAttachedTriggeredAbility(new AvariceAmuletChangeControlEffect(), "equipped creature", false);
        ability.addTarget(new TargetOpponent());
        this.addAbility(ability);

        // Equip {2}
        this.addAbility(new EquipAbility(Outcome.AddAbility, new GenericManaCost(2)));
    }
View Full Code Here

Examples of mage.target.common.TargetOpponent

        this.getSpellAbility().addEffect(new PutOnLibraryTargetEffect(true));
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
        // - Jeskai Charm deals 4 damage to target opponent.
        Mode mode = new Mode();
        mode.getEffects().add(new DamageTargetEffect(4));
        mode.getTargets().add(new TargetOpponent());
        this.getSpellAbility().addMode(mode);
        // - Creatures you control get +1/+1 and gain lifelink until end of turn.
        mode = new Mode();
        Effect effect = new BoostControlledEffect(1,1, Duration.EndOfTurn);
        effect.setText("Creatures you control get +1/+1");
View Full Code Here

Examples of mage.target.common.TargetOpponent

        Effect effect = new LoseCreatureTypeSourceEffect(new DevotionCount(ColoredManaSymbol.W, ColoredManaSymbol.B), 7);
        effect.setText("As long as your devotion to white and black is less than seven, Athreos isn't a creature");
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, effect));       
        // Whenever another creature you own dies, return it to your hand unless target opponent pays 3 life.
        Ability ability = new AthreosDiesCreatureTriggeredAbility(new AthreosGodOfPassageReturnEffect(), false, filter);
        ability.addTarget(new TargetOpponent());
        this.addAbility(ability);
       
    }
View Full Code Here

Examples of mage.target.common.TargetOpponent

        // When Bloodhusk Ritualist enters the battlefield, target opponent discards a card for each time it was kicked.
        Ability ability = new ConditionalTriggeredAbility(
                new EntersBattlefieldTriggeredAbility(new DiscardTargetEffect(new MultikickerCount())),
                KickedCondition.getInstance(),
                "");
        ability.addTarget(new TargetOpponent());
        this.addAbility(ability);
    }
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.