mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
* Centaur Vinecrasher - Fixed that the triggered ability to return it to hand did not work.
This commit is contained in:
parent
3ff7b47b14
commit
990839e9f8
1 changed files with 4 additions and 2 deletions
|
@ -41,7 +41,9 @@ import mage.abilities.keyword.TrampleAbility;
|
|||
import mage.cards.CardImpl;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Rarity;
|
||||
import mage.constants.SetTargetPointer;
|
||||
import mage.constants.TargetController;
|
||||
import mage.constants.Zone;
|
||||
import mage.counters.CounterType;
|
||||
import mage.filter.common.FilterLandCard;
|
||||
|
||||
|
@ -66,9 +68,9 @@ public class CentaurVinecrasher extends CardImpl {
|
|||
effect.setText("with a number of +1/+1 counters on it equal to the number of land cards in all graveyards");
|
||||
this.addAbility(new EntersBattlefieldAbility(effect));
|
||||
// Whenever a land card is put into a graveyard from anywhere, you may pay {G}{G}. If you do, return Centaur Vinecrasher from your graveyard to your hand.
|
||||
this.addAbility(new PutCardIntoGraveFromAnywhereAllTriggeredAbility(
|
||||
this.addAbility(new PutCardIntoGraveFromAnywhereAllTriggeredAbility(Zone.GRAVEYARD,
|
||||
new DoIfCostPaid(new ReturnSourceFromGraveyardToHandEffect(), new ManaCostsImpl<>("{G}{G}")),
|
||||
false, new FilterLandCard("a land card"), TargetController.ANY
|
||||
false, new FilterLandCard("a land card"), TargetController.ANY, SetTargetPointer.NONE
|
||||
));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue