[UNF] Implemented One-Clown Band

This commit is contained in:
Evan Kranzler 2022-09-28 08:35:25 -04:00
parent b319415165
commit 84f4a35553
2 changed files with 50 additions and 0 deletions

View file

@ -0,0 +1,49 @@
package mage.cards.o;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.SimpleActivatedAbility;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.common.continuous.BoostTargetEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.filter.FilterPermanent;
import mage.target.TargetPermanent;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class OneClownBand extends CardImpl {
private static final FilterPermanent filter = new FilterPermanent(SubType.ROBOT, "Robot");
public OneClownBand(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{1}{R}");
this.subtype.add(SubType.CLOWN);
this.subtype.add(SubType.ROBOT);
this.subtype.add(SubType.BARD);
this.power = new MageInt(1);
this.toughness = new MageInt(3);
// {2}{R}: Target Robot gets +2/+0 until end of turn.
Ability ability = new SimpleActivatedAbility(
new BoostTargetEffect(2, 0), new ManaCostsImpl<>("{2}{R}")
);
ability.addTarget(new TargetPermanent(filter));
this.addAbility(ability);
}
private OneClownBand(final OneClownBand card) {
super(card);
}
@Override
public OneClownBand copy() {
return new OneClownBand(this);
}
}

View file

@ -33,6 +33,7 @@ public final class Unfinity extends ExpansionSet {
cards.add(new SetCardInfo("Lila, Hospitality Hostess", 170, Rarity.MYTHIC, mage.cards.l.LilaHospitalityHostess.class));
cards.add(new SetCardInfo("Monoxa, Midway Manager", 173, Rarity.UNCOMMON, mage.cards.m.MonoxaMidwayManager.class));
cards.add(new SetCardInfo("Mountain", 238, Rarity.LAND, mage.cards.basiclands.Mountain.class, FULL_ART_BFZ_VARIOUS));
cards.add(new SetCardInfo("One-Clown Band", 117, Rarity.COMMON, mage.cards.o.OneClownBand.class));
cards.add(new SetCardInfo("Overgrown Tomb", 284, Rarity.RARE, mage.cards.o.OvergrownTomb.class));
cards.add(new SetCardInfo("Plains", 235, Rarity.LAND, mage.cards.basiclands.Plains.class, FULL_ART_BFZ_VARIOUS));
cards.add(new SetCardInfo("Sacred Foundry", 285, Rarity.RARE, mage.cards.s.SacredFoundry.class));