mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
[ONE] Implement Goldwarden's Helm
This commit is contained in:
parent
693ab6c27b
commit
25147eb9db
2 changed files with 45 additions and 0 deletions
44
Mage.Sets/src/mage/cards/g/GoldwardensHelm.java
Normal file
44
Mage.Sets/src/mage/cards/g/GoldwardensHelm.java
Normal file
|
@ -0,0 +1,44 @@
|
|||
package mage.cards.g;
|
||||
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.effects.common.continuous.BoostEquippedEffect;
|
||||
import mage.abilities.keyword.EquipAbility;
|
||||
import mage.abilities.keyword.ForMirrodinAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Outcome;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class GoldwardensHelm extends CardImpl {
|
||||
|
||||
public GoldwardensHelm(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{2}{W}");
|
||||
|
||||
this.subtype.add(SubType.EQUIPMENT);
|
||||
|
||||
// For Mirrodin!
|
||||
this.addAbility(new ForMirrodinAbility());
|
||||
|
||||
// Equipped creature gets +0/+1.
|
||||
this.addAbility(new SimpleStaticAbility(new BoostEquippedEffect(0, 1)));
|
||||
|
||||
// Equip {1}{W}
|
||||
this.addAbility(new EquipAbility(Outcome.BoostCreature, new ManaCostsImpl<>("{1}{W}")));
|
||||
}
|
||||
|
||||
private GoldwardensHelm(final GoldwardensHelm card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public GoldwardensHelm copy() {
|
||||
return new GoldwardensHelm(this);
|
||||
}
|
||||
}
|
|
@ -61,6 +61,7 @@ public final class PhyrexiaAllWillBeOne extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Furnace Skullbomb", 228, Rarity.COMMON, mage.cards.f.FurnaceSkullbomb.class));
|
||||
cards.add(new SetCardInfo("Gitaxian Anatomist", 52, Rarity.COMMON, mage.cards.g.GitaxianAnatomist.class));
|
||||
cards.add(new SetCardInfo("Gleeful Demolition", 134, Rarity.UNCOMMON, mage.cards.g.GleefulDemolition.class));
|
||||
cards.add(new SetCardInfo("Goldwarden's Helm", 13, Rarity.COMMON, mage.cards.g.GoldwardensHelm.class));
|
||||
cards.add(new SetCardInfo("Goliath Hatchery", 408, Rarity.RARE, mage.cards.g.GoliathHatchery.class));
|
||||
cards.add(new SetCardInfo("Graaz, Unstoppable Juggernaut", 229, Rarity.RARE, mage.cards.g.GraazUnstoppableJuggernaut.class));
|
||||
cards.add(new SetCardInfo("Gulping Scraptrap", 96, Rarity.COMMON, mage.cards.g.GulpingScraptrap.class));
|
||||
|
|
Loading…
Reference in a new issue