mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 10:18: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");
|
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();
|
||||||
|
|||||||
Reference in New Issue
Block a user