From cf4ada4417b3da1b1f1cc0875eb2d7351655d877 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Thu, 12 Sep 2013 16:31:50 +0200 Subject: [PATCH] * Wirewood Lodge - Fixed that the land produces correctly colorless mana instead of green mana. --- .../mage/sets/onslaught/WirewoodLodge.java | 30 +++++++++---------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/Mage.Sets/src/mage/sets/onslaught/WirewoodLodge.java b/Mage.Sets/src/mage/sets/onslaught/WirewoodLodge.java index 35581b6b8c..f189c73c65 100644 --- a/Mage.Sets/src/mage/sets/onslaught/WirewoodLodge.java +++ b/Mage.Sets/src/mage/sets/onslaught/WirewoodLodge.java @@ -28,18 +28,15 @@ package mage.sets.onslaught; import java.util.UUID; - -import mage.constants.CardType; -import mage.constants.Rarity; import mage.abilities.Ability; import mage.abilities.common.SimpleActivatedAbility; -import mage.abilities.costs.Costs; -import mage.abilities.costs.CostsImpl; import mage.abilities.costs.common.TapSourceCost; import mage.abilities.costs.mana.ManaCostsImpl; import mage.abilities.effects.common.UntapTargetEffect; -import mage.abilities.mana.GreenManaAbility; +import mage.abilities.mana.ColorlessManaAbility; import mage.cards.CardImpl; +import mage.constants.CardType; +import mage.constants.Rarity; import mage.constants.Zone; import mage.filter.common.FilterCreaturePermanent; import mage.filter.predicate.mageobject.SubtypePredicate; @@ -50,6 +47,7 @@ import mage.target.common.TargetCreaturePermanent; * @author Melkhior */ public class WirewoodLodge extends CardImpl { + private static final FilterCreaturePermanent filter = new FilterCreaturePermanent("Elf"); static { filter.add(new SubtypePredicate("Elf")); @@ -58,15 +56,15 @@ public class WirewoodLodge extends CardImpl { public WirewoodLodge(UUID ownerId) { super(ownerId, 329, "Wirewood Lodge", Rarity.RARE, new CardType[]{CardType.LAND}, ""); this.expansionSetCode = "ONS"; - Ability greenManaAbility = new GreenManaAbility(); - this.addAbility(greenManaAbility); - Costs costs = new CostsImpl(); - costs.add(new TapSourceCost()); - costs.add(new ManaCostsImpl("{G}")); - Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new UntapTargetEffect(), costs); - TargetCreaturePermanent target = new TargetCreaturePermanent(filter); - ability.addTarget(target); - this.addAbility(ability); + + // {T}: Add {1} to your mana pool. + this.addAbility(new ColorlessManaAbility()); + + // {G}, {T}: Untap target Elf. + Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new UntapTargetEffect(), new ManaCostsImpl("{G}")); + ability.addCost(new TapSourceCost()); + ability.addTarget(new TargetCreaturePermanent(filter)); + this.addAbility(ability); } public WirewoodLodge(final WirewoodLodge card) { @@ -77,4 +75,4 @@ public class WirewoodLodge extends CardImpl { public WirewoodLodge copy() { return new WirewoodLodge(this); } -} \ No newline at end of file +}