mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 04:42:07 -08:00
[M13] Switcheroo
This commit is contained in:
parent
e83dc29f4c
commit
d09f96ab55
2 changed files with 109 additions and 1 deletions
|
|
@ -27,9 +27,12 @@
|
|||
*/
|
||||
package mage.sets.magic2013;
|
||||
|
||||
import mage.Constants;
|
||||
import mage.Constants.CardType;
|
||||
import mage.Constants.Rarity;
|
||||
import mage.abilities.effects.common.continious.ExchangeControlTargetEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
|
|
@ -38,6 +41,8 @@ import java.util.UUID;
|
|||
*/
|
||||
public class Switcheroo extends CardImpl<Switcheroo> {
|
||||
|
||||
private static final String rule = "Exchange control of two target creatures";
|
||||
|
||||
public Switcheroo(UUID ownerId) {
|
||||
super(ownerId, 71, "Switcheroo", Rarity.UNCOMMON, new CardType[]{CardType.SORCERY}, "{4}{U}");
|
||||
this.expansionSetCode = "M13";
|
||||
|
|
@ -45,7 +50,8 @@ public class Switcheroo extends CardImpl<Switcheroo> {
|
|||
this.color.setBlue(true);
|
||||
|
||||
// Exchange control of two target creatures.
|
||||
// TODO: implement
|
||||
this.getSpellAbility().addEffect(new ExchangeControlTargetEffect(Constants.Duration.EndOfGame, rule));
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent(2));
|
||||
}
|
||||
|
||||
public Switcheroo(final Switcheroo card) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue