Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions Mage.Sets/src/mage/cards/k/KnightOfWundagore.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
package mage.cards.k;

import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.PutCounterOnPermanentTriggeredAbility;
import mage.abilities.effects.common.counter.AddCountersSourceEffect;
import mage.abilities.keyword.TrampleAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.counters.CounterType;
import mage.filter.StaticFilters;
import java.util.UUID;

/**
* @author muz
*/
public final class KnightOfWundagore extends CardImpl {

public KnightOfWundagore(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{G}");

this.subtype.add(SubType.CAT);
this.subtype.add(SubType.KNIGHT);
this.subtype.add(SubType.VILLAIN);

this.power = new MageInt(2);
this.toughness = new MageInt(1);

// Trample
this.addAbility(TrampleAbility.getInstance());

// Whenever you put a +1/+1 counter on another creature, put a +1/+1 counter on this creature. This ability triggers only once each turn.
Ability ability = new PutCounterOnPermanentTriggeredAbility(
new AddCountersSourceEffect(CounterType.P1P1.createInstance()),
CounterType.P1P1, StaticFilters.FILTER_ANOTHER_CREATURE
).setTriggersLimitEachTurn(1);
this.addAbility(ability);
}

private KnightOfWundagore(final KnightOfWundagore card) {
super(card);
}

@Override
public KnightOfWundagore copy() {
return new KnightOfWundagore(this);
}
}
1 change: 1 addition & 0 deletions Mage.Sets/src/mage/sets/MarvelSuperHeroes.java
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ private MarvelSuperHeroes() {
cards.add(new SetCardInfo("King T'Challa", 373, Rarity.MYTHIC, mage.cards.k.KingTChalla.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("King T'Challa", 399, Rarity.MYTHIC, mage.cards.k.KingTChalla.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Kingpin's Enforcers", 102, Rarity.COMMON, mage.cards.k.KingpinsEnforcers.class));
cards.add(new SetCardInfo("Knight of Wundagore", 175, Rarity.COMMON, mage.cards.k.KnightOfWundagore.class));
cards.add(new SetCardInfo("Kree Commandos", 19, Rarity.COMMON, mage.cards.k.KreeCommandos.class));
cards.add(new SetCardInfo("Kree Sentinel", 141, Rarity.COMMON, mage.cards.k.KreeSentinel.class));
cards.add(new SetCardInfo("Lightning Strike", 142, Rarity.COMMON, mage.cards.l.LightningStrike.class));
Expand Down
Loading