mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18: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")) {
|
if (hasParam("SnowSpentForCardsColor")) {
|
||||||
boolean found = false;
|
boolean found = false;
|
||||||
for (Mana m : spellAbility.getPayingMana()) {
|
for (Mana m : spellAbility.getPayingMana()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user