mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
Support for "NoColoredMana"
This commit is contained in:
@@ -254,6 +254,14 @@ public class TriggerSpellAbilityCastOrCopy extends Trigger {
|
||||
}
|
||||
}
|
||||
|
||||
if (hasParam("NoColoredMana")) {
|
||||
for (Mana m : spellAbility.getPayingMana()) {
|
||||
if (!m.isColorless()) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (hasParam("SnowSpentForCardsColor")) {
|
||||
boolean found = false;
|
||||
for (Mana m : spellAbility.getPayingMana()) {
|
||||
|
||||
Reference in New Issue
Block a user