Commit Graph

2168 Commits

Author SHA1 Message Date
Northmoc
15b7909171 space_beleren.txt and support 2022-11-19 10:37:18 -05:00
Northmoc
36d2c8212e CMatchUI.getAbilityToPlay trim multi-line ability descs for menu 2022-11-17 16:25:21 -05:00
tool4EvEr
5dc7a22228 Improve MouseWheel support in play choice popup 2022-11-12 17:18:04 +01:00
Robbatog
f643460a22 Added Quest Preference for toggling quest+world rules on/off in duels 2022-11-03 19:26:31 +01:00
Anthony Calosa
e570479e8d Merge pull request #1786 from asvitkine/fix_lands
Fix simulation AI logic related to playing lands.
2022-11-03 20:52:28 +08:00
asvitkine
5a2b714a67 Revert a print statement. 2022-11-02 14:02:09 -04:00
asvitkine
061a24a88c Image fetcher: Don't download card images that are already present.
Fixes a bug where a card's image will be repeatedly downloaded when ImageCache would return for a reason other than the image not being present, such as when requesting a very small image. That happened in practice during the drawing a card animation, where the card is scaled during the animation.
2022-11-02 14:01:17 -04:00
asvitkine
3c57330aa5 Add a comment. 2022-11-02 10:28:14 -04:00
asvitkine
b0120eedf0 Fix simulation AI logic related to playing lands.
This got broken by the following refactor:
79c9c914e2

The result was that simulation AI was ignoring certain decision trees that involved
playing lands, leading to not considering certain lines of play and some log
messages printed to standard error. I've added a test that covers this logic to prevent
it breaking again in the future.

