forked from External/mage
cheats: improved card commands to support names like ED-E, Lonesome Eyebot (related to #12238)
This commit is contained in:
parent
551d5d8633
commit
36d54bc7a9
4 changed files with 42 additions and 25 deletions
|
|
@ -78,7 +78,9 @@ public final class CardUtil {
|
|||
"put", "return", "exile", "discard", "sacrifice", "remove", "tap", "reveal", "pay", "collect"
|
||||
);
|
||||
|
||||
public static final int TESTS_SET_CODE_LOOKUP_LENGTH = 6; // search set code in commands like "set_code-card_name"
|
||||
// search set code in commands like "set_code-card_name"
|
||||
public static final int TESTS_SET_CODE_MIN_LOOKUP_LENGTH = 3;
|
||||
public static final int TESTS_SET_CODE_MAX_LOOKUP_LENGTH = 6;
|
||||
public static final String TESTS_SET_CODE_DELIMETER = "-"; // delimeter for cheats and tests command "set_code-card_name"
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue