From 47de4cac6bedc951e6b50199468fcb82dbf0d8d0 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Fri, 28 Apr 2017 14:25:04 +0200 Subject: [PATCH] * Squandered Resources - Fixed that the ability was no mana ability (fixes #3259). --- Mage.Sets/src/mage/cards/s/SquanderedResources.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mage.Sets/src/mage/cards/s/SquanderedResources.java b/Mage.Sets/src/mage/cards/s/SquanderedResources.java index 21a2111de6..22ac6ff11e 100644 --- a/Mage.Sets/src/mage/cards/s/SquanderedResources.java +++ b/Mage.Sets/src/mage/cards/s/SquanderedResources.java @@ -30,7 +30,6 @@ package mage.cards.s; import mage.Mana; import mage.abilities.Abilities; import mage.abilities.Ability; -import mage.abilities.common.SimpleActivatedAbility; import mage.abilities.costs.Cost; import mage.abilities.costs.common.SacrificeTargetCost; import mage.abilities.effects.common.ManaEffect; @@ -54,6 +53,7 @@ import mage.target.common.TargetControlledPermanent; import java.util.ArrayList; import java.util.List; 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}"); // 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) {