forked from External/mage
[BLB] Implement Bakersbane Duo
This commit is contained in:
parent
560f9d9ec7
commit
5cead4ffae
2 changed files with 48 additions and 0 deletions
47
Mage.Sets/src/mage/cards/b/BakersbaneDuo.java
Normal file
47
Mage.Sets/src/mage/cards/b/BakersbaneDuo.java
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
package mage.cards.b;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.common.ExpendTriggeredAbility;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.abilities.effects.common.continuous.BoostSourceEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
import mage.game.permanent.token.FoodToken;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class BakersbaneDuo extends CardImpl {
|
||||
|
||||
public BakersbaneDuo(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{G}");
|
||||
|
||||
this.subtype.add(SubType.SQUIRREL);
|
||||
this.subtype.add(SubType.RACCOON);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// When Bakersbane Duo enters, create a Food token.
|
||||
this.addAbility(new EntersBattlefieldTriggeredAbility(new CreateTokenEffect(new FoodToken())));
|
||||
|
||||
// Whenever you expend 4, Bakersbane Duo gets +1/+1 until end of turn.
|
||||
this.addAbility(new ExpendTriggeredAbility(
|
||||
new BoostSourceEffect(1, 1, Duration.EndOfTurn), ExpendTriggeredAbility.Expend.FOUR
|
||||
));
|
||||
}
|
||||
|
||||
private BakersbaneDuo(final BakersbaneDuo card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public BakersbaneDuo copy() {
|
||||
return new BakersbaneDuo(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -21,6 +21,7 @@ public final class Bloomburrow extends ExpansionSet {
|
|||
this.hasBasicLands = true;
|
||||
this.hasBoosters = false; // temporary
|
||||
|
||||
cards.add(new SetCardInfo("Bakersbane Duo", 163, Rarity.COMMON, mage.cards.b.BakersbaneDuo.class));
|
||||
cards.add(new SetCardInfo("Banishing Light", 1, Rarity.COMMON, mage.cards.b.BanishingLight.class));
|
||||
cards.add(new SetCardInfo("Bark-Knuckle Boxer", 164, Rarity.UNCOMMON, mage.cards.b.BarkKnuckleBoxer.class));
|
||||
cards.add(new SetCardInfo("Barkform Harvester", 243, Rarity.COMMON, mage.cards.b.BarkformHarvester.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue