- Fixed a bug in ChooseSourceAi.

This commit is contained in:
Sloth
2014-02-04 19:55:45 +00:00
parent d4a2ae07df
commit acfe00d6db

View File

@@ -82,8 +82,7 @@ public class ChooseSourceAi extends SpellAbilityAi {
} }
final Card threatSource = topStack.getSourceCard(); final Card threatSource = topStack.getSourceCard();
List<? extends GameObject> objects = getTargets(sa); List<? extends GameObject> objects = getTargets(topStack);
if (!topStack.usesTargeting() && topStack.hasParam("ValidPlayers") && !topStack.hasParam("Defined")) { if (!topStack.usesTargeting() && topStack.hasParam("ValidPlayers") && !topStack.hasParam("Defined")) {
objects = AbilityUtils.getDefinedPlayers(threatSource, topStack.getParam("ValidPlayers"), topStack); objects = AbilityUtils.getDefinedPlayers(threatSource, topStack.getParam("ValidPlayers"), topStack);
} }