Commit graph

404 commits

Author SHA1 Message Date
theelk801
d106426b21 fix verify failure 2023-04-22 20:49:17 -04:00
Oleg Agafonov
7d44057f93 Tokens rework:
- now token images chosen by tokens database instead availableImageSetCodes (related to #10139);
 - added additional verify checks for tokens database;
 - fixed some tokens;
2023-04-22 15:50:46 +04:00
Oleg Agafonov
24bd4315c6 Tokens rework:
- added tokens database (now all tokens store in tokens-database.txt, related to #10139);
 - added sets/cards/tokens stats on app's start;
2023-04-22 02:59:15 +04:00
Oleg Agafonov
5f31c061cf Tokens improved:
- removed outdated emblem formats;
 - simplified emblems definition;
 - improved tok-data structure;
 - improved tok-data read;
 - added additional checks for tok-data file;
 - prepare for tokens database (related to #10139);
2023-04-20 22:14:37 +04:00
theelk801
c4ebe4ae8b [MOC] various text fixes 2023-04-18 18:34:57 -04:00
theelk801
7feffa16ff add verify check for mutate cards 2023-04-18 17:47:29 -04:00
theelk801
1578ffb3bc add verify tests for loyalty and defense 2023-04-16 20:58:22 -04:00
theelk801
56d37b3496 [MOM] various text fixes 2023-04-15 21:11:25 -04:00
Evan Kranzler
947351932b
Ready for Review: Implementing Battles (#10156)
* add types and subtypes

* add startingDefense attribute

* [MOM] Implement Invasion of Ravnica / Guildpact Paragon

* fix two small errors

* refactor various instances of "any target"

* fully implement defense counters

* battles can now be attacked

* [MOM] Implement Invasion of Dominaria / Serra Faithkeeper

* [MOM] Implement Invasion of Innistrad / Deluge of the Dead

* [MOM] Implement Invasion of Kaladesh / Aetherwing, Golden-Scale Flagship

* [MOM] Implement Invasion of Kamigawa / Rooftop Saboteurs

* [MOM] Implement Invasion of Karsus / Refraction Elemental

* [MOM] Implement Invasion of Tolvada / The Broken Sky

* simplify battle info ability

* fix verify failure

* some more fixes for attacking battles

* [MOM] Implement Invasion of Kaldheim / Pyre of the World Tree

* [MOM] Implement Invasion of Lorwyn / Winnowing Forces

* [MOM] Implement Invasion of Moag / Bloomwielder Dryads

* [MOM] Implement Invasion of Shandalar / Leyline Surge

* [MOM] Implement Invasion of Belenon / Belenon War Anthem

* [MOM] Implement Invasion of Pyrulea / Gargantuan Slabhorn

* [MOM] Implement Invasion of Vryn / Overloaded Mage-Ring

* [MOM] Implement Marshal of Zhalfir

* [MOM] Implement Sunfall

* implement protectors for sieges

* partially implement siege defeated trigger

* fix verify failure

* some updates to blocking

* [MOM] Implement Invasion of Mercadia / Kyren Flamewright

* [MOM] Implement Invasion of Theros / Ephara, Ever-Sheltering

* [MOM] Implement Invasion of Ulgrotha / Grandmother Ravi Sengir

* [MOM] Implement Invasion of Xerex / Vertex Paladin

* add initial battle test

* fix verify failure

* [MOM] Implement Invasion of Amonkhet / Lazotep Convert

* [MOM] update spoiler

* update how protectors are chosen

* update text

* battles can't block

* add control change test

* rename battle test for duel

* add multiplayer test

* [MOM] Implement Invasion of Alara / Awaken the Maelstrom

* [MOM] Implement Invasion of Eldraine

* [MOM] Implement Invasion of Ergamon / Truga Cliffhanger

* [MOM] Implement Invasion of Ixalan / Belligerent Regisaur

* battles now cast transformed (this is super hacky but we need to refactor TDFCs anyway)

* add TODO

* add ignore for randomly failing test

* a few small fixes

* add defense to MtgJsonCard (unused like loyalty)

* implement ProtectorIdPredicate

* small fixes
2023-04-13 20:03:16 -04:00
Oleg Agafonov
5bff03f57a Tests: improved verify tests for tokens data, added how-to fix hints, added new checks (disabled by default) 2023-04-12 09:51:19 +04:00
theelk801
312cff0c0f [MOM] various text fixes 2023-04-11 09:32:31 -04:00
Oleg Agafonov
8f748b0f2c Tests: added verify checks for wrong set's settings like parent set and block name (temporary disabled) 2023-04-07 17:27:46 +04:00
Oleg Agafonov
59d2b59a4f Tests: added verify check for wrong set names (disabled until 40k cards merge) 2023-04-07 17:27:46 +04:00
Oleg Agafonov
4f583a853e Tests: added new verify checks for tokens (outdated set codes in tok-data, miss sets, etc) 2023-04-05 18:43:44 +04:00
theelk801
287bcde15c add verify test for backup ability 2023-04-04 22:19:11 -04:00
Oleg Agafonov
a6337fd28a Cheats: improved cheat and test commands to use same set_code-card_name notation, added additional tests (related to #10139, cheat command example: battlefield:Human:XLN-Island:1) 2023-04-04 22:05:22 +04:00
Oleg Agafonov
d019acbd55 Tests: improved addCard command, now it can add card from specific set (use 40K:Plains as card name param, #10139) 2023-03-23 23:17:34 +04:00
Oleg Agafonov
77209073e9 Tests: improved mtgjson's card search in verify, added debug info to mtgjson's data; 2023-03-21 17:19:57 +04:00
Oleg Agafonov
e8734702a6 Improved verify tests:
- added check for wrong symbols in card number;
 - added check for miss cards in the set (run manually test_checkWrongCardsDataInSets);
 - improved performance;
2023-03-21 16:12:12 +04:00
Oleg Agafonov
ce06ed62b0 * Images: fixed miss cards from Alchemy: Innistrad, Secret Lair Drop, PMEI and PRES (#9249); 2023-03-20 22:31:26 +04:00
Oleg Agafonov
d757a22acf Tests: fixed miss cards from mtgjson checks in verify 2023-03-20 22:28:04 +04:00
Oleg Agafonov
4e9ffdfaf9 * GUI: double faced cards improves:
* fixed images download for alternative prints (#9826, #9701);
 * fixed wrong pair of main and second side arts for alternative prints;
2023-03-11 17:35:18 +04:00
Oleg Agafonov
18a3ec5247 DB: fixed wrong result for night cards search (fixed double faced cards in test render dialog) 2023-03-11 12:28:58 +04:00
Oleg Agafonov
99d1800214 Verify: added check for double numbers in card rules 2023-02-25 14:31:28 +04:00
theelk801
894f2910da fix verify failures 2023-01-26 09:26:13 -05:00
theelk801
ffe6348ee1 fix verify failure 2023-01-19 08:31:16 -05:00
Evan Kranzler
3b9b2e15be [40K] a few text fixes 2022-11-09 08:53:51 -05:00
Evan Kranzler
5a8bea6e9c [BRC] various text fixes 2022-11-08 19:11:22 -05:00
Evan Kranzler
7e550f463f [BRO] various text fixes 2022-11-08 18:51:01 -05:00
Evan Kranzler
501e769691 [GN3] various text fixes 2022-11-08 18:10:51 -05:00
Przemyslaw Hugh Kaznowski
dc3d867584
Test fixes and improvements (#9733)
* Test fixes and improvements (for debugging)

* Remove set log level

* Remove info log from CardRepository

Co-authored-by: Hugh Kaznowski <raat_streetcam@simplelogin.com>
2022-11-06 08:47:27 -05:00
Evan Kranzler
8291dba15c remove temporary verify skip 2022-11-04 18:49:42 -04:00
Evan Kranzler
8d324692b0 fix verify failure 2022-10-30 15:28:19 -04:00
Evan Kranzler
4d81b76180 [40K] Implemented Shard of the Nightbringer 2022-10-11 20:56:31 -04:00
Evan Kranzler
d3e939e600 add temporary verify skip 2022-10-05 20:43:51 -04:00
Oleg Agafonov
57efc02710 dev: mark test sub-projects as non-deployable (fixed build warning) 2022-09-29 17:59:08 +04:00
Evan Kranzler
b0ebf4ad5b [NCC] various text fixes 2022-09-22 22:29:39 -04:00
Evan Kranzler
95b2817ac8 [DMC] various text fixes 2022-09-15 21:28:25 -04:00
Evan Kranzler
a31644789c [DMU] various text fixes 2022-09-14 18:29:34 -04:00
Evan Kranzler
81975be64e [DMU] updated spoiler 2022-08-28 09:37:50 -04:00
Evan Kranzler
7819640ee1 fix verify failure 2022-08-27 09:52:53 -04:00
Evan Kranzler
17e673ddcf fix verify error, remove skip 2022-08-22 19:00:27 -04:00
Evan Kranzler
7f3b03782e add temporary verify skip 2022-08-19 17:20:46 -04:00
sprangg
7554a2b6b5
Make Add Land dialog no longer add a random mix of regular and snow-covered basic lands (#9353)
The Add Land dialog now only adds regular basic lands and never snow-covered ones, unless you specifically select a set that only contains snow basics (e.g. MH1) Sets that only contain snow basics are not selectable when adding lands to a Limited deck.
2022-08-10 20:11:01 -04:00
Daniel Bomar
fd710e753e
Fix CI Build Issue (#9291)
Update jackson-databind dependency
2022-07-20 10:34:30 -04:00
Alex Vasile
b473300680
More robust searching and importing of MDFCs, Split, Adventure cards, etc. (#8948) 2022-07-08 22:19:54 -04:00
Evan Kranzler
015444d00f [2X2] various text fixes 2022-06-29 17:36:16 -04:00
Oleg Agafonov
5c1fe5075f [CLB] fixed verify tests 2022-06-17 08:20:22 +04:00
Evan Kranzler
18836d1710 fixed verify failures 2022-06-03 21:52:51 -04:00
Evan Kranzler
e9044d69e9 [CLB] various text fixes 2022-06-03 19:44:29 -04:00