move CantPayGenericCosts higher up in mana restrictions so that the activated restriction doesn't short circuit for loop

This commit is contained in:
rory
2020-05-11 16:46:48 -07:00
committed by friarsol
parent b2018aafe6
commit d311231c96

View File

@@ -365,6 +365,10 @@ public class AbilityManaPart implements java.io.Serializable {
if (sa.isValid(restriction, this.getSourceCard().getController(), this.getSourceCard(), null)) {
return true;
}
if (restriction.equals("CantPayGenericCosts")) {
return true;
}
if (sa.isAbility()) {
if (restriction.startsWith("Activated")) {
@@ -381,10 +385,6 @@ public class AbilityManaPart implements java.io.Serializable {
return true;
}
}
if (restriction.equals("CantPayGenericCosts")) {
return true;
}
}