Commit graph

468 commits

Author SHA1 Message Date
Susucre
35710efa60
Add new Set files, as well as add new entries to mtg-cards-data.txt (#11193)
[SPG] [LCI] [LCC] [REX]
2023-09-23 20:24:44 -04:00
Oleg Agafonov
bcea598fbd tests: added mtgjson rules output in test_showCardInfo 2023-09-17 15:53:51 +04:00
xenohedron
d056f81ecc verify test: ignore ref sets with no cards 2023-09-12 01:30:42 -04:00
xenohedron
687fe0bc77 fix superfluous warnings in reminder text verify check (related to ddcc6f21) 2023-09-11 20:38:28 -04:00
Oleg Agafonov
ddcc6f2197 tests: added verify checks for a wrong target settings (related to #11100) 2023-09-07 05:36:59 +04:00
Susucre
e247d27eb0
Tests: Avoid Illegal reflective access in deep copy test. (#11079)
* check that problem is only the recursive test

* fix ArrayList being recursed into.
2023-09-05 22:26:52 -04:00
Susucre
344ff81a37
[WOE][WOC] Fixed card texts, fixed Free the Fae (#11098)
* fix name compare when both full and small name are used
* fix Free the Fae, it is mandatory
2023-09-02 15:40:40 +04:00
arcox
2f0c1d84c5
Lint: fix 'declarations should use interfaces instead of classes' bugs (#11082) 2023-08-31 21:42:45 +04:00
Oleg Agafonov
060b8f9dc9 backup ability: fixed wrong duration and discard in Streetwise Negotiator, added related tests and runtime/verify checks (related to #11068) 2023-08-31 07:29:05 +04:00
Oleg Agafonov
557e0a06e1 tests: fixed string compare in verify test 2023-08-28 12:55:56 +04:00
Susucre
7d34484362
verify test: fix false positives from mana ability adjustments (#11047) 2023-08-27 17:58:51 -04:00
Susucre
a7c77a8895
tests: improve mana abilities splitting in verify tests (#11046) 2023-08-27 21:32:27 +04:00
Susucre
52eaa600ba
text fixes [ALA] [CON] [ARB] (#11036)
* Tweak verify for double cycling
* small fixes
* do not verify some GUI-related rules.
2023-08-26 20:46:49 -04:00
xenohedron
c60bf037a4
Remove unused dependency in Mage.Verify (#11029) 2023-08-26 19:35:19 -04:00
xenohedron
ed4a1bf33f [WOE] text fixes 2023-08-26 00:02:40 -04:00
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