(String valid)
| 230 | } |
| 231 | |
| 232 | public String formatValidDesc(String valid) { |
| 233 | List<String> commonStuff = List.of( |
| 234 | //list of common one word non-core type ValidTgts that should be lowercase in the target prompt |
| 235 | "Player", "Opponent", "Card", "Spell", "Permanent" |
| 236 | ); |
| 237 | if (commonStuff.contains(valid) || CardType.isACardType(valid)) { |
| 238 | valid = valid.toLowerCase(); |
| 239 | } |
| 240 | return valid; |
| 241 | } |
| 242 | } |
no test coverage detected