mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-14 17:58:01 +00:00
add "Card" to commonStuff
This commit is contained in:
@@ -334,7 +334,7 @@ public final class AbilityFactory {
|
||||
String tgtWhat = mapParams.get("ValidTgts");
|
||||
final String[] commonStuff = new String[] {
|
||||
//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)) {
|
||||
tgtWhat = tgtWhat.toLowerCase();
|
||||
|
||||
Reference in New Issue
Block a user