* Squandered Resources - Fixed that the ability was no mana ability (fixes #3259).

This commit is contained in:
LevelX2 2017-04-28 14:25:04 +02:00
parent 236608cd0f
commit 47de4cac6b

View file

@ -30,7 +30,6 @@ package mage.cards.s;
import mage.Mana; import mage.Mana;
import mage.abilities.Abilities; import mage.abilities.Abilities;
import mage.abilities.Ability; import mage.abilities.Ability;
import mage.abilities.common.SimpleActivatedAbility;
import mage.abilities.costs.Cost; import mage.abilities.costs.Cost;
import mage.abilities.costs.common.SacrificeTargetCost; import mage.abilities.costs.common.SacrificeTargetCost;
import mage.abilities.effects.common.ManaEffect; import mage.abilities.effects.common.ManaEffect;
@ -54,6 +53,7 @@ import mage.target.common.TargetControlledPermanent;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import java.util.UUID; import java.util.UUID;
import mage.abilities.mana.SimpleManaAbility;
/** /**
* *
@ -67,7 +67,7 @@ public class SquanderedResources extends CardImpl {
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{B}{G}"); super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{B}{G}");
// Sacrifice a land: Add to your mana pool one mana of any type the sacrificed land could produce. // Sacrifice a land: Add to your mana pool one mana of any type the sacrificed land could produce.
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new SquanderedResourcesEffect(), new SacrificeTargetCost(new TargetControlledPermanent(filter)))); this.addAbility(new SimpleManaAbility(Zone.BATTLEFIELD, new SquanderedResourcesEffect(), new SacrificeTargetCost(new TargetControlledPermanent(filter))));
} }
public SquanderedResources(final SquanderedResources card) { public SquanderedResources(final SquanderedResources card) {