tool4ever
037f1d0b7b
Some fixes ( #2170 )
2022-12-26 09:42:03 +00:00
Anthony Calosa
a5decc0b78
Merge pull request #2157 from asvitkine/sim_imprv
...
Simulated AI: Fix land pruning logic and skip invalid targets.
2022-12-26 11:43:34 +08:00
Paul Hammerton
247ec986a7
Merge pull request #2166 from paulsnoops/sld_update
...
SLD Update
2022-12-25 18:47:20 +00:00
paulsnoops
01780ce433
SLD Update
2022-12-25 18:42:58 +00:00
Paul Hammerton
a14be95989
Merge pull request #2160 from JohnWilliams77/patch-68
...
Update Secret Lair Drop Series.txt
2022-12-25 18:25:46 +00:00
JohnWilliams77
9097acdca5
Update Secret Lair Drop Series.txt
2022-12-25 15:21:04 +00:00
JohnWilliams77
c22eb54dff
Update Secret Lair Drop Series.txt
2022-12-25 09:48:12 +00:00
asvitkine
00c6771608
Fix ArrayIndexOutOfBounds exception printed to stderr. ( #2141 )
2022-12-25 09:11:52 +00:00
JohnWilliams77
34085f22f0
Update Secret Lair Drop Series.txt
2022-12-25 09:11:06 +00:00
JohnWilliams77
d77b575ecd
Update Secret Lair Drop Series.txt
2022-12-24 09:03:47 +00:00
asvitkine
6e8a21a58a
Simulated AI: Copy changed SVars when copying state. ( #2159 )
2022-12-24 08:51:54 +00:00
asvitkine
4c568f941f
Clean up unused vars.
2022-12-23 20:33:01 -07:00
asvitkine
e788d3683a
Improve comment.
2022-12-23 20:31:41 -07:00
asvitkine
eb0f426adc
Use ComputerUtilAbility.isFullyTargetable() and add more tests.
2022-12-23 20:28:05 -07:00
asvitkine
74a37c95c4
Remove unused imports.
2022-12-23 20:00:56 -07:00
Anthony Calosa
7c722c0838
Merge pull request #2158 from tool4ever/wedding
...
Wedding Ring cleanup
2022-12-23 21:10:06 +08:00
TRT
d24abce1aa
Wedding Ring cleanup
2022-12-23 12:54:33 +01:00
asvitkine
7da3605849
.
2022-12-22 22:04:39 -07:00
asvitkine
4a74c936c2
Return null modes when all invalid.
2022-12-22 22:04:30 -07:00
asvitkine
24c56f4731
Use empty iterator if all modes filtered out.
2022-12-22 21:58:40 -07:00
asvitkine
e797c358bf
Add a comment.
2022-12-22 21:44:27 -07:00
asvitkine
56b22ee73a
Simulated AI: Fix land pruning logic and skip invalid targets.
...
This change improves Simulated AI logic by eliminating many unnecessary simulations, particularly due to:
- Invalid targets involving counterspells countering themselves (including modal spells).
- Pruning identical land drop decisions.
Tests are added to cover these cases.
Some core logic is changed, in particular, SpellAbility.canTarget() was not rejecting self-targeting for counterspells. This was likely being done at a higher level somewhere (e.g. in UI code for choosing targets for the human player or AI-specific code for non-simulated AI).
Additionally, a convenience SpellAbility.hasLegalTargets() method is added, from the logic that was previously in AIController.java, so that it can be re-used by the simulation AI code.
A few small style clean ups are included in the code being changed.
2022-12-22 21:40:52 -07:00
Anthony Calosa
f59128a6eb
Merge pull request #2156 from tool4ever/fixes22
...
Card fixes
2022-12-23 08:46:59 +08:00
Anthony Calosa
3dd574cc03
Merge pull request #2153 from Northmoc/comp
...
Compleated update/fix
2022-12-23 08:46:26 +08:00
tool4EvEr
91e1979637
Card fixes
2022-12-22 23:05:20 +01:00
tool4ever
40524426e2
Workshop: support DFC ( #2150 )
...
Co-authored-by: tool4EvEr <tool4EvEr@192.168 .0.59>
2022-12-22 12:18:21 +03:00
Northmoc
53595926d1
Some card script tweaks ( #2152 )
...
* little card script tweaks
* few more tweaks
* slithermuse.txt fix
2022-12-22 12:16:43 +03:00
Northmoc
773894b575
Compleated update/fix
2022-12-21 11:29:02 -05:00
Paul Hammerton
deb4764ed7
Merge pull request #2149 from JohnWilliams77/patch-67
...
Update Secret Lair Drop Series.txt
2022-12-20 16:16:41 +00:00
JohnWilliams77
ac665a858b
Update Secret Lair Drop Series.txt
2022-12-20 15:21:21 +00:00
Anthony Calosa
e0aa1996ce
Add files via upload
...
fix typo
2022-12-20 23:02:43 +08:00
TRT
2786c0efa5
Fix NPE
2022-12-20 10:53:58 +01:00
Paul Hammerton
c5c35ce3d7
Merge pull request #2145 from Northmoc/one_19
...
ONE - 19 Dec (some leaked cards)
2022-12-20 08:57:33 +00:00
Anthony Calosa
e045a6b8a1
Merge pull request #2147 from kevlahnota/newmaster2
...
Refactor exit to worldmap button
2022-12-20 15:18:30 +08:00
Anthony Calosa
3f5d4a64fe
Refactor exit to worldmap button
2022-12-20 15:05:31 +08:00
Anthony Calosa
55708e2fcb
Merge pull request #2146 from Northmoc/fixes
...
various fixes
2022-12-20 12:47:22 +08:00
JakeLoustone
46a3d3c373
Add Jumpstart 2022 to Sealed ( #2073 )
...
* Add Jumpstart 2022 to blocks.txt
Added Jumpstart 2022 block with "Meta-Choose" following the original Jumpstart block as a guide. Booster pack names gathered from https://magic.wizards.com/en/news/feature/jumpstart-2022-booster-themes-and-card-lists
* Add all J22 booster deck lists to printsheets.txt
Added all J22 booster deck lists to "printsheets.txt". Decknames and card lists gathered from https://magic.wizards.com/en/news/feature/jumpstart-2022-booster-themes-and-card-lists
* Add all J22 boosters to boosters-special.txt
Added all J22 boosters to "boosters-special.txt". Decklist names gathered from https://magic.wizards.com/en/news/feature/jumpstart-2022-booster-themes-and-card-lists
2022-12-19 21:12:14 -05:00
Northmoc
7e75c9ec73
various fixes
2022-12-19 13:16:29 -05:00
Northmoc
32612d71e1
rustvine_cultivator.txt
2022-12-19 13:11:32 -05:00
Northmoc
5af3baa641
cankerbloom.txt
2022-12-19 13:11:24 -05:00
tool4ever
e76f348c56
Improve reuse of LKI for ChangeZone performance ( #2143 )
...
Co-authored-by: tool4EvEr <tool4EvEr@192.168 .0.59>
2022-12-19 17:42:10 +01:00
Northmoc
2196d42812
CounterEnumType.OIL
2022-12-19 10:54:53 -05:00
Northmoc
210870484a
urabrasks_anointer.txt
2022-12-19 10:54:43 -05:00
Northmoc
66197e4e18
bladed_ambassador.txt
2022-12-19 10:54:37 -05:00
tool4EvEr
b65b3d04e7
Clean up
2022-12-19 15:15:52 +01:00
tool4EvEr
9f6fbe4440
LKI fixes
2022-12-19 15:15:52 +01:00
tool4EvEr
046f123994
Clean up
2022-12-19 15:15:52 +01:00
tool4EvEr
64c97c6b06
Fix crash
2022-12-19 15:15:52 +01:00
tool4EvEr
62067d977c
Skip triggers
2022-12-19 15:15:52 +01:00
Paul Hammerton
c68a20397f
Merge pull request #2119 from Simisays/Heroes2
...
H21 Andrios, Roaming Explorer
2022-12-19 08:28:43 +00:00