Merge pull request #60 from Northmoc/snc_pom

SNC: Paragon of Modernity and support
This commit is contained in:
Northmoc
2022-04-16 09:32:08 -04:00
committed by GitHub
2 changed files with 17 additions and 0 deletions

View File

@@ -1822,6 +1822,12 @@ public class AbilityUtils {
return root == null ? 0 : root.getTotalManaSpent();
}
// Count$ManaColorsPaid
if (sq[0].equals("ManaColorsPaid")) {
final SpellAbility root = sa.getRootAbility();
return doXMath(root == null ? 0 : root.getPayingColors().countColors(), expr, c, ctb);
}
// Count$Adamant.<Color>.<True>.<False>
if (sq[0].startsWith("Adamant")) {
final String payingMana = StringUtils.join(sa.getRootAbility().getPayingMana());