mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 04:42:07 -08:00
[PIP] Implement Powder Ganger
This commit is contained in:
parent
fb0171ab29
commit
5438606ed3
2 changed files with 47 additions and 0 deletions
46
Mage.Sets/src/mage/cards/p/PowderGanger.java
Normal file
46
Mage.Sets/src/mage/cards/p/PowderGanger.java
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
package mage.cards.p;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.effects.common.DestroyTargetEffect;
|
||||
import mage.abilities.keyword.SquadAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.target.common.TargetArtifactPermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class PowderGanger extends CardImpl {
|
||||
|
||||
public PowderGanger(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{R}");
|
||||
|
||||
this.subtype.add(SubType.HUMAN);
|
||||
this.subtype.add(SubType.ROGUE);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// Squad {2}
|
||||
this.addAbility(new SquadAbility());
|
||||
|
||||
// When Powder Ganger enters the battlefield, destroy up to one target artifact.
|
||||
Ability ability = new EntersBattlefieldTriggeredAbility(new DestroyTargetEffect());
|
||||
ability.addTarget(new TargetArtifactPermanent(0, 1));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private PowderGanger(final PowderGanger card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PowderGanger copy() {
|
||||
return new PowderGanger(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -43,6 +43,7 @@ public final class Fallout extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Overflowing Basin", 152, Rarity.RARE, mage.cards.o.OverflowingBasin.class));
|
||||
cards.add(new SetCardInfo("Path of Ancestry", 279, Rarity.COMMON, mage.cards.p.PathOfAncestry.class));
|
||||
cards.add(new SetCardInfo("Plains", 845, Rarity.LAND, mage.cards.basiclands.Plains.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Powder Ganger", 65, Rarity.RARE, mage.cards.p.PowderGanger.class));
|
||||
cards.add(new SetCardInfo("Puresteel Paladin", 170, Rarity.RARE, mage.cards.p.PuresteelPaladin.class));
|
||||
cards.add(new SetCardInfo("Radstorm", 37, Rarity.RARE, mage.cards.r.Radstorm.class));
|
||||
cards.add(new SetCardInfo("Ravages of War", 882, Rarity.MYTHIC, mage.cards.r.RavagesOfWar.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue