mirror of
https://github.com/correl/mage.git
synced 2025-01-12 03:00:13 +00:00
[KHM] Implemented Axgard Braggart
This commit is contained in:
parent
38d759b937
commit
bddabe11b6
2 changed files with 46 additions and 0 deletions
45
Mage.Sets/src/mage/cards/a/AxgardBraggart.java
Normal file
45
Mage.Sets/src/mage/cards/a/AxgardBraggart.java
Normal file
|
@ -0,0 +1,45 @@
|
|||
package mage.cards.a;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.effects.common.UntapSourceEffect;
|
||||
import mage.abilities.effects.common.counter.AddCountersSourceEffect;
|
||||
import mage.abilities.keyword.BoastAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.counters.CounterType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class AxgardBraggart extends CardImpl {
|
||||
|
||||
public AxgardBraggart(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{W}");
|
||||
|
||||
this.subtype.add(SubType.DWARF);
|
||||
this.subtype.add(SubType.WARRIOR);
|
||||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// Boast — {1}{W}: Untap Axgard Braggart. Put a +1/+1 counter on it.
|
||||
Ability ability = new BoastAbility(new UntapSourceEffect(), "{1}{W}");
|
||||
ability.addEffect(new AddCountersSourceEffect(
|
||||
CounterType.P1P1.createInstance()
|
||||
).setText("Put a +1/+1 counter on it"));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private AxgardBraggart(final AxgardBraggart card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AxgardBraggart copy() {
|
||||
return new AxgardBraggart(this);
|
||||
}
|
||||
}
|
|
@ -67,6 +67,7 @@ public final class Kaldheim extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Arctic Treeline", 249, Rarity.COMMON, mage.cards.a.ArcticTreeline.class));
|
||||
cards.add(new SetCardInfo("Armed and Armored", 379, Rarity.UNCOMMON, mage.cards.a.ArmedAndArmored.class));
|
||||
cards.add(new SetCardInfo("Augury Raven", 44, Rarity.COMMON, mage.cards.a.AuguryRaven.class));
|
||||
cards.add(new SetCardInfo("Axgard Braggart", 1, Rarity.COMMON, mage.cards.a.AxgardBraggart.class));
|
||||
cards.add(new SetCardInfo("Axgard Cavalry", 121, Rarity.COMMON, mage.cards.a.AxgardCavalry.class));
|
||||
cards.add(new SetCardInfo("Barkchannel Pathway", 251, Rarity.RARE, mage.cards.b.BarkchannelPathway.class));
|
||||
cards.add(new SetCardInfo("Basalt Ravager", 122, Rarity.UNCOMMON, mage.cards.b.BasaltRavager.class));
|
||||
|
|
Loading…
Reference in a new issue