forked from External/mage
Implementing "collect evidence" mechanic (#11671)
* [MKM] Implement Axebane Ferox * add exile to cost, fix text * add targeting message copied from crew ability * [MKM] Implement Forensic Researcher * [MKM] Implement Izoni, Center of the Web * implement requested changes * merge fix * [MKM] Implement Sample Collector * [MKM] Implement Evidence Examiner * [MKM] Implement Surveillance Monitor * [MKM] Implement Vitu-Ghazi Inspector * [MKM] Implement Crimestopper Sprite * [MKM] Implement Urgent Necropsy * [MKM] Implement Analyze the Pollen * implement requested changes * add can pay cost check to counter unless pays effect * fix test failure * add tests * fix prompt message
This commit is contained in:
parent
322c49e37f
commit
99c2ffa231
21 changed files with 1162 additions and 4 deletions
|
|
@ -74,7 +74,7 @@ public final class CardUtil {
|
|||
public static final SimpleDateFormat sdf = new SimpleDateFormat("HH:mm:ss.SSS");
|
||||
|
||||
private static final List<String> costWords = Arrays.asList(
|
||||
"put", "return", "exile", "discard", "sacrifice", "remove", "tap", "reveal", "pay"
|
||||
"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"
|
||||
|
|
@ -1764,8 +1764,8 @@ public final class CardUtil {
|
|||
* Warning, don't use self reference objects because it will raise StackOverflowError
|
||||
*
|
||||
* @param value
|
||||
* @return
|
||||
* @param <T>
|
||||
* @return
|
||||
*/
|
||||
public static <T> T deepCopyObject(T value) {
|
||||
if (isImmutableObject(value)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue