mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 02:38:02 +00:00
- Fixed matchesValidSA.
This commit is contained in:
@@ -717,7 +717,7 @@ public class TargetSelection {
|
|||||||
*/
|
*/
|
||||||
private static boolean matchesValidSA(final SpellAbility sa, final String[] valids, final SpellAbility source) {
|
private static boolean matchesValidSA(final SpellAbility sa, final String[] valids, final SpellAbility source) {
|
||||||
final Card srcCard = source.getSourceCard();
|
final Card srcCard = source.getSourceCard();
|
||||||
final Player activatingPlayer = sa.getActivatingPlayer();
|
final Player activatingPlayer = source.getActivatingPlayer();
|
||||||
final Card c = sa.getSourceCard();
|
final Card c = sa.getSourceCard();
|
||||||
return c.isValid(valids, activatingPlayer, srcCard);
|
return c.isValid(valids, activatingPlayer, srcCard);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1351,7 +1351,6 @@ public class ComputerUtil {
|
|||||||
minSize = num;
|
minSize = num;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
System.out.println("AI lands: " + landList + combined + basics + minType);
|
|
||||||
|
|
||||||
if (minType != null) {
|
if (minType != null) {
|
||||||
landList = CardLists.getType(landList, minType);
|
landList = CardLists.getType(landList, minType);
|
||||||
|
|||||||
Reference in New Issue
Block a user