mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 11:32:00 -08:00
[MKM] Implement Anzrag, the Quake-Mole
This commit is contained in:
parent
287ddc1606
commit
ea814ecf0c
2 changed files with 57 additions and 0 deletions
56
Mage.Sets/src/mage/cards/a/AnzragTheQuakeMole.java
Normal file
56
Mage.Sets/src/mage/cards/a/AnzragTheQuakeMole.java
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
package mage.cards.a;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.BecomesBlockedSourceTriggeredAbility;
|
||||
import mage.abilities.common.SimpleActivatedAbility;
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.effects.common.AdditionalCombatPhaseEffect;
|
||||
import mage.abilities.effects.common.UntapAllEffect;
|
||||
import mage.abilities.effects.common.combat.MustBeBlockedByAtLeastOneSourceEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.SuperType;
|
||||
import mage.filter.StaticFilters;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class AnzragTheQuakeMole extends CardImpl {
|
||||
|
||||
public AnzragTheQuakeMole(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{R}{G}");
|
||||
|
||||
this.supertype.add(SuperType.LEGENDARY);
|
||||
this.subtype.add(SubType.MOLE);
|
||||
this.subtype.add(SubType.GOD);
|
||||
this.power = new MageInt(8);
|
||||
this.toughness = new MageInt(4);
|
||||
|
||||
// Whenever Anzrag, the Quake-Mole becomes blocked, untap each creature you control. After this combat phase, there is an additional combat phase.
|
||||
Ability ability = new BecomesBlockedSourceTriggeredAbility(
|
||||
new UntapAllEffect(StaticFilters.FILTER_CONTROLLED_CREATURE), false
|
||||
);
|
||||
ability.addEffect(new AdditionalCombatPhaseEffect()
|
||||
.setText("After this combat phase, there is an additional combat phase"));
|
||||
this.addAbility(ability);
|
||||
|
||||
// {3}{R}{R}{G}{G}: Anzrag must be blocked each combat this turn if able.
|
||||
this.addAbility(new SimpleActivatedAbility(new MustBeBlockedByAtLeastOneSourceEffect(Duration.EndOfTurn)
|
||||
.setText("{this} must be blocked each combat this turn if able"), new ManaCostsImpl<>("{3}{R}{R}{G}{G}")));
|
||||
}
|
||||
|
||||
private AnzragTheQuakeMole(final AnzragTheQuakeMole card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AnzragTheQuakeMole copy() {
|
||||
return new AnzragTheQuakeMole(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -29,6 +29,7 @@ public final class MurdersAtKarlovManor extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Aftermath Analyst", 148, Rarity.UNCOMMON, mage.cards.a.AftermathAnalyst.class));
|
||||
cards.add(new SetCardInfo("Alley Assailant", 76, Rarity.COMMON, mage.cards.a.AlleyAssailant.class));
|
||||
cards.add(new SetCardInfo("Alquist Proft, Master Sleuth", 185, Rarity.MYTHIC, mage.cards.a.AlquistProftMasterSleuth.class));
|
||||
cards.add(new SetCardInfo("Anzrag, the Quake-Mole", 186, Rarity.MYTHIC, mage.cards.a.AnzragTheQuakeMole.class));
|
||||
cards.add(new SetCardInfo("Assassin's Trophy", 187, Rarity.RARE, mage.cards.a.AssassinsTrophy.class));
|
||||
cards.add(new SetCardInfo("Audience with Trostani", 152, Rarity.RARE, mage.cards.a.AudienceWithTrostani.class));
|
||||
cards.add(new SetCardInfo("Aurelia, the Law Above", 188, Rarity.RARE, mage.cards.a.AureliaTheLawAbove.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue