mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
Basal Sliver: use SimpleManaAbility...
...instead of a custom SimpleActivatedAbility
This commit is contained in:
parent
591c289627
commit
7f63ad02a6
2 changed files with 2 additions and 2 deletions
|
@ -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.\"")));
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue