[40K] Implemented Bone Sabres

This commit is contained in:
Evan Kranzler 2022-09-17 21:27:37 -04:00
parent 06c542cda8
commit 5a3bc1e813
2 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,45 @@
package mage.cards.b;
import mage.abilities.common.AttacksAttachedTriggeredAbility;
import mage.abilities.effects.common.counter.AddCountersTargetEffect;
import mage.abilities.keyword.EquipAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.AttachmentType;
import mage.constants.CardType;
import mage.constants.SetTargetPointer;
import mage.constants.SubType;
import mage.counters.CounterType;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class BoneSabres extends CardImpl {
public BoneSabres(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{2}{G}");
this.subtype.add(SubType.EQUIPMENT);
// Whenever equipped creature attacks, put four +1/+1 counters on it.
this.addAbility(new AttacksAttachedTriggeredAbility(
new AddCountersTargetEffect(CounterType.P1P1.createInstance(4))
.setText("put four +1/+1 counters on it"),
AttachmentType.EQUIPMENT, false, SetTargetPointer.PERMANENT
));
// Equip {3}
this.addAbility(new EquipAbility(3));
}
private BoneSabres(final BoneSabres card) {
super(card);
}
@Override
public BoneSabres copy() {
return new BoneSabres(this);
}
}

View file

@ -45,6 +45,7 @@ public final class Warhammer40000 extends ExpansionSet {
cards.add(new SetCardInfo("Blight Grenade", 31, Rarity.RARE, mage.cards.b.BlightGrenade.class));
cards.add(new SetCardInfo("Blood for the Blood God!", 108, Rarity.RARE, mage.cards.b.BloodForTheBloodGod.class));
cards.add(new SetCardInfo("Bloodcrusher of Khorne", 72, Rarity.UNCOMMON, mage.cards.b.BloodcrusherOfKhorne.class));
cards.add(new SetCardInfo("Bone Sabres", 88, Rarity.RARE, mage.cards.b.BoneSabres.class));
cards.add(new SetCardInfo("Brainstorm", 192, Rarity.COMMON, mage.cards.b.Brainstorm.class));
cards.add(new SetCardInfo("Bred for the Hunt", 222, Rarity.UNCOMMON, mage.cards.b.BredForTheHunt.class));
cards.add(new SetCardInfo("Broodlord", 89, Rarity.RARE, mage.cards.b.Broodlord.class));