[CMB1] Implement How to Keep an Izzet Mage Busy (#11135)

This commit is contained in:
Susucre 2023-09-09 21:32:49 +02:00 committed by GitHub
parent dc1e94648b
commit 072171f505
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,31 @@
package mage.cards.h;
import mage.abilities.effects.common.ReturnToHandSourceEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import java.util.UUID;
/**
* @author Susucr
*/
public final class HowToKeepAnIzzetMageBusy extends CardImpl {
public HowToKeepAnIzzetMageBusy(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{U/R}");
// Return How to Keep an Izzet Mage Busy to its owner's hand.
this.getSpellAbility().addEffect(new ReturnToHandSourceEffect());
}
private HowToKeepAnIzzetMageBusy(final HowToKeepAnIzzetMageBusy card) {
super(card);
}
@Override
public HowToKeepAnIzzetMageBusy copy() {
return new HowToKeepAnIzzetMageBusy(this);
}
}

View file

@ -23,6 +23,7 @@ public class MysteryBoosterPlaytest extends ExpansionSet {
this.hasBoosters = false;
this.hasBasicLands = false;
cards.add(new SetCardInfo("How to Keep an Izzet Mage Busy", 93, Rarity.RARE, mage.cards.h.HowToKeepAnIzzetMageBusy.class));
cards.add(new SetCardInfo("Slivdrazi Monstrosity", 102, Rarity.RARE, mage.cards.s.SlivdraziMonstrosity.class));
}