From 9eb8dd6ce5764d9b1d6c76a01d8a64b157771044 Mon Sep 17 00:00:00 2001 From: Oleg Agafonov Date: Fri, 12 Apr 2019 08:45:12 +0400 Subject: [PATCH] * Delve ability - improved text; --- .../java/mage/abilities/keyword/DelveAbility.java | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Mage/src/main/java/mage/abilities/keyword/DelveAbility.java b/Mage/src/main/java/mage/abilities/keyword/DelveAbility.java index 68055acec90..2855262cdb0 100644 --- a/Mage/src/main/java/mage/abilities/keyword/DelveAbility.java +++ b/Mage/src/main/java/mage/abilities/keyword/DelveAbility.java @@ -1,7 +1,5 @@ - package mage.abilities.keyword; -import java.util.List; import mage.Mana; import mage.abilities.Ability; import mage.abilities.SpecialAction; @@ -24,6 +22,8 @@ import mage.players.Player; import mage.target.common.TargetCardInYourGraveyard; import mage.util.CardUtil; +import java.util.List; + /** * 702.65. Delve 702.65a Delve is a static ability that functions while the * spell with delve is on the stack. “Delve” means “For each generic mana in @@ -31,7 +31,7 @@ import mage.util.CardUtil; * pay that mana.” The delve ability isn't an additional or alternative cost and * applies only after the total cost of the spell with delve is determined. * 702.65b Multiple instances of delve on the same spell are redundant. - * + *

* The rules for delve have changed slightly since it was last in an expansion. * Previously, delve reduced the cost to cast a spell. Under the current rules, * you exile cards from your graveyard at the same time you pay the spell's @@ -45,7 +45,7 @@ import mage.util.CardUtil; * it can be used in conjunction with alternative costs. * * @author LevelX2 - * + *

* TODO: Change card exiling to a way to pay mana costs, now it's maybe not * possible to pay costs from effects that increase the mana costs. */ @@ -83,7 +83,8 @@ public class DelveAbility extends SimpleStaticAbility implements AlternateManaPa unpaidAmount = 1; } specialAction.addCost(new ExileFromGraveCost(new TargetCardInYourGraveyard( - 0, Math.min(controller.getGraveyard().size(), unpaidAmount), new FilterCard(), true))); + 0, Math.min(controller.getGraveyard().size(), unpaidAmount), + new FilterCard("cards to exile for delve's pay from your graveyard"), true))); if (specialAction.canActivate(source.getControllerId(), game).canActivate()) { game.getState().getSpecialActions().add(specialAction); }