Also, a couple small clean ups to related tests.
2022-11-02 10:26:37 -04:00
add-le
9cd4fb32ec add an alchemy icon for A- cards 2022-10-31 21:17:15 +01:00
Anthony Calosa
c129b0f290 update last selected tab
- closes #751
2022-10-15 19:36:44 +08:00
add-le
e5f16c4d67 label to translate color choices 2022-10-14 18:50:10 +02:00
tool4ever
9d5953579c Desktop: speed up lobby slot type changes caused by multiple deck generation calls in some cases (#1657)
* Clean up

* Avoid multiple deck generation calls during refresh of deck lists

Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.59>
2022-10-09 08:19:30 +03:00
paulsnoops
d6fb986aa5 test_fixes_2 2022-10-08 18:06:25 +01:00
paulsnoops
5cb1024a50 test_fix 2022-10-08 17:52:15 +01:00
Northmoc
2834993cb5 Refactor K:Unblockable > Static (#1551)
* round 1

* round 2

* 10 more (Oct 1)

* attempt to add "Pump" to EffectAi

* more 10/4

* more/fixes 10/4

* more 10/4 (80 to go...)

* more 10/4 (70 to go...)

* 10/5 (60 to go...)

* more 10/5 (50 to go...)

* more 10/5 (40 to go...)

* more 10/5 (30 to go...)

* 10/6 (20 to go...)

* more 10/6 (10 to go...)

* more 10/6 (last of pump -> effect)

* more 10/6 (continuous kw static > cantblockby... 30 to go)

* more 10/6 (continuous > cantblockby... 20 to go)

* more 10/6 (continuous > cantblockby... 10 to go)

* last 10/6 (continuous > cantblockby)

* Final keyword cleanup?

* GameSimulationTest.testEquippedAbilities use Shroud instead of Unblockable

* fish token!

* CreatureEvaluator evaluate for unblockable

* AttachAi evaluate for unblockable
2022-10-08 11:39:26 +03:00
Northmoc
37bce90529 A bit more with AI for Pump + KWChoice (#1637)
* some more tweaks

* PlayerControllerAi.chooseKeywordForPump refine some more

* SpecialCardAi remove Gideon keyword stuff

* PlayerControllerAi.chooseKeywordForPump improve further

* Card.associatedWithColor and Card.canProduceColorMana checks

* restore imports
2022-10-07 14:20:42 +03:00
Northmoc
f1ebac910c move keyword choice to PumpEffect from GenericChoice (#1626)
* move keyword choice to PumpEffect from GenericChoice

* fix silverquill_pledgemage.txt
2022-10-02 07:17:58 +03:00
Anthony Calosa
78cb1e0207 Merge pull request #1438 from Northmoc/specImages
HBG: Specialize face images for local/FTP
2022-09-20 06:56:47 +08:00
Northmoc
c6eaae3766 CardDbCardMockTestCase.testGetCardFromEditionsWrongInputReturnsNull allow for P30H 2 treatments of Shivan Dragon 2022-09-07 09:22:33 -04:00
Northmoc
152e435f7a CardDbCardMockTestCase.testNullAndBoundaryDateValuesForGetCardFromEditionsWithDateRestrictions allow for future-dated latestShivanDragon 2022-09-07 09:20:28 -04:00
Northmoc
1615516a18 improve image fetching for Specialize cards 2022-09-06 21:20:43 -04:00
Northmoc
60b2ea2546 first stab 2022-08-31 17:14:58 -04:00
paulsnoops
e66c120f43 fix_test 2022-08-30 11:23:54 +01:00
Hans Mackowiak
0c3536a561 Read ahead Saga Ability (#1413) 2022-08-28 17:28:55 +03:00
paulsnoops
e3c92451e2 idkwhatthisdoes 2022-08-23 00:10:27 +01:00
paulsnoops
248c1c6603 date 2022-08-22 23:56:41 +01:00
paulsnoops
8eee9da612 date 2022-08-22 23:52:29 +01:00
paulsnoops
455f3fbc67 newtest2 2022-08-22 23:45:07 +01:00
paulsnoops
b7d3057da9 newtest 2022-08-22 23:40:33 +01:00
paulsnoops
9e3ada1905 Fix for failing CardDbCardMockTestCase 2022-08-22 23:10:22 +01:00
paulsnoops
079ab6fa0c Fix CardEditionCollectionCardMockTestCase again 2022-08-22 17:08:13 +01:00
Anthony Calosa
008d5bdbaa Fix test 2022-08-19 05:48:01 +08:00
tool4EvEr
4ee0c40719 Clean up 2022-08-11 16:57:08 +02:00
tool4EvEr
f940a24805 Cleanup cards 2022-07-17 21:38:48 +02:00
Anthony Calosa
47f240af0c return Pair values 2022-07-12 21:38:00 +08:00
Anthony Calosa
7f6bbfea3c move audit to StaticData
- fix cards with setlookup
closes #1096
2022-07-12 19:02:35 +08:00
Anthony Calosa
a71148cfe3 fix auditer
closes #1096
2022-07-12 18:36:59 +08:00
Hans Mackowiak
e92198c254 confirmAction: add Map Params 2022-06-22 23:32:57 +02:00
paul_snoops
712372063d archive to archived 2022-06-20 19:49:33 +01:00
paul_snoops
7dfeb79618 WIP: "Historic" formats re-work - Part 2: Re-name to Archive 2022-06-20 19:49:09 +01:00
Hans Mackowiak
41197902ab GameAction: better handle etb counter + doubler + same time 2022-06-18 10:19:22 +02:00
Hans Mackowiak
c6542347ea Card: add Table for ChangedSVars (#426)
* Card: add Table for ChangedSVars
2022-06-12 19:41:49 +02:00
Anthony Calosa
be997820a3 update ProtocolMethod & access options
- added access options for Java 11 and up
- fix Netplay Crash on assignGenericAmount
2022-05-29 14:31:15 +08:00
Anthony Calosa
6721fc5970 disable some test since it doesn't check the game modes for oathbreaker
- todo make the test relevant for the actual game mode
2022-05-23 12:42:06 +08:00
tool4ever
2198947c53 Fix misc stuff (#234) 2022-05-03 15:54:24 +00:00
Agetian
13dc89c3a2 Merge pull request #186 from tool4ever/questdeckfix
Fix duplicating cards in quest mode
2022-05-02 16:12:55 +03:00
tool4EvEr
b41d76749c Fix duplicating cards in quest mode 2022-05-01 17:04:52 +02:00
Hans Mackowiak
99c10761d1 canEquip checks for SpellAbility 2022-05-01 13:29:58 +02:00
Leandro Doctors
5d75e13614 format: fix broken comment 2022-04-23 19:52:19 -03:00