mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
* Squandered Resources - Fixed that the ability was no mana ability (fixes #3259).
This commit is contained in:
parent
236608cd0f
commit
47de4cac6b
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue