forked from External/mage
[DMU] Implemented Bog Badger
This commit is contained in:
parent
02e3dbfd4a
commit
10a03b352d
2 changed files with 51 additions and 0 deletions
50
Mage.Sets/src/mage/cards/b/BogBadger.java
Normal file
50
Mage.Sets/src/mage/cards/b/BogBadger.java
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
package mage.cards.b;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.condition.common.KickedCondition;
|
||||
import mage.abilities.decorator.ConditionalInterveningIfTriggeredAbility;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityControlledEffect;
|
||||
import mage.abilities.keyword.KickerAbility;
|
||||
import mage.abilities.keyword.MenaceAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class BogBadger extends CardImpl {
|
||||
|
||||
public BogBadger(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{G}");
|
||||
|
||||
this.subtype.add(SubType.BADGER);
|
||||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// Kicker {B}
|
||||
this.addAbility(new KickerAbility("{B}"));
|
||||
|
||||
// When Bog Badger enters the battlefield, if it was kicked, creatures you control gain menace until end of turn.
|
||||
this.addAbility(new ConditionalInterveningIfTriggeredAbility(
|
||||
new EntersBattlefieldTriggeredAbility(new GainAbilityControlledEffect(
|
||||
new MenaceAbility(false), Duration.EndOfTurn
|
||||
)), KickedCondition.ONCE, "When {this} enters the battlefield, " +
|
||||
"if it was kicked, creatures you control gain menace until end of turn."
|
||||
));
|
||||
}
|
||||
|
||||
private BogBadger(final BogBadger card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public BogBadger copy() {
|
||||
return new BogBadger(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -40,6 +40,7 @@ public final class DominariaUnited extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Astor, Bearer of Blades", 194, Rarity.RARE, mage.cards.a.AstorBearerOfBlades.class));
|
||||
cards.add(new SetCardInfo("Balduvian Atrocity", 79, Rarity.UNCOMMON, mage.cards.b.BalduvianAtrocity.class));
|
||||
cards.add(new SetCardInfo("Benalish Sleeper", 8, Rarity.COMMON, mage.cards.b.BenalishSleeper.class));
|
||||
cards.add(new SetCardInfo("Bog Badger", 156, Rarity.COMMON, mage.cards.b.BogBadger.class));
|
||||
cards.add(new SetCardInfo("Bortuk Bonerattle", 197, Rarity.UNCOMMON, mage.cards.b.BortukBonerattle.class));
|
||||
cards.add(new SetCardInfo("Braids, Arisen Nightmare", 84, Rarity.RARE, mage.cards.b.BraidsArisenNightmare.class));
|
||||
cards.add(new SetCardInfo("Caves of Koilos", 244, Rarity.RARE, mage.cards.c.CavesOfKoilos.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue