[TDM] Implement Agent of Kotis

This commit is contained in:
theelk801 2025-03-18 20:02:59 -04:00
parent 7d44e5d169
commit 249dfcf023
3 changed files with 54 additions and 0 deletions

View file

@ -0,0 +1,52 @@
package mage.cards.a;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.ActivateAsSorceryActivatedAbility;
import mage.abilities.costs.common.ExileSourceFromGraveCost;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.common.counter.AddCountersTargetEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.AbilityWord;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.constants.Zone;
import mage.counters.CounterType;
import mage.target.common.TargetCreaturePermanent;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class AgentOfKotis extends CardImpl {
public AgentOfKotis(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{U}");
this.subtype.add(SubType.HUMAN);
this.subtype.add(SubType.ROGUE);
this.power = new MageInt(2);
this.toughness = new MageInt(1);
// Renew -- {3}{U}, Exile this card from your graveyard: Put two +1/+1 counters on target creature. Activate only as a sorcery.
Ability ability = new ActivateAsSorceryActivatedAbility(
Zone.GRAVEYARD,
new AddCountersTargetEffect(CounterType.P1P1.createInstance()),
new ManaCostsImpl<>("{3}{U}")
);
ability.addCost(new ExileSourceFromGraveCost());
ability.addTarget(new TargetCreaturePermanent());
this.addAbility(ability.setAbilityWord(AbilityWord.RENEW));
}
private AgentOfKotis(final AgentOfKotis card) {
super(card);
}
@Override
public AgentOfKotis copy() {
return new AgentOfKotis(this);
}
}

View file

@ -20,6 +20,7 @@ public final class TarkirDragonstorm extends ExpansionSet {
this.blockName = "Tarkir: Dragonstorm"; // for sorting in GUI
this.hasBasicLands = false; // temporary
cards.add(new SetCardInfo("Agent of Kotis", 36, Rarity.COMMON, mage.cards.a.AgentOfKotis.class));
cards.add(new SetCardInfo("Barrensteppe Siege", 171, Rarity.RARE, mage.cards.b.BarrensteppeSiege.class));
cards.add(new SetCardInfo("Craterhoof Behemoth", 138, Rarity.MYTHIC, mage.cards.c.CraterhoofBehemoth.class));
cards.add(new SetCardInfo("Inevitable Defeat", 194, Rarity.RARE, mage.cards.i.InevitableDefeat.class));

View file

@ -51,6 +51,7 @@ public enum AbilityWord {
RADIANCE("Radiance"),
RAID("Raid"),
RALLY("Rally"),
RENEW("Renew"),
REVOLT("Revolt"),
SECRET_COUNCIL("Secret council"),
SPELL_MASTERY("Spell mastery"),