mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 21:29:17 -08:00
[PIP] Implement Alpha Deathclaw
This commit is contained in:
parent
49093873c2
commit
10867fa923
2 changed files with 64 additions and 0 deletions
63
Mage.Sets/src/mage/cards/a/AlphaDeathclaw.java
Normal file
63
Mage.Sets/src/mage/cards/a/AlphaDeathclaw.java
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
package mage.cards.a;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.TriggeredAbility;
|
||||
import mage.abilities.common.BecomesMonstrousSourceTriggeredAbility;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.effects.common.DestroyTargetEffect;
|
||||
import mage.abilities.keyword.MenaceAbility;
|
||||
import mage.abilities.keyword.MonstrosityAbility;
|
||||
import mage.abilities.keyword.TrampleAbility;
|
||||
import mage.abilities.meta.OrTriggeredAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.Zone;
|
||||
import mage.target.TargetPermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author Susucr
|
||||
*/
|
||||
public final class AlphaDeathclaw extends CardImpl {
|
||||
|
||||
public AlphaDeathclaw(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{B}{G}");
|
||||
|
||||
this.subtype.add(SubType.LIZARD);
|
||||
this.subtype.add(SubType.MUTANT);
|
||||
this.power = new MageInt(6);
|
||||
this.toughness = new MageInt(6);
|
||||
|
||||
// Menace
|
||||
this.addAbility(new MenaceAbility());
|
||||
|
||||
// Trample
|
||||
this.addAbility(TrampleAbility.getInstance());
|
||||
|
||||
// When Alpha Deathclaw enters the battlefield or becomes monstrous, destroy target permanent.
|
||||
TriggeredAbility trigger = new OrTriggeredAbility(
|
||||
Zone.BATTLEFIELD,
|
||||
new DestroyTargetEffect(),
|
||||
new EntersBattlefieldTriggeredAbility(null),
|
||||
new BecomesMonstrousSourceTriggeredAbility(null)
|
||||
);
|
||||
trigger.setTriggerPhrase("When {this} enters the battlefield or becomes monstrous, ");
|
||||
trigger.addTarget(new TargetPermanent());
|
||||
this.addAbility(trigger);
|
||||
|
||||
// {5}{B}{G}: Monstrosity 4.
|
||||
this.addAbility(new MonstrosityAbility("{5}{G}{G}", 4));
|
||||
}
|
||||
|
||||
private AlphaDeathclaw(final AlphaDeathclaw card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AlphaDeathclaw copy() {
|
||||
return new AlphaDeathclaw(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -18,6 +18,7 @@ public final class Fallout extends ExpansionSet {
|
|||
private Fallout() {
|
||||
super("Fallout", "PIP", ExpansionSet.buildDate(2024, 3, 8), SetType.SUPPLEMENTAL);
|
||||
|
||||
cards.add(new SetCardInfo("Alpha Deathclaw", 91, Rarity.RARE, mage.cards.a.AlphaDeathclaw.class));
|
||||
cards.add(new SetCardInfo("Arcane Signet", 356, Rarity.UNCOMMON, mage.cards.a.ArcaneSignet.class));
|
||||
cards.add(new SetCardInfo("Command Tower", 259, Rarity.COMMON, mage.cards.c.CommandTower.class));
|
||||
cards.add(new SetCardInfo("Crucible of Worlds", 357, Rarity.MYTHIC, mage.cards.c.CrucibleOfWorlds.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue