Commit graph

23244 commits

Author SHA1 Message Date
Joseph Zeffiro
c25d794367
[AFC] Implemented Wild Endeavor (#8028)
* [AFC] Implemented Wild Endeavor

* cleanup

* Adding my missed author tags

* matching existing implementation
2021-08-26 06:30:55 -04:00
Joseph Zeffiro
5e08c5d279
[AFC] Implemented Valiant Endeavor (#8035)
* [AFC] implemented Valiant Endeavor

* matching existing implementation
2021-08-26 06:30:34 -04:00
Evan Kranzler
f8d030bef4
Adding dice rolling trigger/replacement (ready for review) (#7989)
* [AFR] Implemented DiceRolledTriggeredAbility
* [AFR] Implemented Brazen Dwarf
* [AFR] Implemented Feywild Trickster
* [AFC] Implemented Reckless Endeavor
* [AFR] Implemented Pixie Guide
* [AFR] Implemented Critical Hit
* [AFR] Implemented Netherese Puzzle Ward
* [AFC] Implemented Neverwinter Hydra
* [AFR] Implemented Farideh, Devil's Chosen
* [AFR] Implemented Barbarian Class
* [AFC] Implemented Vrondiss, Rage of Ancients
* [AFC] Implemented Arcane Endeavor
* Test framework: added planar die rolls support
* Test framework: added random results set up support in AI simulated games;
* AI: improved roll die results chooses in computer games;
* Roll die: improved combo support for planar die and roll die effects;

Co-authored-by: Daniel Bomar <dbdaniel42@gmail.com>
Co-authored-by: Oleg Agafonov <jaydi85@gmail.com>
2021-08-26 14:06:10 +04:00
Evan Kranzler
12219cff01 [AFC] Implemented Mantle of the Ancients 2021-08-25 08:11:54 -04:00
Grath
40cf802d6b
Fix Shockmaw Dragon's damage trigger (#8155)
* Fix Shockmaw Dragon's damage trigger

The previous implementation was very wrong. This implementation is copied from Balefire Dragon's, except dealing one damage rather than the same amount as the damage dealt to the player.

* Update ShockmawDragon.java

Fix imports.
2021-08-25 07:17:46 -04:00
Evan Kranzler
c1d6309db9 [AFC] Implemented Holy Avenger 2021-08-24 18:16:32 -04:00
Evan Kranzler
29835786c3 updated a few card type methods for companions 2021-08-24 09:43:33 -04:00
Evan Kranzler
3dff1783ac [TSP] fixed Gauntlet of Power adding mana to the wrong mana pool (fixes #8154) 2021-08-24 08:24:08 -04:00
Evan Kranzler
85dfa58e5d [AFR] more text fixes 2021-08-23 19:14:50 -04:00
Evan Kranzler
31a559be23 [AFC] more text fixes 2021-08-23 18:53:35 -04:00
jeff@delmarus.com
b21d85826c - text fix Glimpse the Cosmos 2021-08-22 23:18:53 -05:00
jeff@delmarus.com
1aa20a0483 - outcome fix 2021-08-22 22:27:07 -05:00
Evan Kranzler
e68c7bfeda fixed a test failure 2021-08-22 22:05:05 -04:00
Evan Kranzler
2db0da8429 updated AttacksOrBlocksAttachedTriggeredAbility 2021-08-22 18:08:40 -04:00
Evan Kranzler
13949d8e3e [AFC] various text fixes 2021-08-22 17:56:22 -04:00
Evan Kranzler
01fefff1b9 [AFC] Implemented Phantom Steed 2021-08-22 10:23:42 -04:00
Ingmar Goudt
fed7c2b288 small Sonar fixes 2021-08-22 12:20:28 +02:00
Ingmar Goudt
167d66fdff fix invalid contains method in Hedonist Trove 2021-08-22 12:05:51 +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
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
654ee7791c [AFR] added tokens and images download support; 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
a76a006065 [AFC] fixed Bag of Devouring - NPE on rules/database generation; 2021-08-21 17:50:36 +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
9fa487e60a * Suspend ability - fixed that suspend can be activated from opponent's hand; 2021-08-20 15:40:42 +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
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
3da525520c * Author of Shadows - added window with exiled and castable cards; 2021-08-18 11:02:30 +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
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
5725e15771 GUI: added card hints in choice dialogs (additional to d587cc9151); 2021-08-14 21:57:32 +04:00
jeffwadsworth
b73f10a0ab - little additional fix 2021-08-13 14:46:30 -05:00
jeffwadsworth
6923d4b812 - Fixed #8123 and added "blinked" code as well. 2021-08-13 14:43:02 -05:00
jeffwadsworth
d05104ff61 - Fixed #8124 2021-08-13 11:30:57 -05:00
spjspj
cd22dfd4cc
Merge pull request #8121 from spjspj/master
Add in decreasing rectangle spiral for paper original dual lands
2021-08-13 18:49:09 +10:00
Evan Kranzler
dc4bde0646 [XLN] fixed Kopala, Warden of Waves applying both effects to spells 2021-08-12 09:25:26 -04:00
Oleg Agafonov
1664ee01cf Fixed miss copy code in Game object (lki, cards), removed unused code. Possible fixes:
* simulated games was able to change objects from another games (ConcurrentModificationException, related to d202278ccd, details in 3a6cdd2615);
* AI: fixed cards disappear in multiplayer games with computer (details in #6738);
2021-08-12 00:08:08 +04:00
spjspj
e29b22df6e Add in decreasing rectangle spiral for paper original dual lands 2021-08-12 00:21:41 +10:00
jeffwadsworth
4a8f9d9308 - revert Yedora, Grave Gardener. Its triggered ability is Layer 1b. 613.2b Layer 1b: Face-down spells and permanents have their characteristics modified as defined in rule 708.2. 2021-08-11 08:40:20 -05:00
jeffwadsworth
b8ac3c0809 - Yedora, Grave Gardener now uses layer 4 (type-changing). Note: if you alter the code below, please verify that the effect actually works. The "remove" and "add" cardType and subType were not working in some continuousEffect layers. It works fine with this. Test suite tomorrow. 2021-08-10 17:43:35 -05:00
jeffwadsworth
cd5759de12 - replaced getAbilities().get(0) with getSpellAbility() 2021-08-09 16:59:15 -05:00
jeffwadsworth
ac267831da - Fixed #7853 2021-08-09 16:20:28 -05:00
Evan Kranzler
054a90a038 [AFC] Implemented Wild-Magic Sorcerer 2021-08-09 09:27:11 -04:00
Evan Kranzler
fe4edbd664 [AFC] Implemented Sword of Hours 2021-08-09 08:49:31 -04:00
Evan Kranzler
c081d3fa33 [MH2] small change to collation info 2021-08-08 09:56:42 -04:00
Evan Kranzler
b9c55a984d [MH2] added collation info 2021-08-07 20:40:46 -04:00
jeffwadsworth
3d74bcd682 - Fixed #8110 2021-08-07 17:49:14 -05:00
Evan Kranzler
60174ee12e fixed a test failure 2021-08-07 09:29:06 -04:00
Evan Kranzler
1507d63282 [MID] fixed Wrenn and Seven ability cost (fixes #8106) 2021-08-07 09:07:25 -04:00
Evan Kranzler
a6b5ff5e46 [J21] updated spoiler and reprints 2021-08-07 07:45:41 -04:00
Evan Kranzler
bcd000ac99 [J21] Implemented Boneyard Aberration 2021-08-06 21:05:20 -04:00
Evan Kranzler
7e66182974 [J21] Implemented Sarkhan's Scorn 2021-08-06 20:49:22 -04:00
jeffwadsworth
6fbec78835 - Fixed #8107 2021-08-06 16:49:39 -05:00
Evan Kranzler
52fdc35632 [J21] Implemented Shoreline Scout 2021-08-06 17:35:43 -04:00
Evan Kranzler
b45514ecfb [J21] Implemented Wingsteed Trainer 2021-08-06 17:35:43 -04:00
Ingmar Goudt
b15e97fa6f fix #8073, Vial Smasher will not target invalid opponents 2021-08-06 23:08:50 +02:00
Oleg Agafonov
3bb432a037 Revert "[J21] fixed images download, added reprints"
This reverts commit 99a561b136.
2021-08-07 00:11:04 +04:00
Oleg Agafonov
99a561b136 [J21] fixed images download, added reprints 2021-08-06 23:56:53 +04:00
Oleg Agafonov
f3e38f1026 * Images: fixed images download for some sets (ANA*, OGW, see #8082); 2021-08-06 23:56:00 +04:00
jeffwadsworth
c1772cbe9c - Fixed #8101. also little fix of Ranar the Ever Watchful for some side-cases. 2021-08-06 12:16:59 -05:00
Evan Kranzler
9d27f130bb [J21] Implemented Bounty of the Deep 2021-08-06 09:04:18 -04:00
Evan Kranzler
106d0ea4bb [J21] Implemented Skyshroud Lookout 2021-08-06 09:00:43 -04:00
Evan Kranzler
3be8c419ac [J21] Implemented Manor Guardian 2021-08-06 08:57:51 -04:00
Evan Kranzler
f5687acfad [J21] Implemented Faceless Agent 2021-08-06 08:52:31 -04:00
Evan Kranzler
b10b3da8f0 [J21] added set 2021-08-06 08:08:33 -04:00
Evan Kranzler
3065679f3d [MID] Implemented Wrenn and Seven 2021-08-05 22:02:36 -04:00
Evan Kranzler
3910dae6e0 [MID] Implemented Triskaidekaphile 2021-08-05 21:47:34 -04:00
Evan Kranzler
93ddea0de1 [MID] Implemented Champion of the Perished 2021-08-05 21:43:03 -04:00
Evan Kranzler
78b97dc800 [MID] Implemented Play with Fire 2021-08-05 21:40:09 -04:00
Evan Kranzler
01acb84776 [MID] Implemented Infernal Grasp 2021-08-05 21:33:50 -04:00
Evan Kranzler
f0b7d0b742 [MID] Implemented Consider 2021-08-05 21:32:41 -04:00
Evan Kranzler
2566707889 [MID] Implemented Join the Dance 2021-08-05 21:27:50 -04:00
Evan Kranzler
5bfcfe0ff7 [MID] added set 2021-08-05 21:26:19 -04:00
Evan Kranzler
9c7677d18b [AFC] Implemented Ride the Avalanche 2021-08-05 20:35:18 -04:00
jeffwadsworth
4b43ad09f0 - Fixed #8102 2021-08-05 16:56:45 -05:00
jeffwadsworth
98aaa78081 - Fixed #8044 and #7842 2021-08-05 15:38:39 -05:00
Oleg Agafonov
53aababd44 * Additional costs - added support of X costs on free cast (example: Kicker X, see Thieving Skydiver and Etali, Primal Storm combo);
* As an additional cost discard X cards - fixed wrong text (example: Channeled Force, Firestorm);
2021-08-05 16:18:04 +04:00
Oleg Agafonov
d62cf17422 * Twinning Glass - removed unnecessary confirm dialog, added additional tests (#4721); 2021-08-05 15:37:07 +04:00
Oleg Agafonov
62a6e87297 Added miss overflow protection 2021-08-05 01:19:15 +04:00
Evan Kranzler
66118faa40 [AFR] small change to collation 2021-08-03 21:10:06 -04:00
LevelX2
2134d004af * Elite Spellbinder - Fixed that the playable check for the exiled card did not check the required mana correctly. 2021-08-03 16:32:59 +02:00
Evan Kranzler
2ecad7423e [MH2] fixed Arcus Acolyte affecting creatures with +1/+1 counters rather than ones without (fixes #8095) 2021-08-03 07:38:32 -04:00
Evan Kranzler
5d22cc0f06 [AFR] added collation information (not in use yet) 2021-08-02 21:28:17 -04:00
Oleg Agafonov
d77d885c5a Added miss overflow protection 2021-08-03 04:49:26 +04:00