mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 20:11:59 -08:00
[TDM] Implement Attuned Hunter
This commit is contained in:
parent
8e767c4942
commit
ec3093e233
2 changed files with 50 additions and 0 deletions
49
Mage.Sets/src/mage/cards/a/AttunedHunter.java
Normal file
49
Mage.Sets/src/mage/cards/a/AttunedHunter.java
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
package mage.cards.a;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.CardsLeaveGraveyardTriggeredAbility;
|
||||
import mage.abilities.condition.common.MyTurnCondition;
|
||||
import mage.abilities.decorator.ConditionalTriggeredAbility;
|
||||
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 java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class AttunedHunter extends CardImpl {
|
||||
|
||||
public AttunedHunter(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{G}");
|
||||
|
||||
this.subtype.add(SubType.HUMAN);
|
||||
this.subtype.add(SubType.RANGER);
|
||||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// Trample
|
||||
this.addAbility(TrampleAbility.getInstance());
|
||||
|
||||
// Whenever one or more cards leave your graveyard during your turn, put a +1/+1 counter on this creature.
|
||||
this.addAbility(new ConditionalTriggeredAbility(
|
||||
new CardsLeaveGraveyardTriggeredAbility(new AddCountersSourceEffect(CounterType.P1P1.createInstance())),
|
||||
MyTurnCondition.instance, "Whenever one or more cards leave your graveyard " +
|
||||
"during your turn, put a +1/+1 counter on this creature."
|
||||
));
|
||||
}
|
||||
|
||||
private AttunedHunter(final AttunedHunter card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AttunedHunter copy() {
|
||||
return new AttunedHunter(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -26,6 +26,7 @@ public final class TarkirDragonstorm extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Agent of Kotis", 36, Rarity.COMMON, mage.cards.a.AgentOfKotis.class));
|
||||
cards.add(new SetCardInfo("Alesha's Legacy", 72, Rarity.COMMON, mage.cards.a.AleshasLegacy.class));
|
||||
cards.add(new SetCardInfo("Anafenza, Unyielding Lineage", 2, Rarity.RARE, mage.cards.a.AnafenzaUnyieldingLineage.class));
|
||||
cards.add(new SetCardInfo("Attuned Hunter", 135, Rarity.UNCOMMON, mage.cards.a.AttunedHunter.class));
|
||||
cards.add(new SetCardInfo("Auroral Procession", 169, Rarity.UNCOMMON, mage.cards.a.AuroralProcession.class));
|
||||
cards.add(new SetCardInfo("Awaken the Honored Dead", 170, Rarity.RARE, mage.cards.a.AwakenTheHonoredDead.class));
|
||||
cards.add(new SetCardInfo("Barrensteppe Siege", 171, Rarity.RARE, mage.cards.b.BarrensteppeSiege.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue