mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
refactor: fixed that TargetCard doesn't work with Zone.ALL;
This commit is contained in:
parent
bfceb07c58
commit
450f7bd907
13 changed files with 257 additions and 38 deletions
|
|
@ -53,7 +53,9 @@ class GetMultiAmountTestableDialog extends BaseTestableDialog {
|
|||
}
|
||||
|
||||
private GetMultiAmountTestableDialog aiMustChoose(Integer... needValues) {
|
||||
// TODO: AI use default distribution (min possible values), improve someday
|
||||
// TODO: AI use default distribution:
|
||||
// - bad effect: min possible values
|
||||
// - good effect: max possible and distributed values
|
||||
MultiAmountTestableResult res = ((MultiAmountTestableResult) this.getResult());
|
||||
res.aiAssertEnabled = true;
|
||||
res.aiAssertValues = Arrays.stream(needValues).collect(Collectors.toList());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue