Skip to content

Commit

Permalink
fix verify failures
Browse files Browse the repository at this point in the history
  • Loading branch information
theelk801 committed Jan 26, 2025
1 parent 39dc40c commit 5502b75
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 15 deletions.
19 changes: 8 additions & 11 deletions Mage.Sets/src/mage/cards/w/WizenedMentor.java
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
package mage.cards.w;

import java.util.UUID;
import mage.MageInt;
import mage.abilities.TriggeredAbilityImpl;
import mage.abilities.effects.common.CreateTokenEffect;
import mage.cards.Card;
import mage.constants.SubType;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.constants.Zone;
import mage.game.Game;
import mage.game.events.GameEvent;
import mage.game.permanent.token.ZombieWhiteToken;
import mage.game.stack.StackAbility;

import java.util.UUID;

/**
*
* @author Grath
*/
public final class WizenedMentor extends CardImpl {

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

this.subtype.add(SubType.ZOMBIE);
this.subtype.add(SubType.CLERIC);
this.power = new MageInt(2);
this.toughness = new MageInt(2);

// Whenever an opponent activates an ability of a permanent that isn't a mana ability, you create a 1/1 white Zombie creature token. This ability triggers only once each turn.
this.addAbility(new WizenedMentorTriggeredAbility().setTriggersLimitEachTurn(1));
this.addAbility(new WizenedMentorTriggeredAbility());
}

