forked from External/mage
* Painful Quandary - Fixed that the triggered effect did not work.
This commit is contained in:
parent
87bf3408b3
commit
34bd8aefca
1 changed files with 4 additions and 1 deletions
|
|
@ -37,6 +37,9 @@ import mage.cards.CardImpl;
|
|||
import mage.constants.CardType;
|
||||
import mage.constants.Outcome;
|
||||
import mage.constants.Rarity;
|
||||
import mage.constants.SetTargetPointer;
|
||||
import mage.constants.Zone;
|
||||
import mage.filter.FilterSpell;
|
||||
import mage.game.Game;
|
||||
import mage.players.Player;
|
||||
import mage.target.common.TargetCardInHand;
|
||||
|
|
@ -52,7 +55,7 @@ public class PainfulQuandary extends CardImpl {
|
|||
this.expansionSetCode = "SOM";
|
||||
|
||||
// Whenever an opponent casts a spell, that player loses 5 life unless he or she discards a card.
|
||||
this.addAbility(new SpellCastOpponentTriggeredAbility(new PainfulQuandryEffect(), false));
|
||||
this.addAbility(new SpellCastOpponentTriggeredAbility(Zone.BATTLEFIELD, new PainfulQuandryEffect(), new FilterSpell(), false, SetTargetPointer.PLAYER));
|
||||
}
|
||||
|
||||
public PainfulQuandary(final PainfulQuandary card) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue