Commit graph

35758 commits

Author SHA1 Message Date
Ingmar Goudt
271f7b812f fix #8097,
the sacrifice target cost was optional, but SacrificeCost.canPay first checks if there are valid targets. In this scenario there were none, but the spell should still be playable
2021-08-22 12:01:10 +02:00
Ingmar Goudt
6c837e733b fix PuppetConjurer to trigger only on controllers upkeep, fixes #8145 2021-08-22 10:57:57 +02:00
Jeff
28d9d64112 Merge branch 'master' of https://github.com/magefree/mage 2021-08-21 18:05:47 -05:00
jeff@delmarus.com
fdc24c20da - Fixed #8144. Text is the bane of my existence. I hope some kind soul can fix it on this card so I don't throw myself out a window. Pic will be attached. Card works fine, though. 2021-08-21 17:55:09 -05:00
Evan Kranzler
b1bbe96536 fixed an error 2021-08-21 17:13:03 -04:00
Evan Kranzler
5547d04938 [PCY] reworked Celestial Convergence 2021-08-21 16:51:22 -04:00
Evan Kranzler
0bd402876d [AFC] Implemented Nihiloor 2021-08-21 16:35:09 -04:00
Oleg Agafonov
2b2a2d085a [AFR] added dungeon support in image/card view, images download, Card Viewer, verify tests; 2021-08-21 20:29:47 +04:00
Oleg Agafonov
654ee7791c [AFR] added tokens and images download support; 2021-08-21 20:29:47 +04:00
Oleg Agafonov
88484f5a1e * GUI: fixed that Card Viewer can't open tokens list; 2021-08-21 20:29:47 +04:00
Evan Kranzler
f827924b8c [AFC] Implemented Karazikar, the Eye Tyrant 2021-08-21 11:45:48 -04:00
Evan Kranzler
d20b15c7b6 [AFC] Implemented Hellish Rebuke 2021-08-21 11:20:31 -04:00
Evan Kranzler
898f8ca287 [AFC] Implemented Klauth's Will 2021-08-21 11:20:30 -04:00
Evan Kranzler
b9550a7387 made a util function more generic because why not 2021-08-21 11:20:30 -04:00
Oleg Agafonov
14838e670a Merge fix 2021-08-21 17:55:44 +04:00
Oleg Agafonov
a76a006065 [AFC] fixed Bag of Devouring - NPE on rules/database generation; 2021-08-21 17:50:36 +04:00
Oleg Agafonov
e25d287864 Test framework: added test fails on errors in AI's simulated games; 2021-08-21 17:22:06 +04:00
Oleg Agafonov
7dcdc12c0f * Target permanent or suspended card - added AI support, fixed rollback errors in AI games (example: Shivan Sand-Mage, see #7896); 2021-08-21 17:19:45 +04:00
Oleg Agafonov
e9c68d2a5c Test framework improves (related to #7896):
* added real time command to check card's counters (example: suspended cards with Time counters, see checkCardCounters);
* added target type support: TargetPermanentOrSuspendedCard;
* improves error logs for miss modes and unsupported target types;
2021-08-21 15:02:42 +04:00
Oleg Agafonov
07d0e590a9 Other: fixed rare NPE error on wrong connection, fixed formal param in Aminatou, the Fateshifter; 2021-08-21 11:19:34 +04:00
Oleg Agafonov
33380f09c2 Improved canActivate support:
* added support of non controller activates in ActivatedManaAbility (mayActivate);
* removed custom code from ActivatedManaAbility;
* removed custom code from Mana Cache;
* added additional comments;
2021-08-21 10:52:00 +04:00
Evan Kranzler
bdeb0dde66 refactored TokenPredicate to contain its own inverse 2021-08-20 09:33:38 -04:00
Evan Kranzler
cb5d873fea [AFC] Implemented Bag of Devouring 2021-08-20 09:27:30 -04:00
Evan Kranzler
f740cf0d12 [AFC] Implemented Lorcan, Warlock Collector 2021-08-20 09:11:18 -04:00
Evan Kranzler
e4f0a485a6 [C21] fixed Rousing Refrain mana not staying until end of turn 2021-08-20 08:52:20 -04:00
Oleg Agafonov
ebe02c310a Merge fix 2021-08-20 15:52:16 +04:00
Oleg Agafonov
9fa487e60a * Suspend ability - fixed that suspend can be activated from opponent's hand; 2021-08-20 15:40:42 +04:00
Oleg Agafonov
fb4065ba66 Little fixes 2021-08-20 09:38:16 +04:00
Oleg Agafonov
ca521751cd * Knights of the Black Rose - fixed rollback error on usage in monarch games; 2021-08-20 03:29:47 +04:00
Oleg Agafonov
fb540e9728 * GUI: fixed multiple bugs and performance issues with Deck Editor and sets filter/search; 2021-08-19 21:33:14 +04:00
jeffwadsworth
fd719ad287 - Fixed #8141 2021-08-19 12:03:31 -05:00
Ingmar Goudt
5111438750 fix #8139 nullpointer 2021-08-19 13:18:30 +02:00
Oleg Agafonov
e488997124 * Server: fixed that multiplayer game can be closed on "1x human + 1x AI" remain (see #6178); 2021-08-19 01:42:35 +04:00
Oleg Agafonov
3da525520c * Author of Shadows - added window with exiled and castable cards; 2021-08-18 11:02:30 +04:00
Oleg Agafonov
1d60c2039b * Game: fixed priority lost on rollback (example: game skips to next step instead current step after a rollback error);
* Game: added game logs on rollback error;
2021-08-18 10:58:43 +04:00
Evan Kranzler
c8445c31a3 [AFC] Implemented Immovable Rod 2021-08-16 09:40:35 -04:00
Evan Kranzler
4c4168ac1f [AFC] Implemented Hurl Through Hell 2021-08-16 09:26:25 -04:00
Evan Kranzler
75eddb0a54 [AFC] Implemented Indomitable Might 2021-08-16 09:08:04 -04:00
Evan Kranzler
7cc806bb48 [AFC] fixed Klauth, Unrivaled Ancient mana not staying until end of turn 2021-08-16 08:38:50 -04:00
Oleg Agafonov
1a940241da
Merge pull request #8133 from YunLemon/TRAVIS_SHALLOW_CLONE_1
Shallow cloning on travis
2021-08-16 10:25:49 +04:00
Your Name
df82f4bd68 set git depth 2021-08-16 10:43:50 +08:00
Oleg Agafonov
a691d6a45b Typo fix 2021-08-16 02:10:04 +04:00
Oleg Agafonov
43bdab8636 * GUI: added yes/no auto-answers for state base actions dialogs (example: commander change zone); 2021-08-16 02:00:53 +04:00
jeff@delmarus.com
9a0474d196 - Fixed #8132 2021-08-15 15:24:05 -05:00
Oleg Agafonov
f21c492ce2 Refactor: added docs for a copy stack object code (#7662); 2021-08-15 17:12:59 +04:00
Oleg Agafonov
c328c71ef9 GUI: chats code upgraded to use new popup hint code; 2021-08-15 10:47:19 +04:00
Oleg Agafonov
5725e15771 GUI: added card hints in choice dialogs (additional to d587cc9151); 2021-08-14 21:57:32 +04:00
jeff@delmarus.com
ef010bc2f3 Wrenn and Six emblem can now add the retrace ability to their legal sides. But, the issue with casting fused split-cards remains. It should not be allowed from the graveyard zone, only the hand. 2021-08-14 12:15:58 -05:00
Oleg Agafonov
62474c12a4 * GUI: fixed non-closeable choose dialog with empty list on server's error (example: Cabal Therapy, see #8065); 2021-08-14 19:10:23 +04:00
Oleg Agafonov
d587cc9151 * GUI: added card popup info in choose dialog (example: choose dungeon, #8012);
* GUI: added texts popup info in choose dialog (example: choose from any list);
2021-08-14 09:18:50 +04:00