mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
[DMU] Implemented Salvaged Manaworker
This commit is contained in:
parent
d91ffd95ec
commit
515cfdb7ee
2 changed files with 44 additions and 0 deletions
43
Mage.Sets/src/mage/cards/s/SalvagedManaworker.java
Normal file
43
Mage.Sets/src/mage/cards/s/SalvagedManaworker.java
Normal file
|
@ -0,0 +1,43 @@
|
|||
package mage.cards.s;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.costs.mana.GenericManaCost;
|
||||
import mage.abilities.effects.mana.AddManaOfAnyColorEffect;
|
||||
import mage.abilities.mana.ActivateOncePerTurnManaAbility;
|
||||
import mage.constants.SubType;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Zone;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author weirddan455
|
||||
*/
|
||||
public final class SalvagedManaworker extends CardImpl {
|
||||
|
||||
public SalvagedManaworker(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{2}");
|
||||
|
||||
this.subtype.add(SubType.CONSTRUCT);
|
||||
this.power = new MageInt(1);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// {1}: Add one mana of any color. Activate only once each turn.
|
||||
this.addAbility(new ActivateOncePerTurnManaAbility(
|
||||
Zone.BATTLEFIELD,
|
||||
new AddManaOfAnyColorEffect(),
|
||||
new GenericManaCost(1)
|
||||
));
|
||||
}
|
||||
|
||||
private SalvagedManaworker(final SalvagedManaworker card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public SalvagedManaworker copy() {
|
||||
return new SalvagedManaworker(this);
|
||||
}
|
||||
}
|
|
@ -160,6 +160,7 @@ public final class DominariaUnited extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Rulik Mons, Warren Chief", 217, Rarity.UNCOMMON, mage.cards.r.RulikMonsWarrenChief.class));
|
||||
cards.add(new SetCardInfo("Runic Shot", 30, Rarity.UNCOMMON, mage.cards.r.RunicShot.class));
|
||||
cards.add(new SetCardInfo("Sacred Peaks", 254, Rarity.COMMON, mage.cards.s.SacredPeaks.class));
|
||||
cards.add(new SetCardInfo("Salvaged Manaworker", 237, Rarity.COMMON, mage.cards.s.SalvagedManaworker.class));
|
||||
cards.add(new SetCardInfo("Samite Herbalist", 31, Rarity.COMMON, mage.cards.s.SamiteHerbalist.class));
|
||||
cards.add(new SetCardInfo("Scout the Wilderness", 176, Rarity.COMMON, mage.cards.s.ScoutTheWilderness.class));
|
||||
cards.add(new SetCardInfo("Sengir Connoisseur", 104, Rarity.UNCOMMON, mage.cards.s.SengirConnoisseur.class));
|
||||
|
|
Loading…
Reference in a new issue