- Fixed Profaner of the Dead

This commit is contained in:
swordshine
2015-03-22 13:54:22 +00:00
parent eed3ea4143
commit b49a646e4f
2 changed files with 5 additions and 2 deletions

View File

@@ -782,7 +782,10 @@ public class AbilityUtils {
valid = valid.replace("EQ" + varName, "EQ" + Integer.toString(calculateAmount(source, varName, sa)));
}
}
if (sa.hasParam("AbilityCount")) { // replace specific string other than "EQ" cases
String var = sa.getParam("AbilityCount");
valid = valid.replace(var, Integer.toString(calculateAmount(source, var, sa)));
}
return CardLists.getValidCards(list, valid.split(","), sa.getActivatingPlayer(), source);
}