Commit graph

40948 commits

Author SHA1 Message Date
Oleg Agafonov
05826fa8d8 RevealAndSeparatePilesEffect - fixed NPE 2023-06-09 07:03:32 +04:00
Oleg Agafonov
49ce794c45 Merge fix 2023-06-09 07:03:32 +04:00
Oleg Agafonov
3b0de691c8 Remove a counter from - fixed game error 2023-06-09 07:03:32 +04:00
Oleg Agafonov
35b00c3da1 Fixed game errors for non started games (some cards uses dynamic hints with non-protected code) 2023-06-09 07:03:31 +04:00
Oleg Agafonov
ec7befa511 Fixed game error on Nicol Bolas, God-Pharaoh usage 2023-06-09 07:03:31 +04:00
Oleg Agafonov
ae5bc90915 Fixed game error on attack order disconnects 2023-06-09 07:03:31 +04:00
theelk801
b6e87ddcb8 fix verify failure 2023-06-08 21:40:48 -04:00
Alexander Novotny
76f30b3046
Added attachment controller info (#10440)
Fixes magefree/mage#9971
2023-06-09 05:34:26 +04:00
Alexander Novotny
a0f8a42699
Fixing copy and cast from exile effects (#10436)
* Added unit test for magefree/mage#10435

* Added test for potential breakage of prosper functionality

* Copies of cards are now created in the right zone

* Added PlayCardTriggeredAbility

This triggered ability checks to make sure a card was actually played (as opposed to a copy of a card).
Common abilities have been refactored to use this new ability

* Added mizzix's mastery overload test

* Fixed Mizzix's mastery overload

* Added new ability to Juju Bubble

---------

Co-authored-by: xenohedron <xenohedron@users.noreply.github.com>
2023-06-09 05:32:59 +04:00
theelk801
2f79343bc8 [LTR] Implement Uruk-hai Berserker 2023-06-08 21:10:29 -04:00
theelk801
d40c09fea0 [LTR] Implement Scroll of Isildur 2023-06-08 21:08:29 -04:00
theelk801
f83bb0af3c [LTR] Implement Revive the Shire 2023-06-08 20:55:38 -04:00
theelk801
972d8fb324 [LTR] Implement Dunedain Rangers 2023-06-08 20:46:20 -04:00
theelk801
145440ccb1 [LTR] Implement Arwen Undomiel 2023-06-08 20:39:13 -04:00
theelk801
1aea1ebe92 [LTR] Implement Flowering of the White Tree 2023-06-08 20:36:00 -04:00
theelk801
fe9b644168 [LTR] update spoiler 2023-06-08 20:30:11 -04:00
theelk801
8a742ca1d5 [LTR] Implement Galadriel of Lothorien 2023-06-08 20:25:14 -04:00
xenohedron
bdb010cfff Fix #10444 (Dread Summons) 2023-06-08 18:32:42 -04:00
Alexander Novotny
80cb439862
Added Saruman of Many Colors (#10434)
* Added Saruman of Many Colors

Borrowed functionality in CastSecondSpellTriggeredAbility from magefree/mage#10433
Added new helper class ExileTargetCardCopyAndCastEffect for common effect

* Updated FlawlessForgery to use new ExileTargetCardCopyAndCastEffect

* Fixed overriden Effect copy functions

* Expanded ExileTargetCardCopyAndCastEffect

Added ability for non-free spells

* Removed filter lock

* De-duplicated exile and cast effects

* Fixed demilich
2023-06-08 17:00:28 -04:00
Alexander Novotny
0b2f582d84
Added Storm of Saruman card (#10433)
* Added Storm of Saruman card

Some classes have been added/adjusted for code reusability:
- CastSecondSpellTriggeredAbility has been modified to set a target pointer to either the caster or the spell (used here to set a target pointer to the spell for the copy effect)
- CopyTargetSpellEffect has been modified to allow specifying a copy applier (used here to apply the legenedary-stripping effect)
- RemoveTypeCopyApplier has been added as a generic copy applier for any cards which read "except it isn't <type>"

* Fixed verify failure - Remove ward hint on Storm of Saruman

* Fixed a typo - ammount -> amount

* Modified Double Major to use new CopyTargetSpellEffect

* Re-added ability text for Double Major
2023-06-08 16:58:28 -04:00
xenohedron
49075d6893 Fix #10442 (Unleash the Inferno) 2023-06-08 08:49:31 -04:00
theelk801
74920afd71 [LTR] a few fixes 2023-06-07 22:17:40 -04:00
theelk801
ab0c7dbc24 [LTR] Implement Erkenbrand, Lord of the Westfold 2023-06-07 22:01:18 -04:00
theelk801
f0abbfb859 [LTR] Implement Horses of the Bruinen 2023-06-07 21:58:44 -04:00
theelk801
6d2bd8acaf [LTR] Implement Surrounded by Orcs 2023-06-07 21:56:00 -04:00
theelk801
f5da1e52ba [LTR] Implement Took Reaper 2023-06-07 21:51:38 -04:00
theelk801
90163acef5 [LTR] Implement Assault on Osgiliath 2023-06-07 21:50:57 -04:00
theelk801
d49ed24ba1 [LTR] Implement Rangers of Ithilien 2023-06-07 21:46:17 -04:00
theelk801
b240b3cffe [LTR] Implement Shortcut to Mushrooms 2023-06-07 21:41:23 -04:00
theelk801
510806ad79 [LTR] Implement Eagles of the North 2023-06-07 21:39:16 -04:00
theelk801
2df5510118 [LTR] Implement Claim the Precious 2023-06-07 21:37:07 -04:00
theelk801
5ce7a0ff50 [LTR] Implement Rally at the Hornburg 2023-06-07 21:35:06 -04:00
theelk801
3e478133cb [LTR] Implement Birthday Escape 2023-06-07 21:33:50 -04:00
theelk801
33950ce3fd [LTR] Implement Shadow Summoning 2023-06-07 21:33:09 -04:00
theelk801
4e20b3149a [LTC] update spoiler and reprints 2023-06-07 21:31:27 -04:00
theelk801
ebc5727b31 [LTR] update spoiler 2023-06-07 21:31:00 -04:00
PurpleCrowbar
d0f5122733 Fix Elminster text 2023-06-08 01:28:57 +01:00
Alexander Novotny
079424f8f1
Added hint for restrictions which must attack a player (#10438)
Fixes #10140
2023-06-07 20:00:27 -04:00
xenohedron
44f3ef444e Merge branch 'glee--feature/addRichManSwiss' 2023-06-07 19:45:34 -04:00
xenohedron
b55f8f6c46 Merge fix 2023-06-07 19:36:55 -04:00
sprangg
99701e08e7
Improvements to limited with Freeform Unlimited Commander (#10114)
* Limited-style sideboarding with unlimited basics enabled for Freeform Unlimited Commander

* FreeformUnlimitedCommander does not depend on FreeformCommanderFreeForAll anymore.
FreeformUnlimitedCommander has sideboarding.
In two-player matches of FreeformUnlimitedCommander, the player who goes first doesn't draw a card on their first turn anymore.

* FreeformUnlimitedCommanderTypeTest takes into account that sideboarding is allowed

* Fix to startingPlayerSkipsDraw condition

---------

Co-authored-by: sprangg <a@b.c>
2023-06-07 19:05:37 -04:00
chesse20
91d7a0a88c
Adds 15 Pride flags to countrybox selection (#8937) 2023-06-07 18:51:47 -04:00
Alexander Novotny
b0809c4a7a
Beamtown Bullies now properly targets opponent (#10439)
* Beamtown Bullies now properly targets opponent

Fixes magefree/mage#9975

* Fixed filter initialization
2023-06-07 14:27:59 -04:00
PurpleCrowbar
2194aee865 Fix Arbiter of the Ideal text 2023-06-07 01:10:34 +01:00
theelk801
6a2601d3b7 fix verify failure 2023-06-05 23:35:19 -04:00
theelk801
a998017ddd [LTR] Implement Elrond, Lord of Rivendell 2023-06-05 23:18:12 -04:00
theelk801
31c0c2b070 [LTR] Implement The Mouth of Sauron 2023-06-05 23:15:05 -04:00
theelk801
2d4737ce0d [LTR] Implement Fiery Inscription 2023-06-05 23:10:24 -04:00
theelk801
53bf1ec1ac [LTR] Implement Oath of the Grey Host 2023-06-05 23:08:05 -04:00
theelk801
833d7c1ec6 [LTR] Implement Gift of Strands 2023-06-05 23:04:27 -04:00