Commit Graph

1668 Commits

Author SHA1 Message Date
Agetian
9f13d36799 Deck-based AI hints metadata + predefined sideboarding plan support (#5113)
* - Support for AI hints in deck metadata.
- Support for pre-planned sideboarding using an AI hint.

* - Fix imports.

* - NPE prevention for cases when the AI has no sideboard.
2024-04-24 07:56:01 +03:00
Northmoc
9975d68f04 fix crashes issue4472 (#5008) 2024-04-12 18:47:56 +03:00
Hans Mackowiak
096c026ee9 CardType: Outlaw fix (#4997) 2024-04-09 21:40:49 +03:00
tool4ever
a8211c3da3 Fix ChangeZone* not always shuffling (#4976)
* Support nicknames for non-rebranded

* Fix ChangeZone* not always shuffling
2024-04-07 20:28:23 +00:00
GitHub Actions
cf0a72cbc6 [maven-release-plugin] prepare for next development iteration 2024-04-02 20:58:59 -04:00
GitHub Actions
a1fc524a98 [maven-release-plugin] prepare release forge-1.6.61 2024-04-02 20:58:59 -04:00
Northmoc
fb6e944b45 YMKM: roalesk_prime_specimen + support (#4903)
* roalesk_prime_specimen + support

* allow added abilities to show on face-down cards
2024-03-27 14:57:42 +00:00
Hans Mackowiak
34789c57fe CardType: add isOutlaw (#4827) 2024-03-19 06:14:16 +03:00
tool4ever
40f281bcf5 Support for Vault 11: Voter's Dilemma (#4828)
* Fix Triassic Egg

* Support for Vault 11: Voter's Dilemma

* Fix Summoning Trap

* Support Vault nicknames

* Fix NPE
2024-03-18 08:17:32 +01:00
GitHub Actions
aa4eba0c33 [maven-release-plugin] prepare for next development iteration 2024-03-05 14:02:09 -05:00
GitHub Actions
0db8025766 [maven-release-plugin] prepare release forge-1.6.60 2024-03-05 14:02:09 -05:00
friarsol
539026360a Creating Play Booster for MKM 2024-01-30 12:35:38 -05:00
Hans Mackowiak
ff3ea852b7 CardFactoryUtil: Disguise Keyword 2024-01-29 22:42:31 -05:00
friarsol
7ffc0cd9cc Fix editions from a bunch of Commander precons 2024-01-24 23:41:40 -05:00
tool4ever
e733b8fe0c Reimplement UI_CLONE_MODE_SOURCE (#3984)
* Reimplement UI_CLONE_MODE_SOURCE
2024-01-19 21:59:39 +00:00
friarsol
7e20fb3fee Normalize card names for image files 2023-12-29 09:22:53 -05:00
Hans Mackowiak
bacb72d853 simlify pattern 2023-12-29 09:22:53 -05:00
Hans Mackowiak
38ef2b997d Revert "Revert "CardDb: add normalized Names (#4376)""
This reverts commit b396f41188.
2023-12-29 09:22:53 -05:00
tool4ever
046f55cb78 ChangesZoneAll: add LKI support (#4385)
* Fix Skeleton Crew triggering from own ETB

* Fix bad logic

* Add LKI support

* Prowl fix when card gets cast from another zone again

* Clean up

* Clean triggers

* Support LKI for leaves graveyard

* Update effects

* Fix logic

* Fix Living Breakthrough for X spells

* Extract lastState fallback logic
2023-12-20 16:20:40 +01:00
Chris H
b396f41188 Revert "CardDb: add normalized Names (#4376)"
This reverts commit ce9ca390f8.
2023-12-19 14:20:50 -05:00
Hans Mackowiak
ce9ca390f8 CardDb: add normalized Names (#4376) 2023-12-19 18:39:18 +01:00
Northmoc
de851fc749 YWOE high_fae_prankster.txt and support (#3921)
* high_fae_prankster.txt and support

* Perpetual rework

* fix imports

* fix imports

* 12/9 cards and tweaks

* fix absorb_energy

* tidy

* 12/10 updates

* 12/12 tweaks and fixes

* 12/13 tweaks

* last tweaks for this PR

* revert unneeded

* revert unneeded for real

* tidy executePerpetual

* cleanup imports

* tweaks 12/15

* fix imports

* LosePerpetualEffect

* cleanup import
2023-12-16 22:25:41 +03:00
Hans Mackowiak
430dade5b8 Protection rework for Plural removal (#4284)
* Protection rework for Plural removal

* deprecated getSingularType

* Update AbilityUtils.java

getPlural only for Descriptive

* ~ update view

* Update CardChangedWords.java

* Update AbilityUtils.java

fix lowercase color word replacement

* Update Card.java

add changedCardKeywordsByWord to getChangedCardKeywordsList

* Update CardDetailUtil.java

~ update view

* Before resolving apply text changes

---------

Co-authored-by: TRT <>
2023-12-10 17:04:43 +03:00
GitHub Actions
8c82589436 [maven-release-plugin] prepare for next development iteration 2023-12-04 20:40:21 -05:00
GitHub Actions
7e0088328b [maven-release-plugin] prepare release forge-1.6.59 2023-12-04 20:40:21 -05:00
Northmoc
043db92769 WHO - Doctor's companion and support 2023-10-24 01:04:30 -04:00
Agetian
73f94735ad Fix Planar Conquest preferring collector edition cards as starters (#3889)
* - Update getAllNonPromosNonReprintsNoAlt to account for newer set classification.

* - Duplication fix.
2023-10-12 21:25:38 +03:00
kevlahnota
d8d86a7c4d Merge pull request #3865 from tool4ever/revertPH
Revert "Modify main game loop for use with basic AI unit tests (#3669)"
2023-10-08 04:27:23 +08:00
Simisays
516b5c729a LTC Long List of the Ents + two card fixes (#3864)
* update

* Add support

* Update long_list_of_the_ents.txt

* Update long_list_of_the_ents.txt

---------

Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.60>
Co-authored-by: tool4ever <therealtoolkit@hotmail.com>
2023-10-07 21:42:31 +03:00
tool4EvEr
6460dd44f7 Revert "Modify main game loop for use with basic AI unit tests (#3669)"
This reverts commit 1e116be3b0.
2023-10-07 15:17:57 +02:00
tool4EvEr
01f7c4aa5e Fix MultiwordType parsing 2023-10-06 23:42:36 +02:00
Chris H
0fc88cc46c Alchemy scryfall downloads need a hyphen in their collector "number" (#3809) 2023-09-25 17:04:34 +03:00
marthinwurer
1e116be3b0 Modify main game loop for use with basic AI unit tests (#3669)
* Added game fuzzing test

* modified doc wording

* instrumentation for land order fixes

* progress

* new tests

* even more progress

* split out main game loop stuff

* some cleanup

* setting up the tapland tests

* some cleanup

* fixed ensure lands are playable

* Moved packages

* progress

* cleanup

* cleanup fuzz test

* cleanup imports

* fixed phase priority

* made max loop count constant

* made simulation test extend ai test

* more cleanup

* Update SimulationTest.java

remove unused imports

---------

Co-authored-by: Hans Mackowiak <hanmac@gmx.de>
2023-09-21 12:22:34 -04:00
GitHub Actions
72ddfd0be6 [maven-release-plugin] prepare for next development iteration 2023-09-20 22:00:51 -04:00
GitHub Actions
c629080a8d [maven-release-plugin] prepare release forge-1.6.58 2023-09-20 22:00:51 -04:00
Hans Mackowiak
282d9860c7 Mana convert refactor (#3718)
* ~ cleanup applyManaColorConversion with only one Parameter

* remove ManaConvert Keyword and Vizier of the Menagerie

* remove other ManaConvert Keyword

* ~ fix scripts

* ManaConvention on GainedActivatedAbility

* ~ fix scripts

* rework Celestial Dawn and nonWhite restriction

* * update AI to apply matrix instead of hardcoded ignoreType and ignoreColor

* store Mana Matrix in PaymentDecision instead of CostPartMana

* ~ move Mana Matrix to more methods

* ManaConversionMatrix: add for Unless and Optional Cost

* Clean up AI

* Remove some calls that should be unneeded but make debugging annoying

* After paying with mana ability the old matrix should apply again

* Move matrix restore because AI needs it too

* Only human needs extra matrix on effect payments

* fix checks

* Update ComputerUtilMana.java

more !effect checks

* Story by CardPlayOption

* Fix North Star

* Remove obsolete code

* ~ ignoreType > ignoreColor

---------

Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.60>
2023-09-08 18:09:03 +03:00
tool4EvEr
28ee22601a Fix counting for SLX 2023-09-06 08:05:31 +02:00
tool4EvEr
54302fc89b Account for rebranded cards 2023-09-01 21:30:12 +02:00
tool4EvEr
45a59fe77a Treat rebranded versions extra 2023-09-01 21:28:30 +02:00
tool4EvEr
11c64a6216 fix specialize faces on regular cards 2023-09-01 12:19:42 +02:00
GitHub Actions
0b6e5f9983 [maven-release-plugin] prepare for next development iteration 2023-07-26 22:00:13 -04:00
GitHub Actions
294b8c445b [maven-release-plugin] prepare release forge-1.6.57 2023-07-26 22:00:13 -04:00
Anthony Calosa
f074aac848 partial support for token name translation 2023-07-26 06:44:21 +08:00
Anthony Calosa
495db72540 update CardTranslation 2023-07-25 20:39:07 +08:00
Anthony Calosa
0c8b51ccf2 Update TextUtil.java 2023-07-09 11:14:53 +08:00
Anthony Calosa
3ec52cae4b move decimal format to TextUtil 2023-07-09 10:48:34 +08:00
Anthony Calosa
c6f6e09d98 fix typo 2023-06-29 13:03:57 +08:00
tool4ever
9ace1978f9 Script updates (#3289)
Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.59>
2023-06-18 05:49:33 +03:00
Hans Mackowiak
3901758327 CardChangedType: use Enum Flags for removeAllSubTypes (#3230)
* CardChangedType: use Enum Flags for removeAllSubTypes

* extract RemoveType

* ~ fix missing type
2023-06-17 10:47:41 +03:00
Anthony Calosa
cabd79b6b4 update hasLegalCardsPredicate when deckconformance is turned off
- fixes #3271
2023-06-15 06:25:35 +08:00