[CLB] Implemented Arms of Hadar

This commit is contained in:
Evan Kranzler 2022-05-30 11:11:46 -04:00
parent 34e8bb44d9
commit 4e83e05a58
2 changed files with 42 additions and 0 deletions

View file

@ -0,0 +1,41 @@
package mage.cards.a;
import mage.abilities.effects.common.continuous.BoostTargetEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.TargetController;
import mage.filter.FilterPermanent;
import mage.filter.common.FilterCreaturePermanent;
import mage.target.TargetPlayer;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class ArmsOfHadar extends CardImpl {
private static final FilterPermanent filter = new FilterCreaturePermanent("creatures target player controls");
static {
filter.add(TargetController.SOURCE_TARGETS.getControllerPredicate());
}
public ArmsOfHadar(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{3}{B}");
// Creatures target player controls get -2/-2 until end of turn.
this.getSpellAbility().addEffect(new BoostTargetEffect(-2, -2));
this.getSpellAbility().addTarget(new TargetPlayer());
}
private ArmsOfHadar(final ArmsOfHadar card) {
super(card);
}
@Override
public ArmsOfHadar copy() {
return new ArmsOfHadar(this);
}
}

View file

@ -38,6 +38,7 @@ public final class CommanderLegendsBattleForBaldursGate extends ExpansionSet {
cards.add(new SetCardInfo("Arcane Signet", 298, Rarity.UNCOMMON, mage.cards.a.ArcaneSignet.class));
cards.add(new SetCardInfo("Archivist of Oghma", 4, Rarity.RARE, mage.cards.a.ArchivistOfOghma.class));
cards.add(new SetCardInfo("Armor of Shadows", 112, Rarity.COMMON, mage.cards.a.ArmorOfShadows.class));
cards.add(new SetCardInfo("Arms of Hadar", 113, Rarity.COMMON, mage.cards.a.ArmsOfHadar.class));
cards.add(new SetCardInfo("Ascend from Avernus", 5, Rarity.RARE, mage.cards.a.AscendFromAvernus.class));
cards.add(new SetCardInfo("Astarion's Thirst", 114, Rarity.RARE, mage.cards.a.AstarionsThirst.class));
cards.add(new SetCardInfo("Astarion, the Decadent", 265, Rarity.RARE, mage.cards.a.AstarionTheDecadent.class));