Commit Graph

1638 Commits

Author SHA1 Message Date
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
tool4ever
65d385d531 Fix DeckHints only finding SimpleKeyword (#3191)
* Fix DeckHints only finding SimpleKeyword

* Reveal clash correctly

---------

Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.59>
2023-06-03 13:58:23 +03:00
Anthony Calosa
deaf391c5c Merge pull request #3171 from jjayers99/master
Adventure events initial implementation
2023-06-03 00:55:36 +08:00
Anthony Calosa
a52eae4432 fix PaperToken crash on Networkplay (Incubate, etc)
- exclude cardedition and cardrules for serialization
2023-06-01 02:26:19 +08:00
jjayers99
d6f5bf20f4 Adventure tavern events initial implementation 2023-05-31 00:00:21 -04:00
Valerio Maggio
3d5ab82cc5 Merge remote-tracking branch 'upstream/master' into formats/pauper 2023-05-20 14:06:35 +01:00
Valerio Maggio
6c6eea881c solving clashing of deck name archetypes by adding filename
This map will be merely used internally, and won't affect Deck loaded in anyway.
2023-05-20 13:55:47 +01:00
Hans Mackowiak
5e06b9b597 CardType: fill MultiwordTypes by TypeList (#3135) 2023-05-19 12:04:05 +02:00
Simisays
5067d207a5 Plane types to TypeList.txt (#3118) 2023-05-16 17:23:35 +02:00
Simisays
15a2ccb9f3 WHO The Lux Foundation Library (#3113)
* update

* Update CardType.java

* update
2023-05-15 09:15:41 +03:00
TRT
1035592fb7 Fix incomplete removal due to FCollection 2023-04-28 11:10:05 +02:00
Northmoc
6079df2491 deification.txt and support 2023-04-25 23:06:55 -04:00
GitHub Actions
53bed72fe5 [maven-release-plugin] prepare for next development iteration 2023-04-24 13:03:27 -04:00
GitHub Actions
b8c6086cc0 [maven-release-plugin] prepare release forge-1.6.56 2023-04-24 13:03:27 -04:00
friarsol
245e828dd9 Add Battles for DeckEditor types 2023-04-16 22:19:20 -04:00
tool4ever
69a723d451 Clean up (#2893) 2023-04-11 14:06:07 +00:00
Hans Mackowiak
ae455edf9f CardType: sanisfy Battle types 2023-04-10 12:54:01 -04:00
friarsol
58dcb0ea03 Battles first take 2023-04-10 12:54:01 -04:00
Anthony Calosa
04e638b789 update imagefetcher 2023-04-09 07:55:57 +08:00
Anthony Calosa
b6d6ede6f0 update PaperToken, CardFactory
- set imagekey for transformable tokens using their name + set_code
2023-04-02 11:44:48 +08:00
tool4ever
4329e2b0c8 Improve a few parts from previous PR (#2770) 2023-03-28 21:11:13 +00:00
tool4ever
23875bcc16 Support Supertype for Deckhints (#2750) 2023-03-25 10:23:02 +00:00
tool4ever
9b47a7fee2 Remove some obsolete stuff (#2685)
* Remove obsolete code

* Fix uncounterable being invisible

* Fix CantHappen requiring choice
2023-03-15 12:37:22 +00:00
Anthony Calosa
1f908465d5 Merge pull request #2620 from Card-Forge/rebalancedFormatCheck
GameFormat: filter Rebalanced cards
2023-03-10 13:09:10 +08:00
Michael Kuenzli
69272b963c Add alchemy draft formats (#2628)
* Add new rarity slot used by Alchemy sets

* Make Alchemy: New Capenna draftable

* Make Alchemy: Phyrexia draftable

* Make Alchemy: The Brothers' War draftable

* Make Alchemy: Kamigawa draftable

* Make Alchemy: Dominaria draftable
2023-03-09 12:40:55 +03:00
tool4EvEr
798bce389c Fix Make an Example 2023-03-08 11:54:58 +01:00
Hans Mackowiak
cd880015da StaticData: check all Editions for rebalanced 2023-03-07 22:04:08 +01:00
Hans Mackowiak
2eff0f08d8 GameFormat: filter Rebalanced cards 2023-03-07 22:00:39 +01:00
Anthony Calosa
3fe71b04fe Merge pull request #2509 from tool4ever/opal_titan
Fix color word usage
2023-02-21 15:23:10 +08:00
TRT
0a8a96c312 Conversion: use color words 2023-02-21 07:26:55 +01:00
GitHub Actions
de4feee3ef [maven-release-plugin] prepare for next development iteration 2023-02-20 23:36:34 -05:00