Basal Sliver: use SimpleManaAbility...

...instead of a custom SimpleActivatedAbility
This commit is contained in:
Luna Skyrise 2015-05-18 20:27:37 -03:00
parent 591c289627
commit 7f63ad02a6
2 changed files with 2 additions and 2 deletions

View file

@ -36,6 +36,7 @@ import mage.abilities.common.SimpleStaticAbility;
import mage.abilities.costs.common.SacrificeSourceCost;
import mage.abilities.effects.common.AddManaToManaPoolSourceControllerEffect;
import mage.abilities.effects.common.continuous.GainAbilityAllEffect;
import mage.abilities.mana.SimpleManaAbility;
import mage.cards.CardImpl;
import mage.constants.CardType;
import mage.constants.Duration;
@ -64,7 +65,7 @@ public class BasalSliver extends CardImpl {
this.toughness = new MageInt(2);
// All Slivers have "Sacrifice this permanent: Add {B}{B} to your mana pool."
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddManaToManaPoolSourceControllerEffect(Mana.BlackMana(2)), new SacrificeSourceCost());
Ability ability = new SimpleManaAbility(Zone.BATTLEFIELD, Mana.BlackMana(2), new SacrificeSourceCost());
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAllEffect(
ability, Duration.WhileOnBattlefield,
filter, "All Slivers have \"Sacrifice this permanent: Add {B}{B} to your mana pool.\"")));

View file

@ -34,7 +34,6 @@ import java.util.UUID;
import mage.Mana;
import mage.abilities.ActivatedAbilityImpl;
import mage.abilities.costs.Cost;
import mage.abilities.effects.Effect;
import mage.abilities.effects.common.ManaEffect;
import mage.constants.AbilityType;
import mage.constants.Zone;