mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
more fixes
This commit is contained in:
@@ -2849,6 +2849,12 @@ public class AbilityUtils {
|
||||
return doXMath(CardUtil.getColorsFromCards(list).countColors(), expr, c, ctb);
|
||||
}
|
||||
|
||||
if (sq[0].startsWith("ColorsDefined")) {
|
||||
final String restriction = l[0].substring(14);
|
||||
final CardCollection list = getDefinedCards(c, restriction, ctb);
|
||||
return doXMath(CardUtil.getColorsFromCards(list).countColors(), expr, c, ctb);
|
||||
}
|
||||
|
||||
// TODO move below to handlePaid
|
||||
if (sq[0].startsWith("SumPower")) {
|
||||
final String[] restrictions = l[0].split("_");
|
||||
|
||||
Reference in New Issue
Block a user