mirror of
https://github.com/correl/mage.git
synced 2024-12-29 11:09:17 +00:00
[MOM] Implement Bola Slinger
This commit is contained in:
parent
9059ed31eb
commit
604877c12b
2 changed files with 49 additions and 0 deletions
48
Mage.Sets/src/mage/cards/b/BolaSlinger.java
Normal file
48
Mage.Sets/src/mage/cards/b/BolaSlinger.java
Normal file
|
@ -0,0 +1,48 @@
|
|||
package mage.cards.b;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.AttacksTriggeredAbility;
|
||||
import mage.abilities.effects.common.TapTargetEffect;
|
||||
import mage.abilities.keyword.BackupAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.target.TargetPermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class BolaSlinger extends CardImpl {
|
||||
|
||||
public BolaSlinger(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{W}");
|
||||
|
||||
this.subtype.add(SubType.CAT);
|
||||
this.subtype.add(SubType.SOLDIER);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// Backup 1
|
||||
BackupAbility backupAbility = new BackupAbility(this, 1);
|
||||
this.addAbility(backupAbility);
|
||||
|
||||
// Whenever this creature attacks, tap target artifact or creature an opponent controls.
|
||||
Ability ability = new AttacksTriggeredAbility(new TapTargetEffect()).setTriggerPhrase("Whenever this creature attacks, ");
|
||||
ability.addTarget(new TargetPermanent(StaticFilters.FILTER_OPPONENTS_PERMANENT_ARTIFACT_OR_CREATURE));
|
||||
backupAbility.addAbility(ability);
|
||||
}
|
||||
|
||||
private BolaSlinger(final BolaSlinger card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public BolaSlinger copy() {
|
||||
return new BolaSlinger(this);
|
||||
}
|
||||
}
|
|
@ -42,6 +42,7 @@ public final class MarchOfTheMachine extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Bloated Processor", 93, Rarity.RARE, mage.cards.b.BloatedProcessor.class));
|
||||
cards.add(new SetCardInfo("Bloodfell Caves", 267, Rarity.COMMON, mage.cards.b.BloodfellCaves.class));
|
||||
cards.add(new SetCardInfo("Blossoming Sands", 268, Rarity.COMMON, mage.cards.b.BlossomingSands.class));
|
||||
cards.add(new SetCardInfo("Bola Slinger", 8, Rarity.COMMON, mage.cards.b.BolaSlinger.class));
|
||||
cards.add(new SetCardInfo("Bonded Herdbeast", 178, Rarity.COMMON, mage.cards.b.BondedHerdbeast.class));
|
||||
cards.add(new SetCardInfo("Boon-Bringer Valkyrie", 9, Rarity.RARE, mage.cards.b.BoonBringerValkyrie.class));
|
||||
cards.add(new SetCardInfo("Borborygmos and Fblthp", 219, Rarity.MYTHIC, mage.cards.b.BorborygmosAndFblthp.class));
|
||||
|
|
Loading…
Reference in a new issue