mirror of
https://github.com/correl/mage.git
synced 2024-12-24 03:00:14 +00:00
* Eyes of the Wisent - Added missing check for "during your turn".
This commit is contained in:
parent
637c8d2566
commit
f6a05208f2
1 changed files with 6 additions and 3 deletions
|
@ -31,6 +31,8 @@ import java.util.UUID;
|
|||
import mage.MageInt;
|
||||
import mage.ObjectColor;
|
||||
import mage.abilities.common.SpellCastOpponentTriggeredAbility;
|
||||
import mage.abilities.condition.common.MyTurnCondition;
|
||||
import mage.abilities.decorator.ConditionalTriggeredAbility;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.constants.CardType;
|
||||
|
@ -59,7 +61,10 @@ public class EyesOfTheWisent extends CardImpl {
|
|||
this.color.setGreen(true);
|
||||
|
||||
// Whenever an opponent casts a blue spell during your turn, you may put a 4/4 green Elemental creature token onto the battlefield.
|
||||
this.addAbility(new SpellCastOpponentTriggeredAbility(new CreateTokenEffect(new EyesOfTheWisentElementalToken()), filter, true));
|
||||
this.addAbility(new ConditionalTriggeredAbility(
|
||||
new SpellCastOpponentTriggeredAbility(new CreateTokenEffect(new EyesOfTheWisentElementalToken()), filter, true),
|
||||
new MyTurnCondition(),
|
||||
"Whenever an opponent casts a blue spell during your turn, you may put a 4/4 green Elemental creature token onto the battlefield."));
|
||||
}
|
||||
|
||||
public EyesOfTheWisent(final EyesOfTheWisent card) {
|
||||
|
@ -82,8 +87,6 @@ class EyesOfTheWisentElementalToken extends Token {
|
|||
subtype.add("Elemental");
|
||||
power = new MageInt(4);
|
||||
toughness = new MageInt(4);
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in a new issue