mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
- Fixed Profaner of the Dead
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user