Commit graph

12867 commits

Author SHA1 Message Date
Susucre
141d78a158 apply more review changes 2025-06-08 17:43:00 +02:00
xenohedron
836caec201
Merge branch 'master' into refactor/clean-filter-logic 2025-06-08 02:22:59 -04:00
xenohedron
47f2a4fbe5 remove some unneeded filter classes, add static filters
related to #13734
2025-06-08 01:52:14 -04:00
xenohedron
663ada11d1 minor linting 2025-06-08 00:58:45 -04:00
xenohedron
50acfad59c remove unnecessary method that missed source param 2025-06-08 00:57:07 -04:00
xenohedron
4e929dfbbd remove unused class 2025-06-08 00:48:53 -04:00
padfoothelix
4bc30b4b8e
[WHO] Implement The Curse of Fenric (#13718)
---------

Co-authored-by: xenohedron <12538125+xenohedron@users.noreply.github.com>
2025-06-07 23:10:34 -04:00
Evan Kranzler
0e179ccc1f
Refactor SourceHasCounterCondition to be an IntCompareCondition (#13724)
* refactor SourceHasCounterCondition to be an IntCompareCondition

* add comment for arguments
2025-06-07 21:03:21 -04:00
Evan Kranzler
c7f2263ddb
Update rules for Sagas (#13728)
* update saga rules

* update test

* update test
2025-06-07 21:02:26 -04:00
Susucre
8495d6a74e fix and test [FIN] Zack Fair 2025-06-07 20:09:47 +02:00
theelk801
baa52bc617 more refactoring of ConditionalInterveningIfTriggeredAbility 2025-06-07 12:28:14 -04:00
Oleg Agafonov
1112c9516d other: added getMultiAmount testable dialogs in cheat menu (part of #13638) 2025-06-07 08:50:29 +04:00
Oleg Agafonov
d465c9fb82 GUI, deck: improved bracket level calculations (added all infinite combos list and spellbook downloader, part of #13341) 2025-06-06 18:56:03 +04:00
Grath
173da04c33 Fix ChooseCreatureEffect when used with non-AsEntersBattlefield.
Zenos yae Galvus was not letting you choose a creature when it entered, because getPermanentEntering returned null due to Zenos already being in play.
2025-06-05 23:45:02 -04:00
theelk801
d952e3b2ce refactor more cards using ConditionalInterveningIfTriggeredAbility 2025-06-05 12:13:59 -04:00
theelk801
d05d3bbc97 refactor some instances of ConditionalInterveningIfTriggeredAbility 2025-06-04 14:56:12 -04:00
theelk801
b21fe38de2 refactor some abilities to use TriggeredAbility:: withInterveningIf 2025-06-04 09:00:10 -04:00
theelk801
562bd9ffeb rework some effects to use CardUtil::getEffectValueFromAbility 2025-06-04 08:35:08 -04:00
Steven Knipe
bccbb2ee8e Rename DamagedPlayerControlsTargetAdjuster to ThatPlayerControlsTargetAdjuster 2025-06-03 20:09:21 -07:00
Susucre
10695d555e fixes Phelia, Exuberant Shepherd return trigger
fixes #13722
2025-06-03 20:50:07 +02:00
theelk801
8f9f317c19 [ACR] Implement Ratonhnhaketon 2025-06-03 11:00:09 -04:00
theelk801
1cb421ece7 [CLB] Implement Commander Liara Portyr 2025-06-03 07:22:51 -04:00
Oleg Agafonov
74c885a331 GUI, deck: improved bracket level calculations (added infinite combos support, part of #13341) 2025-06-03 08:03:39 +04:00
theelk801
02b649f180 [BLC] various text fixes 2025-06-02 16:52:09 -04:00
theelk801
fe4d6d3197 [BLB] various text fixes 2025-06-02 16:30:11 -04:00
theelk801
ca1145c967 rework text generation for modes with costs and/or flavor words 2025-06-02 12:37:34 -04:00
theelk801
cb7620860b [FIC] Implement Urianger Augurelt 2025-06-02 12:06:21 -04:00
theelk801
db4b076b93 [FIN] Edgar, King of Figaro makes all flip events winnable 2025-06-02 09:18:24 -04:00
theelk801
699b8d59dc more text fixes (DRC is now 100%) 2025-06-01 21:19:16 -04:00
theelk801
5e83c3c3f0 various text fixes 2025-06-01 17:10:15 -04:00
Susucre
a445142d39 fix and test Font of Agonies
fixes #13717
2025-06-01 22:52:31 +02:00
Steven Knipe
4237d0729c Shared zcc init code 2025-06-01 13:01:20 -07:00
Susucre
d1f190a287 apply review 2025-06-01 19:46:21 +02:00
Susucre
19b8a80ab5 more refactor, add MultiFilterImpl 2025-06-01 18:31:34 +02:00
Susucre
6e85b2e4ab initial implementation 2025-06-01 17:17:38 +02:00
theelk801
1ab9eeaad8 [J25] various text fixes 2025-06-01 10:29:05 -04:00
Susucre
cfd51d7dce
refactor: add FilterSource to match TargetSource (#13703)
Small fix of enabling TargetSource to choose/target a Command Object
2025-06-01 15:52:51 +02:00
theelk801
534038f2ba [J25] Implement Psemilla, Meletian Poet 2025-06-01 09:30:42 -04:00
Oleg Agafonov
8d7bd60061 Player under control - fixed that it doesn't hide opponent's hand after control lost (part of #13353); 2025-06-01 10:21:47 +04:00
Oleg Agafonov
71b0613355 tests: added verify check for wrong target tags usage, improved work with tagged targets (related to 8b2a81cb42) 2025-06-01 08:54:24 +04:00
ssk97
3223d99b2a
refactor: remove notTarget targets from abilities (#13651)
Adds OneShotNonTargetEffect and PutCountersTargetCost
Fixes the target timing of spells/abilities, as non-targets should be chosen on resolution.
2025-05-31 20:36:15 -07:00
Steven Knipe
8b29853e4c Fix Vault 13 test and card once zcc fix is merged 2025-05-31 19:29:21 -07:00
Steven Knipe
7a3b069d9e ForEachOpponentTargetsAdjuster -> ForEachPlayerTargetsAdjuster 2025-05-31 19:28:08 -07:00
xenohedron
fc1d5ce4cf refactor: new predicate for mana value equal to counters on source 2025-05-31 22:09:52 -04:00
xenohedron
00084bfd7d refactor: move class to correct package 2025-05-31 22:09:52 -04:00
xenohedron
fdb8fe83af text fixes [MRD] [DST] [5DN] 2025-05-31 22:09:52 -04:00
xenohedron
566839ceeb refactor cards to new common class
"When a [] enters, you may return this card from your graveyard to the battlefield enchanting that creature"
2025-05-31 22:09:52 -04:00
xenohedron
99189ea7a3 text fixes [ODY] [TOR] [JUD] [ONS] [LGN] [SCG] 2025-05-31 22:09:52 -04:00
theelk801
1abaeaabdb make affinity filters package private 2025-05-31 22:02:33 -04:00
Evan Kranzler
db193bd499
Rework affinity implementation (#13707)
* rework affinity implementation

* move filters
2025-05-31 22:00:13 -04:00