add "Card" to commonStuff

This commit is contained in:
Northmoc
2022-05-17 20:47:44 -04:00
parent 8cf05af3c5
commit 60d8cda45f

View File

@@ -334,7 +334,7 @@ public final class AbilityFactory {
String tgtWhat = mapParams.get("ValidTgts"); String tgtWhat = mapParams.get("ValidTgts");
final String[] commonStuff = new String[] { final String[] commonStuff = new String[] {
//list of common one word non-core type ValidTgts that should be lowercase in the target prompt //list of common one word non-core type ValidTgts that should be lowercase in the target prompt
"Player", "Opponent" "Player", "Opponent", "Card"
}; };
if (Arrays.asList(commonStuff).contains(tgtWhat) || CardType.CoreType.isValidEnum(tgtWhat)) { if (Arrays.asList(commonStuff).contains(tgtWhat) || CardType.CoreType.isValidEnum(tgtWhat)) {
tgtWhat = tgtWhat.toLowerCase(); tgtWhat = tgtWhat.toLowerCase();