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
asvitkine
439b1a83c6
Cache deckchoosers to avoid re-randomizing decks.
2022-12-19 10:18:55 -07: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
JohnWilliams77
962244de1b
Update aisha_of_sparks_and_smoke.txt
2022-12-19 14:53:54 +00:00
asvitkine
ca54e87eb0
Remove more code duplication.
2022-12-19 07:20:22 -07: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
asvitkine
53e3899932
Small clean ups.
2022-12-18 23:26:01 -07:00
asvitkine
2abafbc2ee
Remove print statements.
2022-12-18 23:21:54 -07:00
asvitkine
dcc90fb0d1
Clean up lobby code and fix a deck deselect bug.
2022-12-18 23:15:27 -07:00
Paul Hammerton
1dc73ae81f
Merge pull request #2135 from JohnWilliams77/patch-64
...
Create Secret Lair Showdown.txt
2022-12-18 13:14:30 +00:00
Paul Hammerton
b329e4444e
Merge pull request #2136 from JohnWilliams77/patch-65
...
Update Secret Lair Drop Series.txt
2022-12-18 13:12:35 +00:00
JohnWilliams77
5143c3ea4a
Add files via upload
2022-12-18 12:15:08 +00:00
JohnWilliams77
c5a21c8d25
Create immard_the_stormcleaver.txt
2022-12-18 12:14:28 +00:00
JohnWilliams77
4c8e7f2bc1
Create baldin_century_herdmaster.txt
2022-12-18 12:13:57 +00:00
JohnWilliams77
8cb78656e2
Create aisha_of_sparks_and_smoke.txt
2022-12-18 12:12:42 +00:00
JohnWilliams77
066932df7c
Update Secret Lair Drop Series.txt
2022-12-18 10:55:36 +00:00