mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 04:42:07 -08:00
[PIP] Implement Pip-Boy 3000 (#12062)
This commit is contained in:
parent
31b3299899
commit
cad74151b1
2 changed files with 62 additions and 0 deletions
58
Mage.Sets/src/mage/cards/p/PipBoy3000.java
Normal file
58
Mage.Sets/src/mage/cards/p/PipBoy3000.java
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
package mage.cards.p;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.Mode;
|
||||
import mage.abilities.common.AttacksAttachedTriggeredAbility;
|
||||
import mage.abilities.effects.common.DrawDiscardControllerEffect;
|
||||
import mage.abilities.effects.common.UntapTargetEffect;
|
||||
import mage.abilities.effects.common.counter.AddCountersAttachedEffect;
|
||||
import mage.abilities.keyword.EquipAbility;
|
||||
import mage.constants.SubType;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.counters.CounterType;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.target.TargetPermanent;
|
||||
|
||||
/**
|
||||
* @author Cguy7777
|
||||
*/
|
||||
public final class PipBoy3000 extends CardImpl {
|
||||
|
||||
public PipBoy3000(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{1}");
|
||||
|
||||
this.subtype.add(SubType.EQUIPMENT);
|
||||
|
||||
// Whenever equipped creature attacks, choose one --
|
||||
// * Sort Inventory -- Draw a card, then discard a card.
|
||||
Ability ability = new AttacksAttachedTriggeredAbility(new DrawDiscardControllerEffect())
|
||||
.withFirstModeFlavorWord("Sort Inventory");
|
||||
|
||||
// * Pick a Perk -- Put a +1/+1 counter on that creature.
|
||||
ability.addMode(new Mode(
|
||||
new AddCountersAttachedEffect(CounterType.P1P1.createInstance(), "that creature"))
|
||||
.withFlavorWord("Pick a Perk"));
|
||||
|
||||
// * Check Map -- Untap up to two target lands.
|
||||
Mode mode = new Mode(new UntapTargetEffect());
|
||||
mode.addTarget(new TargetPermanent(0, 2, StaticFilters.FILTER_LANDS));
|
||||
ability.addMode(mode.withFlavorWord("Check Map"));
|
||||
this.addAbility(ability);
|
||||
|
||||
// Equip {2}
|
||||
this.addAbility(new EquipAbility(2, false));
|
||||
}
|
||||
|
||||
private PipBoy3000(final PipBoy3000 card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PipBoy3000 copy() {
|
||||
return new PipBoy3000(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -204,6 +204,10 @@ public final class Fallout extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Panharmonicon", 237, Rarity.RARE, mage.cards.p.Panharmonicon.class));
|
||||
cards.add(new SetCardInfo("Path of Ancestry", 279, Rarity.COMMON, mage.cards.p.PathOfAncestry.class));
|
||||
cards.add(new SetCardInfo("Path to Exile", 169, Rarity.UNCOMMON, mage.cards.p.PathToExile.class));
|
||||
cards.add(new SetCardInfo("Pip-Boy 3000", 140, Rarity.RARE, mage.cards.p.PipBoy3000.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Pip-Boy 3000", 435, Rarity.RARE, mage.cards.p.PipBoy3000.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Pip-Boy 3000", 668, Rarity.RARE, mage.cards.p.PipBoy3000.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Pip-Boy 3000", 963, Rarity.RARE, mage.cards.p.PipBoy3000.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Pitiless Plunderer", 187, Rarity.UNCOMMON, mage.cards.p.PitilessPlunderer.class));
|
||||
cards.add(new SetCardInfo("Plains", 317, Rarity.LAND, mage.cards.basiclands.Plains.class, FULL_ART_BFZ_VARIOUS));
|
||||
cards.add(new SetCardInfo("Powder Ganger", 65, Rarity.RARE, mage.cards.p.PowderGanger.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue