Commit graph

653 commits

Author SHA1 Message Date
theelk801
c7c31d42c8 fix it but for real this time 2023-08-24 21:37:43 -04:00
theelk801
a6c606f4b5 fix verify failure 2023-08-24 21:37:11 -04:00
theelk801
1f17cc9d72 remove verify skips 2023-08-24 18:47:14 -04:00
theelk801
52778b910a fix verify failure, remove outdated skips 2023-08-24 08:55:08 -04:00
Susucre
5062c84098
Refactor: removed server side objects from a client side game's data (#10788)
* Clean original values transmitted with CardView.originalObject
* Move RateCard to mage.Common, support cardView as argument.
* Clean PermanentView constructor for TestCardRenderDialog
2023-08-24 12:04:07 +04:00
Evan Kranzler
921b640c33
change skip list initialization (#10967) 2023-08-23 19:19:55 -04:00
theelk801
d0ea5f8bc9 fix verify failure 2023-08-23 09:49:21 -04:00
theelk801
8e240518a9 fix verify failures 2023-08-22 20:13:15 -04:00
Susucre
c3d48a9b9c
fix verify test (#10952) 2023-08-22 11:03:30 -04:00
theelk801
813e6c997d remove temporary verify skips 2023-08-20 10:43:55 -04:00
Susucre
62dda45f2d
[WOE] Implement Blossoming Tortoise (#10847)
* [WOE] Implement Blossoming Tortoise

* skip verify test on types

* apply review

* clean another unecessary text

---------

Co-authored-by: Evan Kranzler <theelk801@gmail.com>
2023-08-18 18:29:43 -04:00
theelk801
bacc6a0e77 fix verify failure 2023-08-18 10:14:16 -04:00
Susucre
07efd64f93
skip verify type of Ashiok's Reaper (#10871) 2023-08-18 09:55:17 -04:00
Evan Kranzler
b20bdcede7
WIP: Implement Role mechanic (#10816)
* [WOE] Implement Embereth Veteran

* add SBA for role tokens

* [WOE] Implement Cursed Courtier

* [WOE] Implement Conceited Witch

* [WOE] Implement Besotted Knight

* [WOE] Implement Syr Armont, the Redeemer

* [WOE] Implement Living Lectern

* add role test

* [WOE] Implement Lord Skitter's Blessing

* [WOE] Implement Faunsbane Troll

* [WOE] Implement Twisted Fealty

* [WOC] Implement Ellivere of the Wild Court

* [WOE] Implement Monstrous Rage

* [WOE] Implement Spellbook Vendor

* add verify skips

* extra fix
2023-08-17 10:18:21 -04:00
xenohedron
0c72877fdc verify test: stop failing on reminder text discrepancy, just warn 2023-08-17 00:46:15 -04:00
theelk801
454627eaf6 fix verify failure 2023-08-16 19:22:01 -04:00
Susucre
461fe71314
Tests: Add deep recursive test of copy method (#10756)
* Add recursive test of copy

* no need to print those unless debugging

* WIP

* comment debug print

* more looping on copyable objects.

* Allow for smarter recursion sub Cards

* check that the special fields were encountered

* better comments for fixing the copy errors
2023-08-15 22:39:40 -04:00
Susucre
23cc483a09
Tests: Add Rarity Verify Test out of mtgjson data. (#10782)
* Tests: Add Rarity Verify Test out of mtgjson data.

* skip some of the Special rarity.

* remove skip (fixed in master)
2023-08-12 16:16:22 -04:00
Artemis Kearney
9ba0da00ff
Basic groundwork for extra decks (contraptions, attractions) (#10378)
* extra deck cards not counted in deck size

* extra deck handling in deckbuilder

* move responsibility for extraDeckCard boolean to CardImpl

* remove redundant field copy
2023-08-06 21:06:32 -04:00
theelk801
3bf2b0aac3 add workaround for verify failure 2023-08-05 16:02:40 -04:00
Susucre
894d557952
Add additional copy test to check copy of effects/abilities (#10754)
* add further copy test

* add more missing copy constructors/methods
2023-08-04 20:10:23 -04:00
Susucre
b04b13d530
Add Verify test to detect that copy of a Card throws an Exception (#10752)
* Add test to detect a copy loop on all the Card in the CardRepository

* reword messages

* move copy test in verify checks

* catch any kind of error
2023-08-04 18:37:45 -04:00
xenohedron
e50f8b05c1
[LTR] [LTC] Text fixes (#10569) 2023-07-06 00:24:12 -04:00
theelk801
1be43ef6ff [UGL] remove "Elves" subtype from Elvish Impersonators 2023-06-19 16:32:21 -04:00
Oleg Agafonov
ef8535314f tests: improved verify checks for emblems and tokens 2023-06-17 09:29:47 +04:00
Oleg Agafonov
f0da749e0a refactor: improved some error messages/tests 2023-06-16 07:32:21 +04:00
Oleg Agafonov
d91147f01a decks: improved deck import to support unicode card names from LTR, UGL and other sets, added verify tests for name converters (closes #10465) 2023-06-14 03:21:16 +04:00
theelk801
27406360e8 remove temporary verify skips 2023-06-11 08:54:22 -04:00
theelk801
164d96352d [LTR] Implement Isildur's Fateful Strike 2023-06-09 18:26:21 -04:00
theelk801
a3099a4b39 fix verify failure 2023-06-09 10:11:23 -04:00
theelk801
b6e87ddcb8 fix verify failure 2023-06-08 21:40:48 -04:00
theelk801
4afccccf11 remove temporary verify skips 2023-06-02 08:28:05 -04:00
xenohedron
36b1c56543 Some improvements to verify test 2023-06-02 11:34:05 +03:00
theelk801
0df610fbe7 fix verify failure 2023-06-01 21:50:37 -04:00
Evan Kranzler
60e488cf05
rename classes (#10383) 2023-05-17 18:49:30 -04:00
Evan Kranzler
024c3081df
[BRC] Implement Rootpath Purifier (ready for review) (#10363)
* refactor check supertype methods

* change supertype to list to match card type

* refactor various subtype methods

* implement mageobjectattribute for supertype

* a few fixes

* [BRC] Implement Rootpath Purifier

* a few extra fixes

* more fixes

* add test for purifier
2023-05-13 10:48:07 -04:00
Oleg Agafonov
997dd91c20 Merge fix 2023-05-11 01:12:42 +04:00
Oleg Agafonov
e8475f2aee tests: improved ability text checks in verify:
- added multiple sets support like "MAT;CMD;XLN" (related to 10343);
 - added all sets support like "*";
 - added check stats and percent (total, good, bad);
2023-05-11 01:04:55 +04:00
Oleg Agafonov
1f4dfd08ce docs: added some comments about tokens, verify, test mode, etc 2023-05-09 12:27:18 +04:00
theelk801
67507fed67 [MAT] various text fixes 2023-05-08 20:13:48 -04:00
Oleg Agafonov
5f55c7c667 Tokens and command objects reworked (part 1 of 2):
- fixed that copy effect doesn't restore original image after effect's end;
 - removed outdated availableImageSetCodes (all images auto-selected from tokens database now, related to #10139);
 - refactor command objects to use CommandObjectImpl;
 - refactor planes/emblems/etc objects to use MageObjectImpl, added copyable support;
 - refactor another game objects to remove some duplicated fields;
2023-05-08 02:15:07 +04:00
Oleg Agafonov
6ed702a7b3 Tokens improved:
- added auto-generated token names for CreatureToken;
 - added verify tests for token names;
 - removed outdated ElementalCreatureToken;
 - fixed wrong indefinite article in some tokens;
 - fixed miss Token in some token names (related to #10139);
2023-05-04 17:38:54 +04:00
theelk801
8ed8b5c363 [ONC] a few text fixes 2023-04-30 15:46:52 -04:00
theelk801
df322c680c [40K] various text fixes 2023-04-30 15:26:40 -04:00
theelk801
b3a421d094 revert accidentally reverted changes 2023-04-30 11:29:50 -04:00
theelk801
edb5c99df8 [J22] various text fixes 2023-04-30 11:28:06 -04:00
Oleg Agafonov
255a050025 Tests: improved verify tests:
- added checks for duplicated indefinite articles in the rules;
 - improved test_showCardInfo - now it can search cards by simple class name too;
 - fixed some card/token texts;
2023-04-30 18:49:22 +04:00
Oleg Agafonov
f86cf176d7 Tokens rework:
- added reminder / helper tokens support (example: Copy, Morph, Day // Night, related to #10139);
 - added verify checks for reminder tokens;
 - added images download for reminder tokens;
2023-04-27 19:05:31 +04:00
theelk801
ff115cad48 [ONE] various text fixes 2023-04-24 22:26:34 -04:00
theelk801
d106426b21 fix verify failure 2023-04-22 20:49:17 -04:00