private WizenedMentor(final WizenedMentor card) {
Expand All @@ -47,6 +47,8 @@ class WizenedMentorTriggeredAbility extends TriggeredAbilityImpl {

WizenedMentorTriggeredAbility() {
super(Zone.BATTLEFIELD, new CreateTokenEffect(new ZombieWhiteToken()));
setTriggerPhrase("Whenever an opponent activates an ability of a permanent that isn't a mana ability, you ");
setTriggersLimitEachTurn(1);
}

private WizenedMentorTriggeredAbility(final WizenedMentorTriggeredAbility ability) {
Expand Down Expand Up @@ -74,9 +76,4 @@ public boolean checkTrigger(GameEvent event, Game game) {
}
return false;
}

@Override
public String getRule() {
return "Whenever an opponent activates an ability of a permanent that isn’t a mana ability, you create a 1/1 white Zombie creature token. This ability triggers only once each turn.";
}
}
}
9 changes: 5 additions & 4 deletions Mage.Sets/src/mage/sets/AetherdriftCommander.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ private AetherdriftCommander() {
super("Aetherdrift Commander", "DRC", ExpansionSet.buildDate(2025, 1, 21), SetType.SUPPLEMENTAL);
this.hasBasicLands = false;

cards.add(new SetCardInfo("Academy Ruins", 58, Rarity.COMMON, mage.cards.a.AcademyRuins.class));
cards.add(new SetCardInfo("Academy Ruins", 58, Rarity.RARE, mage.cards.a.AcademyRuins.class));
cards.add(new SetCardInfo("Adarkar Wastes", 144, Rarity.RARE, mage.cards.a.AdarkarWastes.class));
cards.add(new SetCardInfo("Aether Hub", 145, Rarity.UNCOMMON, mage.cards.a.AetherHub.class));
cards.add(new SetCardInfo("Aethersquall Ancient", 68, Rarity.RARE, mage.cards.a.AethersquallAncient.class));
Expand All @@ -45,7 +45,7 @@ private AetherdriftCommander() {
cards.add(new SetCardInfo("Chain Reaction", 47, Rarity.RARE, mage.cards.c.ChainReaction.class));
cards.add(new SetCardInfo("Champion of Wits", 72, Rarity.RARE, mage.cards.c.ChampionOfWits.class));
cards.add(new SetCardInfo("Chaos Warp", 48, Rarity.RARE, mage.cards.c.ChaosWarp.class));
cards.add(new SetCardInfo("Chromatic Lantern", 53, Rarity.COMMON, mage.cards.c.ChromaticLantern.class));
cards.add(new SetCardInfo("Chromatic Lantern", 53, Rarity.RARE, mage.cards.c.ChromaticLantern.class));
cards.add(new SetCardInfo("Combustible Gearhulk", 102, Rarity.MYTHIC, mage.cards.c.CombustibleGearhulk.class));
cards.add(new SetCardInfo("Command Tower", 59, Rarity.COMMON, mage.cards.c.CommandTower.class));
cards.add(new SetCardInfo("Commander's Sphere", 125, Rarity.COMMON, mage.cards.c.CommandersSphere.class));
Expand All @@ -68,7 +68,7 @@ private AetherdriftCommander() {
cards.add(new SetCardInfo("Dread Summons", 90, Rarity.RARE, mage.cards.d.DreadSummons.class));
cards.add(new SetCardInfo("Dreadhorde Invasion", 91, Rarity.RARE, mage.cards.d.DreadhordeInvasion.class));
cards.add(new SetCardInfo("Drowned Catacomb", 152, Rarity.RARE, mage.cards.d.DrownedCatacomb.class));
cards.add(new SetCardInfo("Druid of Purification", 49, Rarity.COMMON, mage.cards.d.DruidOfPurification.class));
cards.add(new SetCardInfo("Druid of Purification", 49, Rarity.RARE, mage.cards.d.DruidOfPurification.class));
cards.add(new SetCardInfo("Duplicant", 54, Rarity.RARE, mage.cards.d.Duplicant.class));
cards.add(new SetCardInfo("Dusk // Dawn", 65, Rarity.RARE, mage.cards.d.DuskDawn.class));
cards.add(new SetCardInfo("Elder Gargaroth", 111, Rarity.MYTHIC, mage.cards.e.ElderGargaroth.class));
Expand Down Expand Up @@ -96,7 +96,7 @@ private AetherdriftCommander() {
cards.add(new SetCardInfo("Isolated Chapel", 162, Rarity.RARE, mage.cards.i.IsolatedChapel.class));
cards.add(new SetCardInfo("Karplusan Forest", 163, Rarity.RARE, mage.cards.k.KarplusanForest.class));
cards.add(new SetCardInfo("Lazotep Chancellor", 117, Rarity.UNCOMMON, mage.cards.l.LazotepChancellor.class));
cards.add(new SetCardInfo("Lightning Greaves", 55, Rarity.COMMON, mage.cards.l.LightningGreaves.class));
cards.add(new SetCardInfo("Lightning Greaves", 55, Rarity.UNCOMMON, mage.cards.l.LightningGreaves.class));
cards.add(new SetCardInfo("Lightning Runner", 103, Rarity.MYTHIC, mage.cards.l.LightningRunner.class));
cards.add(new SetCardInfo("Liliana, Death's Majesty", 94, Rarity.MYTHIC, mage.cards.l.LilianaDeathsMajesty.class));
cards.add(new SetCardInfo("Lord of the Accursed", 95, Rarity.UNCOMMON, mage.cards.l.LordOfTheAccursed.class));
Expand Down Expand Up @@ -165,5 +165,6 @@ private AetherdriftCommander() {
cards.add(new SetCardInfo("Whirler Virtuoso", 122, Rarity.UNCOMMON, mage.cards.w.WhirlerVirtuoso.class));
cards.add(new SetCardInfo("Wizened Mentor", 8, Rarity.RARE, mage.cards.w.WizenedMentor.class));
cards.add(new SetCardInfo("Yavimaya Coast", 184, Rarity.RARE, mage.cards.y.YavimayaCoast.class));
cards.add(new SetCardInfo("Zombie Master", 46, Rarity.RARE, mage.cards.z.ZombieMaster.class));
}
}
1 change: 1 addition & 0 deletions Utils/mtg-cards-data.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56905,6 +56905,7 @@ Gravecrawler|Aetherdrift Commander|43|R|{B}|Creature - Zombie|2|1|Gravecrawler c
Midnight Reaper|Aetherdrift Commander|44|R|{2}{B}|Creature - Zombie Knight|3|2|Whenever a nontoken creature you control dies, this creature deals 1 damage to you and you draw a card.|
Murderous Rider|Aetherdrift Commander|45|R|{1}{B}{B}|Creature - Zombie Knight|2|3|Lifelink$When Murderous Rider dies, put it on the bottom of its owner's library.|
Swift End|Aetherdrift Commander|45|R|{1}{B}{B}|Instant - Adventure|2|3|Destroy target creature or planeswalker. You lose 2 life.|
Zombie Master|Aetherdrift Commander|46|R|{1}{B}{B}|Creature - Zombie|2|3|Other Zombie creatures have swampwalk.$Other Zombies have "{B}: Regenerate this permanent."|
Chain Reaction|Aetherdrift Commander|47|R|{2}{R}{R}|Sorcery|||Chain Reaction deals X damage to each creature, where X is the number of creatures on the battlefield.|
Chaos Warp|Aetherdrift Commander|48|R|{2}{R}|Instant|||The owner of target permanent shuffles it into their library, then reveals the top card of their library. If it's a permanent card, they put it onto the battlefield.|
Druid of Purification|Aetherdrift Commander|49|R|{3}{G}|Creature - Human Druid|2|3|When Druid of Purification enters, starting with you, each player may choose an artifact or enchantment you don't control. Destroy each permanent chosen this way.|
Expand Down

0 comments on commit 5502b75

Please sign in to comment.