Commit Graph

52520 Commits

Author SHA1 Message Date
leriomaggio
05cfc48b43 Improved mechanism for on-the-fly (no restart) card art update in decks.
Now the smart card art selection is also included in the set of checkings that are performed to see whether or not card arts in Pools require any update.
2021-08-05 12:36:43 +01:00
CCTV-1
a146996c33 translate new settings. 2021-08-05 16:40:12 +08:00
Michael Kamensky
f6977fad35 Merge branch 'j21_4' into 'master'
J21 - 4 Aug

See merge request core-developers/forge!5179
2021-08-05 03:44:32 +00:00
Michael Kamensky
9c71c7914b Merge branch 'twosat-master-patch-87442' into 'master'
Update de-DE.properties

See merge request core-developers/forge!5180
2021-08-05 03:44:21 +00:00
Andreas Bendel
88e3f473d7 Update de-DE.properties
translated cbpCardArtFormat and nlCardArtFormat
2021-08-04 20:08:45 +00:00
leriomaggio
fe9274dabb Added mechanism to update card art when necessary
Deferred sections for deck are only used once, and just when the deck needs to be loaded. At that time, if any optimisation to card art is enabled (and required, that is "there are cards with no pre-specified edition").

After that, sections are memorised and later updated if anything needs updates, and the last used card art preference was different.
2021-08-04 18:00:13 +01:00
Northmoc
a44452f3c9 benalish_partisan.txt 2021-08-04 12:20:19 -04:00
leriomaggio
13687a0380 New test for cardDb with lazy card loading
CardDatabaseHelper has been extended to also support a db with lazy card loading.
2021-08-04 16:50:09 +01:00
leriomaggio
f0f881dbeb Attempt to load Card now with setcode in use (also overloaded when not necessary) 2021-08-04 16:01:56 +01:00
leriomaggio
7dc65d2ef1 Removed duplicate and trailing spaces 2021-08-04 16:01:17 +01:00
leriomaggio
40b20e961a CASE INSENSITIVE card map lookup for lazy card load 2021-08-04 15:59:57 +01:00
leriomaggio
a9c1c01a20 FIXED bug in CardStorageReader to support numbers in card names w/ lazy card loading
Borrowing 100,000 Arrows was the driver test case
2021-08-04 15:59:31 +01:00
leriomaggio
58b2a070ed Added test for corner cases with different case in card name and set code (also compared to legacy implementation)
Also, now LoadCard also uses the provided setCode (if any).
If null or empty string is provided in request, all editions will be used!
2021-08-04 15:58:41 +01:00
Michael Kamensky
54569bffeb Merge branch 'j21_3' into 'master'
J21 – Most of the rest

See merge request core-developers/forge!5175
2021-08-04 14:14:51 +00:00
Michael Kamensky
97fa6f1312 Merge branch 'j21_teyo' into 'master'
J21 - Teyo, Freyalise, and conjure improvements

