mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
AbilityFactory.readTarget add "Permanent" to commonStuff list
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", "Card", "Spell"
|
||||
"Player", "Opponent", "Card", "Spell", "Permanent"
|
||||
};
|
||||
if (Arrays.asList(commonStuff).contains(tgtWhat) || CardType.CoreType.isValidEnum(tgtWhat)) {
|
||||
tgtWhat = tgtWhat.toLowerCase();
|
||||
|
||||
Reference in New Issue
Block a user