xenohedron
2e018b2c14
Change messages from popup window to gamelog by default for continuous rule modifying effects
2023-06-18 14:51:06 -04:00
theelk801
62a92d6d1c
small change to amass effect
2023-06-18 10:30:11 -04:00
xenohedron
045bbbf04f
Fix ReturnToHandAttachedEffect with MDFCs ( #10452 )
...
* Add tests for ReturnToHandAttachedEffect
* Temporary fix for returning attached MDFC to hand
2023-06-16 22:43:34 -04:00
xenohedron
0ce6df9ef7
Improvements to effects that use ADD_COUNTERS GameEvent ( #10474 )
...
* Fix Blightbeetle
* Another adjustment to Laezel
* Fix Vizier of Remedies
* Make extra counters overflow safe
* Inline variable instead of field (Doubling Season)
2023-06-16 02:24:32 -04:00
theelk801
f7baa2a338
[LTR] Implement Gandalf's Sanction
2023-06-14 22:01:10 -04:00
theelk801
018a815eb1
[LTR] Implement Aragorn, Company Leader
2023-06-14 22:00:17 -04:00
xenohedron
2cdfb255cf
cleanup to use ObjectColor.COLORLESS ( #10447 )
...
* Replace for BecomesColorSourceEffect
* Replace for BecomesColorTargetEffect
* Remove unused class
* Use common static instance
2023-06-11 23:36:01 -04:00
Oleg Agafonov
499f21778d
Added additional fixes for getSpellAbility() usage, related to ce3cf742c9
2023-06-11 11:26:34 +04:00
theelk801
ce46b0c0fc
[LTR] Implement Isolation at Orthanc
2023-06-10 12:54:55 -04:00
theelk801
a754fb672a
[LTC] Implement Fealty to the Realm
2023-06-10 12:28:29 -04:00
Oleg Agafonov
05826fa8d8
RevealAndSeparatePilesEffect - fixed NPE
2023-06-09 07:03:32 +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
theelk801
a998017ddd
[LTR] Implement Elrond, Lord of Rivendell
2023-06-05 23:18:12 -04:00
xenohedron
807a6c95f1
Merge pull request #10369 from xenohedron/refactor-search
...
Refactor search library effect classes to clean up text generation
2023-06-04 22:18:18 +03:00
xenohedron
4a3ce686bb
Cleanup: ReturnFromExileForSourceEffect ( #10371 )
...
* Cleanup ReturnFromExileForSourceEffect
* Fix text
2023-06-04 15:07:49 -04:00
theelk801
27e3010139
[LTR] Implement Fangorn, Tree Shepherd
2023-06-03 21:44:39 -04:00
xenohedron
7531263fb9
Fix text [RAV] [GPT] [DIS] ( #10359 )
...
* Fix text: capitalization of regenerate
* Fix text: Circle of Protection Artifacts
* Fix text [RAV] [GPT] [DIS]
2023-06-02 12:36:22 +03:00
xenohedron
5c8b5f23bb
Fix text [CHK] [BOK] [SOK] ( #10355 )
...
* Fix text: duplicate ("you control") in Champion ability
* New static filter "artifacts and enchantments"
* Text fixes [CHK] [BOK] [SOK]
* Fix Genju text without breaking the effect this time
2023-06-02 12:33:48 +03:00
xenohedron
a7c3cb9797
Merge pull request #10399 from xenohedron/cleanup-becomescreaturesource
...
Cleanup: BecomesCreatureSourceEffect
2023-06-02 11:57:19 +03:00
xenohedron
c7994cb3ac
Text fixes
2023-06-02 11:34:05 +03:00
xenohedron
913d5dfee8
Cleanup: PreventDamageAndRemoveCountersEffect ( #10321 )
...
* Add tests (two passing, one failing due to incorrect implementation)
* Cleanup PreventDamageAndRemoveCountersEffect; fix Protean Hydra
2023-06-02 11:29:51 +03:00
theelk801
970bd300c0
[LTR] Implement Display of Power
2023-06-01 21:09:50 -04:00
theelk801
b9f31eb937
[LTR] Implement Dunland Crebain
2023-05-30 18:27:34 -04:00
xenohedron
255c7a9ce7
Remove unused marker interface ( #10404 )
2023-05-29 19:16:04 -04:00
xenohedron
8a071bd1ad
Fix Fighter Class ( #10402 )
2023-05-29 19:13:50 -04:00
xenohedron
9c20dd3bfc
Change the abilities to layer 7b where they belong
2023-05-22 23:49:12 -04:00
xenohedron
d7fc52daea
Fix Haunted Plate Mail
2023-05-22 23:49:12 -04:00
xenohedron
091b6e7c0c
Add/revise comments for clarity
2023-05-22 01:07:29 -04:00
xenohedron
aecdde421b
Refactor to single constructor with CardType enum
2023-05-21 23:47:43 -04:00
xenohedron
00ca915581
Move loseAbilities out of constructor
2023-05-21 23:47:11 -04:00
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
Evan Kranzler
60e488cf05
rename classes ( #10383 )
2023-05-17 18:49:30 -04:00
xenohedron
549b3eb6c8
rename parameter
2023-05-14 01:41:52 -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