forked from External/mage
[SPM] fix Gwen Stacy play land or cast spell
This commit is contained in:
parent
60c56aab2f
commit
2093091da2
1 changed files with 3 additions and 6 deletions
|
|
@ -1,9 +1,6 @@
|
||||||
package mage.cards.g;
|
package mage.cards.g;
|
||||||
|
|
||||||
import mage.abilities.common.ActivateAsSorceryActivatedAbility;
|
import mage.abilities.common.*;
|
||||||
import mage.abilities.common.ControllerPlaysLandTriggeredAbility;
|
|
||||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
|
||||||
import mage.abilities.common.SimpleActivatedAbility;
|
|
||||||
import mage.abilities.costs.common.RemoveCountersSourceCost;
|
import mage.abilities.costs.common.RemoveCountersSourceCost;
|
||||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||||
import mage.abilities.effects.common.ExileTopXMayPlayUntilEffect;
|
import mage.abilities.effects.common.ExileTopXMayPlayUntilEffect;
|
||||||
|
|
@ -51,8 +48,8 @@ public final class GwenStacy extends ModalDoubleFacedCard {
|
||||||
this.getRightHalfCard().addAbility(HasteAbility.getInstance());
|
this.getRightHalfCard().addAbility(HasteAbility.getInstance());
|
||||||
|
|
||||||
// Whenever you play a land from exile or cast a spell from exile, put a +1/+1 counter on Ghost-Spider.
|
// Whenever you play a land from exile or cast a spell from exile, put a +1/+1 counter on Ghost-Spider.
|
||||||
this.getRightHalfCard().addAbility(new ControllerPlaysLandTriggeredAbility(Zone.BATTLEFIELD,
|
this.getRightHalfCard().addAbility(new PlayLandOrCastSpellTriggeredAbility(
|
||||||
new AddCountersSourceEffect(CounterType.P1P1.createInstance()), false));
|
new AddCountersSourceEffect(CounterType.P1P1.createInstance()), true, false));
|
||||||
// Remove two counters from Ghost-Spider: Exile the top card of your library. You may play that card this turn.
|
// Remove two counters from Ghost-Spider: Exile the top card of your library. You may play that card this turn.
|
||||||
this.getRightHalfCard().addAbility(new SimpleActivatedAbility(
|
this.getRightHalfCard().addAbility(new SimpleActivatedAbility(
|
||||||
new ExileTopXMayPlayUntilEffect(1, Duration.EndOfTurn),
|
new ExileTopXMayPlayUntilEffect(1, Duration.EndOfTurn),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue