Commit Graph

62408 Commits

Author SHA1 Message Date
Anthony Calosa
dc348969bc Merge pull request #2171 from DorkmasterFlek/card-set-filter-crash
Fix crash when filtering card sets in workshop
2022-12-27 09:31:56 +08:00
DorkmasterFlek
0645b23405 Fix crash when filtering card sets in workshop
Null pointer exception caused a crash when trying to filter by set in the debug workshop.  Null value was in the limitedSets parameter being passed in.
2022-12-26 15:44:42 -05:00
Northmoc
ef44210a56 ONE – 21 Dec (leaked card scripts) (#2151)
* bonepicker_skirge.txt

* sinew_dancer.txt

* quicksilver_fisher.txt

* sawblade_scamp.txt

* furnace_punisher.txt
2022-12-26 19:14:15 +00:00
Northmoc
59d71045e0 tighten up Adversary cycle from MID (#2162) 2022-12-26 18:40:45 +00:00
Northmoc
abe5828195 YBRO: By Elspeth's Command and Yotian Courier + support (#2114)
* by_elspeths_command.txt with support v1

* yotian_courier.txt
2022-12-26 13:25:15 -05:00
Anthony Calosa
f61fec3d02 Update livio changezoneall 2022-12-27 00:54:36 +08:00
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
jjayers99
ed51e606da Forest town sprite fix 2022-12-25 18:11:28 -05: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
jjayers99
9da7f17578 Adventure Mode shop Expansion (Merge fix)
Slight corrections to waste_town_*.tmx to remove debug shop values.
2022-12-24 20:39:09 -05:00
jjayers99
cfdb5bea6c Adventure Mode Shop Expansion
New setting in Settings menu for Expanded Shops. After enabling and restarting app, a much larger pool of card shops will appear in towns, and towns will have a bit more variety within a given biome, divided up into three broad categories per region.
2022-12-24 18:47:55 -05:00
George
85fa4cd884 Merge remote-tracking branch 'origin/master' 2022-12-24 13:14:04 +02:00
George
cd2582408b Correct the update of POIChanges for bought cards from shops 2022-12-24 13:09:39 +02: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