See merge request core-developers/forge!5169
2021-08-04 14:14:15 +00:00
Northmoc
4201fa63db MakeCardEffect - put made card in None zone before moving to destination 2021-08-04 07:48:22 -04:00
Northmoc
caf067ec68 freyalise_skyshroud_partisan.txt 2021-08-04 07:38:22 -04:00
Northmoc
606ded6fc2 fix typo 2021-08-04 07:38:21 -04:00
Northmoc
18b3e14f2e teyo_aegis_adept.txt 2021-08-04 07:38:21 -04:00
Northmoc
80a24a1f93 fix desc typo 2021-08-04 07:37:47 -04:00
Northmoc
53653d5cc6 finish common "perpetually boost creature in hand" cycle 2021-08-04 07:37:46 -04:00
Northmoc
e718903957 bounty_of_the_deep.txt 2021-08-04 07:37:46 -04:00
Northmoc
ca27221188 update Editions file 2021-08-04 07:37:45 -04:00
Northmoc
21e9dd3976 add "Perpetually" to Effect names for fun 2021-08-04 07:37:45 -04:00
Northmoc
dcdf064e43 scion_of_shiv.txt 2021-08-04 07:37:44 -04:00
Northmoc
3103e4d575 baffling_defenses.txt 2021-08-04 07:37:44 -04:00
Northmoc
ea3353ee2c ethereal_grasp.txt 2021-08-04 07:37:44 -04:00
Northmoc
4360cc7fd5 add AI hint 2021-08-04 07:37:43 -04:00
Northmoc
babd2deb71 davriels_withering.txt 2021-08-04 07:37:43 -04:00
Northmoc
7c657dadf1 skyshroud_lookout.txt 2021-08-04 07:37:42 -04:00
leriomaggio
09822bdda2 Overloading PaperCard constructor without artIndex with default constant 2021-08-04 10:59:34 +01:00
leriomaggio
ce589ca6e8 removed previously introduced workaround for lowercase comparison 2021-08-04 10:58:23 +01:00
leriomaggio
8fba92acde Fixing remaining AEther to Aether to rename 2021-08-04 09:03:14 +01:00
leriomaggio
ead4d134ea Merge remote-tracking branch 'upstream/master' into collector-number-in-card-list-and-card-db-refactoring 2021-08-04 08:51:56 +01:00
leriomaggio
eb9646a0c9 Faster method to load card w/ lazy card load 2021-08-04 08:24:11 +01:00
leriomaggio
5ff8174b4d New data structure in CardEdition allocated for quick cardInset lookup
CardEdition now includes a new Map data strcuture that is allocated only if necessary (i.e. when lazy card loading is enabled) and it will be used for faster card in set lookup by card name. The Map will return a List of cards to account for multiple versions (prints) of a card with the same name within a CardEdition
2021-08-04 08:23:48 +01:00
Hans Mackowiak
f292ad2fb6 Card fix disabled static ability conditions 2021-08-04 07:21:28 +02:00
Michael Kamensky
49b4db24ea Merge branch 'cleanup' into 'master'
Clean up some triggers

See merge request core-developers/forge!5173
2021-08-04 05:10:00 +00:00
Michael Kamensky
904524ea6d Merge branch 'changetargets' into 'master'
ChangeTargets: Fix same choices

See merge request core-developers/forge!5174
2021-08-04 05:09:35 +00:00
Michael Kamensky
2d16490aab Merge branch 'reveal' into 'master'
allow "Random" and "RevealValid" in same Reveal

See merge request core-developers/forge!5178
2021-08-04 05:08:47 +00:00
Michael Kamensky
048995fb47 Merge branch 'fix_the_deck_of_many_things' into 'master'
Fix lose effect of The Deck of Many Things

See merge request core-developers/forge!5177
2021-08-04 05:08:38 +00:00
Michael Kamensky
aa46867e31 Merge branch 'dicesfx' into 'master'
Sound effect for dice rolling!

See merge request core-developers/forge!5176
2021-08-04 05:08:28 +00:00
Northmoc
39e9434901 allow "Random" and "RevealValid" in same Reveal 2021-08-03 23:47:06 -04:00
Lyu Zong-Hong
ead0d809cd Fix lose effect of The Deck of Many Things 2021-08-04 10:29:06 +09:00
Northmoc
db4ac4db9d add GameEventRollDie 2021-08-03 21:04:58 -04:00
Northmoc
b0c2421419 royalty-free die roll mp3 from SoundBible.com 2021-08-03 21:04:28 -04:00
Northmoc
62ab654497 add die roll event to RollDiceEffect and RollPlanarDiceEffect 2021-08-03 21:04:00 -04:00
Northmoc
5c033655c7 SoundEffectType.java add RollDie filename 2021-08-03 21:03:18 -04:00
tool4EvEr
5b4653754f Fix same choices 2021-08-03 22:27:58 +02:00
tool4EvEr
8339745956 Clean up 2021-08-03 21:19:23 +02:00