mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
Merge pull request #60 from Northmoc/snc_pom
SNC: Paragon of Modernity and support
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user