Commit graph

40656 commits

Author SHA1 Message Date
xenohedron
9b73c8367f Check CDAs from token, remove explicit parameter 2023-05-21 23:46:46 -04:00
xenohedron
ce5423bbf6 Add CR reference comment 2023-05-21 21:51:01 -04:00
xenohedron
7ffd805f87 Fix text for cards with duration at start 2023-05-21 01:31:00 -04:00
xenohedron
26a95eed51 More sensible parameter ordering 2023-05-21 01:21:42 -04:00
xenohedron
0bc473f4b2 Clean up constructors and add comments 2023-05-21 01:21:42 -04:00
xenohedron
9aaf1ccef7 Update constructors 2023-05-21 01:21:42 -04:00
xenohedron
3a6e84043c prepare to move power/toughness out of constructor 2023-05-21 01:21:42 -04:00
xenohedron
70248cdd2b Fix text generation for default duration rule at end 2023-05-21 01:21:42 -04:00
Grath
697c55005e
Fix Phyrexian Censor (fixes #10367) 2023-05-19 19:54:47 -04:00
Evan Kranzler
60e488cf05
rename classes (#10383) 2023-05-17 18:49:30 -04:00
Artemis Kearney
d199640fb5
respect testMode=false in development builds (#10376) 2023-05-16 22:53:12 +04:00
Artemis Kearney
cf51701705
text: Runemarks grant abilities to enchanted creatures, not themselves (#10380) 2023-05-15 23:51:19 -04:00
theelk801
4be4c51443 [MOM] fix Omnath, Locus of All not revealing cards(fixes #10248) 2023-05-15 19:26:32 -04:00
xenohedron
ce8eb44099
Fix Offer Immortality (#10373) 2023-05-14 18:35:31 -04:00
xenohedron
1fbbb1a67c another fix 2023-05-14 01:44:59 -04:00
xenohedron
549b3eb6c8 rename parameter 2023-05-14 01:41:52 -04:00
xenohedron
836136549a text fixes part 2 2023-05-14 01:40:35 -04:00
xenohedron
90434514c6 Text fixes 2023-05-14 01:28:34 -04:00
xenohedron
8503b4a34e fix unique templates 2023-05-14 01:12:07 -04:00
xenohedron
9bdd2dd204 Fix missing space 2023-05-14 01:11:53 -04:00
xenohedron
bb8c59aafd add textThatCard to SearchLibraryPutInPlayEffect, fix string builder 2023-05-14 00:01:15 -04:00
xenohedron
b05e6d5cb1 SearchLibraryPutInPlayEffect: remove forceshuffle parameter, part 3 2023-05-13 23:45:36 -04:00
xenohedron
698fe34014 SearchLibraryPutInPlayEffect: remove forceshuffle parameter, part 2 2023-05-13 23:45:36 -04:00
xenohedron
4c787423bc SearchLibraryPutInPlayEffect: remove forceshuffle parameter 2023-05-13 23:45:36 -04:00
xenohedron
1aba94c8a8 SearchLibraryPutInPlayEffect: remove outcome, part 3 2023-05-13 23:45:36 -04:00
xenohedron
511ae76aee SearchLibraryPutInPlayEffect: remove outcome, part 2 2023-05-13 23:45:36 -04:00
xenohedron
3b02a42ddf SearchLibraryPutInPlayEffect: automatic outcome 2023-05-13 23:45:36 -04:00
xenohedron
6de43dc06e Cleanup SearchLibraryPutOnLibraryEffect, part 2 2023-05-13 23:45:36 -04:00
xenohedron
a4616bc7ee Cleanup SearchLibraryPutOnLibraryEffect 2023-05-13 23:45:36 -04:00
xenohedron
f5cbb2e224 SearchLibraryPutInHandEffect: add parameter for "that card" text 2023-05-13 23:45:35 -04:00
xenohedron
ae7266efba SearchLibraryPutInHandEffect: simplify constructors 2023-05-13 23:45:35 -04:00
xenohedron
5ee6bed33a Cleanup SearchLibraryPutInHandOrOnBattlefieldEffect 2023-05-13 23:45:35 -04:00
xenohedron
8eb8a163af Cleanup SearchLibraryPutInPlayTargetPlayerEffect 2023-05-13 23:45:35 -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
Evan Kranzler
a850e3660b
Change supertype method in constructors (#10361)
* replace addSuperType with supertype.add in card constructors

* more supertype replacements

* update MDFC supertype implementation

* remove unnecessary class

* update test
2023-05-12 20:45:07 -04:00
xenohedron
4cc9329b15
New feature: "Chaos Remixed" booster draft (#10328)
* Fix error in draft pick logger that was failing on chaos drafts with fewer than 3 sets

* Implement Remixed Booster Draft

* Add debug test

* minor cleanup

* Cleanup unnecessary checks

* Fix elimination tournament type

* Add note for future improvement
2023-05-12 18:12:23 +04:00
Oleg Agafonov
6d4e353867 Designation - fixed not working abilities like Monarch and Initiative (#10334, #10338); 2023-05-12 18:00:52 +04:00
Oleg Agafonov
b860253624 tests: added monarch check command, added game info in some check fails 2023-05-12 17:08:52 +04:00
bobwoco
09892bf1f2
Fix Slayer's cleaver implementation to check if attached permanent can be blocked instead of the equipment (#10327)
Co-authored-by: Ethan Ward <ethanandrewward@gmail.com>
2023-05-12 11:53:08 +04:00
Alexander Novotny
c45a546526
Fixes for Vessel of the all-consuming (#10306)
* Added some tests for Vessel of the All-Consuming
* Fixed Vessel of the All-consuming
Fixes magefree/mage#10283

Added more commentsto the test.

The bug was for a few reasons. The map was keeping track of how many times a player was dealt damage, not how much damage was being dealt. As well, creating a MageObjectReference from an ability doesn't seem like it works properly, so retrieving from the map never worked.

---------

Co-authored-by: Oleg Agafonov <jaydi85@gmail.com>
2023-05-12 11:45:45 +04:00
xenohedron
f5ab5a8caf
Fix Norn's Inquisitor (#10357) 2023-05-12 11:07:59 +04:00
xenohedron
e4f3f263a4
Fix Drinker of Sorrow (#10352) 2023-05-12 10:53:57 +04:00
xenohedron
1e7ef881cd
Fix Goblin Dynamo (#10353) 2023-05-12 10:35:27 +04:00
xenohedron
36c54c1098
Fix Errant Minion (#10354) 2023-05-12 10:34:32 +04:00
xenohedron
c41c084496
Fix Tandem Takedown (logic from Band Together) (#10356) 2023-05-12 10:33:26 +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
30e582ba8f Fixed test 2023-05-11 00:21:43 +04:00
chesse20
7685115832
add non token predicate (#10349) 2023-05-10 15:30:38 -04:00
Oleg Agafonov
b44347b1b6 docs: added sonarcloud badges (loc, code coverage, tech debt), fixed travis badge, now a static code analysis by sonarcloud report available by https://sonarcloud.io/project/overview?id=magefree_mage 2023-05-10 18:16:49 +04:00