mirror of
https://github.com/correl/mage.git
synced 2024-12-26 19:16:54 +00:00
Fixed not mandatory target of Consuming Vapors.
This commit is contained in:
parent
75ca4eb3e3
commit
01a610746b
1 changed files with 6 additions and 1 deletions
|
@ -58,8 +58,12 @@ public class ConsumingVapors extends CardImpl<ConsumingVapors> {
|
|||
this.expansionSetCode = "ROE";
|
||||
|
||||
this.color.setBlack(true);
|
||||
|
||||
// Target player sacrifices a creature. You gain life equal to that creature's toughness.
|
||||
this.getSpellAbility().addEffect(new ConsumingVaporsEffect());
|
||||
this.getSpellAbility().addTarget(new TargetPlayer());
|
||||
|
||||
// Rebound (If you cast this spell from your hand, exile it as it resolves. At the beginning of your next upkeep, you may cast this card from exile without paying its mana cost.)
|
||||
this.addAbility(new ReboundAbility());
|
||||
}
|
||||
|
||||
|
@ -92,7 +96,8 @@ class ConsumingVaporsEffect extends OneShotEffect<ConsumingVaporsEffect> {
|
|||
FilterControlledPermanent filter = new FilterControlledPermanent("creature");
|
||||
filter.add(new CardTypePredicate(CardType.CREATURE));
|
||||
filter.add(new ControllerPredicate(TargetController.YOU));
|
||||
TargetControlledPermanent target = new TargetControlledPermanent(1, 1, filter, false);
|
||||
TargetControlledPermanent target = new TargetControlledPermanent(1, 1, filter, true);
|
||||
target.setRequired(true);
|
||||
|
||||
//A spell or ability could have removed the only legal target this player
|
||||
//had, if thats the case this ability should fizzle.
|
||||
|
|
Loading…
Reference in a new issue