mirror of
https://github.com/correl/mage.git
synced 2025-03-12 17:00:08 -09:00
[MH2] Implemented Liquimetal Torque
This commit is contained in:
parent
f0bec66991
commit
173a713fa4
2 changed files with 44 additions and 0 deletions
43
Mage.Sets/src/mage/cards/l/LiquimetalTorque.java
Normal file
43
Mage.Sets/src/mage/cards/l/LiquimetalTorque.java
Normal file
|
@ -0,0 +1,43 @@
|
|||
package mage.cards.l;
|
||||
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.SimpleActivatedAbility;
|
||||
import mage.abilities.costs.common.TapSourceCost;
|
||||
import mage.abilities.effects.common.continuous.AddCardTypeTargetEffect;
|
||||
import mage.abilities.mana.ColorlessManaAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.target.common.TargetNonlandPermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class LiquimetalTorque extends CardImpl {
|
||||
|
||||
public LiquimetalTorque(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{2}");
|
||||
|
||||
// {T}: Add {C}.
|
||||
this.addAbility(new ColorlessManaAbility());
|
||||
|
||||
// {T}: Target nonland permanent becomes an artifact in addition to its other types until end of turn.
|
||||
Ability ability = new SimpleActivatedAbility(
|
||||
new AddCardTypeTargetEffect(Duration.EndOfTurn, CardType.ARTIFACT), new TapSourceCost()
|
||||
);
|
||||
ability.addTarget(new TargetNonlandPermanent());
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private LiquimetalTorque(final LiquimetalTorque card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LiquimetalTorque copy() {
|
||||
return new LiquimetalTorque(this);
|
||||
}
|
||||
}
|
|
@ -90,6 +90,7 @@ public final class ModernHorizons2 extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Landscaper Colos", 18, Rarity.COMMON, mage.cards.l.LandscaperColos.class));
|
||||
cards.add(new SetCardInfo("Late to Dinner", 19, Rarity.COMMON, mage.cards.l.LateToDinner.class));
|
||||
cards.add(new SetCardInfo("Legion Vanguard", 90, Rarity.UNCOMMON, mage.cards.l.LegionVanguard.class));
|
||||
cards.add(new SetCardInfo("Liquimetal Torque", 228, Rarity.UNCOMMON, mage.cards.l.LiquimetalTorque.class));
|
||||
cards.add(new SetCardInfo("Lose Focus", 49, Rarity.COMMON, mage.cards.l.LoseFocus.class));
|
||||
cards.add(new SetCardInfo("Lucid Dreams", 50, Rarity.UNCOMMON, mage.cards.l.LucidDreams.class));
|
||||
cards.add(new SetCardInfo("Marsh Flats", 248, Rarity.RARE, mage.cards.m.MarshFlats.class));
|
||||
|
|
Loading…
Add table
Reference in a new issue