mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28: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());
|
||||
|
||||
11
forge-gui/res/cardsfolder/upcoming/paragon_of_modernity.txt
Normal file
11
forge-gui/res/cardsfolder/upcoming/paragon_of_modernity.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
Name:Paragon of Modernity
|
||||
ManaCost:4
|
||||
Types:Artifact Creature Angel Warrior
|
||||
PT:2/2
|
||||
K:Flying
|
||||
A:AB$ Branch | Cost$ 3 | BranchConditionSVar$ X | BranchConditionSVarCompare$ EQ3 | FalseSubAbility$ DBPump | TrueSubAbility$ DBPutCounter | SpellDescription$ CARDNAME gets +1/+1 until end of turn. If exactly three colors of mana were spent to activate this ability, put a +1/+1 counter on it instead.
|
||||
SVar:DBPump:DB$ Pump | Defined$ Self | NumAtt$ 1 | NumDef$ 1
|
||||
SVar:DBPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1
|
||||
SVar:X:Count$ManaColorsPaid
|
||||
DeckHas:Ability$Counters
|
||||
Oracle:Flying\n{3}: Paragon of Modernity gets +1/+1 until end of turn. If exactly three colors of mana were spent to activate this ability, put a +1/+1 counter on it instead.
|
||||
Reference in New Issue
Block a user