forked from External/mage
[PIP] Implement Automated Assembly Line (#11939)
This commit is contained in:
parent
ad0cc35167
commit
5afeb5969f
2 changed files with 46 additions and 0 deletions
42
Mage.Sets/src/mage/cards/a/AutomatedAssemblyLine.java
Normal file
42
Mage.Sets/src/mage/cards/a/AutomatedAssemblyLine.java
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
package mage.cards.a;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.abilities.common.DealCombatDamageControlledTriggeredAbility;
|
||||
import mage.abilities.common.SimpleActivatedAbility;
|
||||
import mage.abilities.costs.common.PayEnergyCost;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.abilities.effects.common.counter.GetEnergyCountersControllerEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.game.permanent.token.RobotToken;
|
||||
|
||||
/**
|
||||
* @author Cguy7777
|
||||
*/
|
||||
public final class AutomatedAssemblyLine extends CardImpl {
|
||||
|
||||
public AutomatedAssemblyLine(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{1}{W}");
|
||||
|
||||
// Whenever one or more artifact creatures you control deal combat damage to a player, you get {E}.
|
||||
this.addAbility(new DealCombatDamageControlledTriggeredAbility(
|
||||
new GetEnergyCountersControllerEffect(1), StaticFilters.FILTER_PERMANENTS_ARTIFACT_CREATURE));
|
||||
|
||||
// Pay {E}{E}{E}: Create a tapped 3/3 colorless Robot artifact creature token.
|
||||
this.addAbility(new SimpleActivatedAbility(
|
||||
new CreateTokenEffect(new RobotToken(), 1, true),
|
||||
new PayEnergyCost(3)));
|
||||
}
|
||||
|
||||
private AutomatedAssemblyLine(final AutomatedAssemblyLine card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AutomatedAssemblyLine copy() {
|
||||
return new AutomatedAssemblyLine(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -34,6 +34,10 @@ public final class Fallout extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Assemble the Legion", 210, Rarity.RARE, mage.cards.a.AssembleTheLegion.class));
|
||||
cards.add(new SetCardInfo("Atomize", 94, Rarity.RARE, mage.cards.a.Atomize.class));
|
||||
cards.add(new SetCardInfo("Austere Command", 156, Rarity.RARE, mage.cards.a.AustereCommand.class));
|
||||
cards.add(new SetCardInfo("Automated Assembly Line", 10, Rarity.RARE, mage.cards.a.AutomatedAssemblyLine.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Automated Assembly Line", 363, Rarity.RARE, mage.cards.a.AutomatedAssemblyLine.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Automated Assembly Line", 538, Rarity.RARE, mage.cards.a.AutomatedAssemblyLine.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Automated Assembly Line", 891, Rarity.RARE, mage.cards.a.AutomatedAssemblyLine.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Ayula, Queen Among Bears", 348, Rarity.RARE, mage.cards.a.AyulaQueenAmongBears.class));
|
||||
cards.add(new SetCardInfo("Basilisk Collar", 225, Rarity.RARE, mage.cards.b.BasiliskCollar.class));
|
||||
cards.add(new SetCardInfo("Bastion of Remembrance", 182, Rarity.UNCOMMON, mage.cards.b.BastionOfRemembrance.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue