Marek14 wrote:Can someone try
Demonic Pact? It has a new mechanic -- a modal ability that remembers which modes have been chosen and won't let you choose the same mode twice during the existence of the card.
Wow. I love the design of this card. I don't think we can handle this situation right now. We'd need a place to track subeffects that have been chosen already. And filter those out here:
- Code: Select all
public static List<AbilitySub> makePossibleOptions(final SpellAbility sa) {
final Card source = sa.getHostCard();
final String[] saChoices = sa.getParam("Choices").split(",");
List<AbilitySub> choices = new ArrayList<AbilitySub>();
for (final String saChoice : saChoices) {
final String ab = source.getSVar(saChoice);
AbilitySub sub = (AbilitySub) AbilityFactory.getAbility(ab, source);
sub.setTrigger(sa.isTrigger());
choices.add(sub);
}
return choices;
}
I'm curious about what happens to this trigger if you have a
Platinum Angel out and you make it to a 5th upkeep. I guess it might be similar to what should happen to triggers with no legal targets. They just don't go on the stack.
Edit: Oh I found it -
603.3c If a triggered ability is modal, its controller announces the mode choice when he or she puts the ability on the stack. If one of the modes would be illegal (due to an inability to choose legal targets, for example), that mode can't be chosen. If no mode can be chosen, the ability is removed from the stack. (See rule 700.2.)