Commit Graph

3734 Commits

Author SHA1 Message Date
Hans Mackowiak
2fad4324e9 CardFactoryUtil: More Than Meets the Eye create there instead 2023-02-04 18:24:14 +01:00
tool4ever
f8761d2349 Card fixes (#2389)
* Fix AI check

* Fix cards

* Clean up

---------

Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.59>
2023-02-04 07:43:12 +03:00
Agetian
cd9670d179 Clean up ConniveAi a little bit. (#2371)
* - Update the MTGDecksNet conversion and AI playability test toolchain to the latest version (Python 3 compatible).

* - Make the input/output folders generic

* - Make the input/output folders generic, part 2.

* - Add the Scryfall all-prices.txt generator script.

* - Minor code cleanup.

* - Improve ConniveAi for Change of Plans.

* - Check if the AI can draw cards for ConniveAI

* - Improve the price generation script to account for the Scryfall set code to Forge set code mapping.
- Tweak paths in some of the scripts.

* - Fix scryfallPricesGenerator.

* - Clean up ConniveAi code, limit the X choice to available mana.
2023-02-02 15:15:29 +03:00
Agetian
7c50111129 Improve AI logic for Connive / Change of Plans (#2367)
* - Update the MTGDecksNet conversion and AI playability test toolchain to the latest version (Python 3 compatible).

* - Make the input/output folders generic

* - Make the input/output folders generic, part 2.

* - Add the Scryfall all-prices.txt generator script.

* - Minor code cleanup.

* - Improve ConniveAi for Change of Plans.

* - Check if the AI can draw cards for ConniveAI
2023-02-02 12:07:21 +03:00
Anthony Calosa
44d1d19bd6 Update phyrexian syntax, add ConniveAI (#2357)
* update syntax
- fix mobile display for compleated symbols

* update

* update cards

* fix Raffine Scheming Seer

* # ConniveAI

* remove unused var

* unused import

* add missing token script
2023-02-02 09:03:07 +03:00
tool4EvEr
fba50006b5 Hideaway without Remembering 2023-01-30 17:24:08 +01:00
Anthony Calosa
c871db942a Merge pull request #2326 from tool4ever/agrusfix
Fix Agrus Kos free target selection for triggers
2023-01-27 20:51:21 +08:00
TRT
4162ec4ceb Clean up 2023-01-27 13:48:19 +01:00
Anthony Calosa
c39ac61384 Merge pull request #2265 from jjayers99/master
Adventure mode revamp, Phase 1
2023-01-27 19:47:51 +08:00
Anthony Calosa
2cc16b65d8 Merge pull request #2323 from tool4ever/controllerfix
AbilityUtils: Fix inconsistent controller
2023-01-27 19:46:24 +08:00
Anthony Calosa
fd5801dcc2 Merge pull request #2252 from tool4ever/exertTest
Exert + Enlist from static
2023-01-27 19:44:11 +08:00
TRT
639c20123c Fix Agrus Kos free target selection for triggers 2023-01-27 10:34:56 +01:00
tool4EvEr
8fb8c5fce0 Recombine trigger check 2023-01-26 18:36:01 +01:00
tool4EvEr
15834a0d67 Fix inconsistent controller 2023-01-26 17:19:51 +01:00
tool4EvEr
703f28a21f Add labels 2023-01-26 11:46:13 +01:00
tool4EvEr
5ae42b4c71 Clean up 2023-01-26 10:15:53 +01:00
GitHub Actions
3b94d10c0f [maven-release-plugin] prepare for next development iteration 2023-01-25 22:05:01 -05:00
GitHub Actions
2009b57a59 [maven-release-plugin] prepare release forge-1.6.54 2023-01-25 22:05:01 -05:00
tool4EvEr
616309c22f Add basic AI 2023-01-25 22:47:13 +01:00
tool4EvEr
647fcdb17d Add AI idea 2023-01-25 21:42:06 +01:00
tool4EvEr
fcc9c25725 Enlist first part 2023-01-25 21:42:05 +01:00
tool4EvEr
813d16814b AI fix 2023-01-25 21:41:58 +01:00
Anthony Calosa
7610378402 Merge pull request #2275 from tool4ever/verrak_fix
Fix Verrak
2023-01-21 08:38:33 +08:00
Agetian
5a6f0cab0d - Added puzzles PS_BRO1 - PS_BRO3. (#2279)
- Added a way to add tokens by script from GameState.
- Fixed u_2_2_spirit_vigilance_drawcounter token name capitalization.
2023-01-20 11:35:11 +03:00
tool4EvEr
e0fec88cf2 Fix Verrak 2023-01-19 20:15:06 +01:00
TabletopGeneral
33a1570011 Merge branch 'Card-Forge:master' into master 2023-01-19 00:10:11 -05:00
jjayers99
13d1949208 Adventure overhaul, phase 1 2023-01-19 00:09:07 -05:00
tool4EvEr
444a5629a8 Fix reloading interacting with objects from old state 2023-01-17 10:59:24 +01:00
tool4EvEr
86c814af96 Cleanup check for Mishra, Tamer of Mak Fawa 2023-01-17 00:12:38 +01:00
tool4EvEr
7db4624d92 Wall of Shadows + Thought Lash fix 2023-01-15 10:19:24 +01:00
tool4ever
b0bc41f09c Some cleanup (#2242) 2023-01-14 15:56:01 +00:00
tool4EvEr
c2cea6fb3c Fix including unjustified decisions 2023-01-13 19:32:16 +01:00
tool4ever
7ef1f64870 Some cleanup (#2234) 2023-01-12 19:04:03 +00:00
asvitkine
c207a2def9 Simulated AI: Fix multi-target spell simulation. (#2181)
* Simulated AI: Fix multi-target spell simulation.

Removes an incorrect check that was comparing two semantically different things (number of possible to choose from vs. number of targets chosen). Adds a test using Incremental Growth, where number of possible targets is 5, but the spell requires only 3 to be chosen.

* Fix the root issue and eliminate incorrect simulations.

* Fix infinite loop with invalid targets.

* Fix logic.
2023-01-12 11:38:27 +00:00
tool4ever
876668c370 Fix Stack Overflow (#2228)
* Fix cards

* Fix Stack Overflow

* Performance fix

Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.59>
Co-authored-by: TRT <>
2023-01-11 14:06:12 +03:00
Northmoc
73a9c83b05 ONE: Elesh Norn, Mother of Machines and support (#2179)
* elesh_norn_mother_of_machines.txt

* StaticAbilityDisableTriggers.java
2023-01-10 14:55:00 +00:00
TRT
830d0afba2 Clean up 2023-01-09 08:22:29 +01:00
tool4EvEr
58fcee689f Fix cards 2023-01-08 23:50:38 +01:00
tool4EvEr
f783d5a198 Performance: improve deduping 2023-01-08 23:14:47 +01:00
Hans Mackowiak
fb3f14db71 ONE: Toxic Keyword (#2213)
* ONE: Toxic Keyword

* more scripts

* Proliferate Trigger

* add proliferate trigger

* ~ add Toxic to ai part

* ~ more toxic cards

* add Venser Corpse Puppet

* ~ fix jiang

* ~ fix venser

* predictPoisonFromTriggers Toxic+Double Strike
2023-01-08 23:13:58 +03:00
TRT
b1df2d1008 Fix DiscardedThisTurn 2023-01-05 16:10:50 +01:00
tool4ever
359a97462e Few fixes (#2198)
Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.59>
2023-01-04 08:04:17 +03:00
asvitkine
88308ecd5c Support export/import states with arbitrary players. (#2168)
* Support export/import states with arbitrary players.

Previously, the dump/setup game state dev options were only able to handle a 2-player human vs. AI game. This PR expands the functionality to support any number of players and ignores the type of player (naming them p0,p1,...,pN). The previous names of ai and human are supported for backwards compatibility.
2022-12-28 14:56:16 +00:00
tool4ever
b51c6a3f1b Clean up (#2182) 2022-12-28 07:15:17 +00: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
asvitkine
6e8a21a58a Simulated AI: Copy changed SVars when copying state. (#2159) 2022-12-24 08:51:54 +00: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
asvitkine
7da3605849 . 2022-12-22 22:04:39 -07:00