Commit graph

12929 commits

Author SHA1 Message Date
theelk801
a7cbab4854 [SLD] Implement Shadow the Hedgehog 2025-06-27 16:25:12 -04:00
theelk801
843668b830 [SLD] Implement Knuckles the Echidna 2025-06-27 16:04:54 -04:00
theelk801
61d678d748 [SLD] Implement Sonic the Hedgehog 2025-06-27 15:49:37 -04:00
Oleg Agafonov
135c594de1 AI, refactor: removed outdated and unused code like simple priority and combat implementation, simple combat damage calculator, etc (part of #13638, #13766) 2025-06-27 16:37:07 +04:00
ReSech
64bfa21b0c
images: correcting two token names from earlier commits (#13793) 2025-06-27 12:59:20 +04:00
Oleg Agafonov
f3e18e245f AI: improved target amount targeting (part of #13638, #13766):
- refactor: migrated AI's target amount code to shared selection logic;
- ai: fixed game freezes on some use cases;
- tests: added AI's testable dialogs for target amount;
- tests: improved load tests result table, added game cycles stats;
- Dwarven Catapult - fixed game error on usage;
2025-06-27 01:11:10 +04:00
ReSech
3f9dc37a71
images: added missing token for Research // Development (#13783) 2025-06-25 14:34:44 +04:00
xenohedron
489d77c21c add docs about game default watchers 2025-06-24 23:56:49 -04:00
xenohedron
7883d90cc8 fix Cathedral Membrane, add test
use game default BlockedAttackerWatcher
2025-06-24 23:56:29 -04:00
Steven Knipe
3bf580233c Replace PermanentIdPredicate.makeCompoundPredicate with preexisting PermanentReferenceInCollectionPredicate 2025-06-24 17:57:56 -07:00
theelk801
fda43021a4 add helper method for creating filters which only select from a collection of permanents 2025-06-23 09:38:05 -04:00
theelk801
747e4e5569 rework CreateTokenAttachSourceEffect to properly handle multiple tokens being created 2025-06-23 09:38:05 -04:00
ReSech
a4cb983401
images: added missing tokens to UND, UGL and WHO (#13779) 2025-06-22 11:51:12 +04:00
xenohedron
c07837f743 a couple text fixes 2025-06-21 19:18:31 -04:00
xenohedron
78e1ef6271 style fixes
filters should be declared `private static final`
2025-06-21 18:45:24 -04:00
ReSech
fbd57cb58f
images: added missing tokens for UNF, TDC & DSK (#13775) 2025-06-21 13:18:20 +04:00
ReSech
de383f6908
images: added new tokens for FIC/FIN, copy, monarch and other (#13760) 2025-06-21 08:19:04 +04:00
theelk801
8ff2a59981 [EOE] Implement Sami, Ship's Engineer 2025-06-20 22:27:00 -04:00
ssk97
5db4beac6c
Adding targets (Part 3/3) (#13769)
Adds target and/or target adjuster to cards whose abilities have the word "target", cards S-Z.
Add `spellCast` value to `CastSpellPaidBySourceTriggeredAbility`.
2025-06-20 18:58:13 -07:00
theelk801
b24a20fec4 refactor: create GainLifeAllEffect 2025-06-20 15:50:06 -04:00
theelk801
dfd09d9a78 [PIP] Implement Nuka-Nuke Launcher 2025-06-20 14:04:36 -04:00
theelk801
ebe9284428 [CLU] Implement Dimir Strandcatcher 2025-06-20 10:32:18 -04:00
theelk801
3827d8285c [EOE] Implement Tezzeret, Cruel Captain 2025-06-20 09:25:52 -04:00
theelk801
4ce5d2d431 fix test failures 2025-06-20 08:52:41 -04:00
theelk801
9744819551 finish removing all filter constructors from TargetCreaturePermanent 2025-06-20 08:29:54 -04:00
theelk801
3e65021150 partially refactor TargetCreaturePermanent constructors 2025-06-20 08:29:53 -04:00
theelk801
80500b5b94 some more target filter refactors 2025-06-20 08:29:53 -04:00
theelk801
b19d8fea76 remove filter constructors from TargetControlledCreaturePermanent 2025-06-19 11:10:53 -04:00
theelk801
96b39c1210 replace some instances of EntersBattlefieldControlledTriggeredAbility with EntersBattlefieldAllTriggeredAbility 2025-06-19 11:10:14 -04:00
ssk97
219cc53cf4
Adding targets (Part 2/3) (#13765)
Adds target and/or target adjuster to cards whose abilities have the word "target", cards H-R.
fix EffectKeyValue text, NestOfScarabs
Add X value to effects for CycleTriggeredAbility, use with ValorsFlagship and SharkTyphoon, add test
2025-06-18 21:14:16 -07:00
theelk801
7be454fb92 some text fixes 2025-06-18 16:40:18 -04:00
theelk801
d2b507650b replace all instances of ConditionalActivatedAbility with ActivateIfConditionActivatedAbility 2025-06-18 16:06:13 -04:00
theelk801
f89efd226a add ConditionalActivatedAbility code to ActivateIfConditionActivatedAbility 2025-06-18 15:43:31 -04:00
theelk801
fe1b01114f simplify ConditionalActivatedAbility constructors more 2025-06-18 15:42:18 -04:00
theelk801
bbbc2e5baf use static upkeep method for IsStepCondition 2025-06-18 13:52:49 -04:00
theelk801
fd371c8932 remove timing argument from ActivateIfConditionActivatedAbility 2025-06-18 13:52:48 -04:00
theelk801
72551143a3 rework ConditionalActivatedAbility text constructor 2025-06-18 13:52:48 -04:00
Oleg Agafonov
ffe902d25e
AI: purged whole targeting code and replaced with simple and shared logic (part of #13638) (#13766)
- refactor: removed outdated/unused code from AI, battlefield score, targeting, etc;
- ai: removed all targeting and filters related logic from ComputerPlayer;
- ai: improved targeting with shared and simple logic due effect's outcome and possible targets priority;
- ai: improved get amount selection (now AI will not choose big and useless values);
- ai: improved spell selection on free cast (now AI will try to cast spells with valid targets only);
- tests: improved result table with first bad dialog info for fast access (part of #13638);
2025-06-18 21:03:58 +04:00
ssk97
1fe0d92c86
Attacks player with creatures triggered ability, Implement [BLC] Echoing Assault (#13764)
Create AttacksPlayerWithCreaturesTriggeredAbility, and tests for that ability via Soaring Lightbringer.
Implement Echoing Assault.
2025-06-18 05:54:36 -07:00
ssk97
9ce5dd212a
Adding targets (Part 1/3) (#13680)
Adds target and/or target adjuster to cards whose abilities have the word "target", cards A-G.
Creates SourceDealsNoncombatDamageToOpponentTriggeredAbility and DefineByTriggerTargetAdjuster
2025-06-17 22:35:49 -07:00
theelk801
6d3bd7a19f refactor: remove OnEventTriggeredAbility 2025-06-15 15:28:08 -04:00
Oleg Agafonov
d893d52190 tests: improved testable dialogs (added source code ref in result table for better IDE navigation, part of #13643, #13638); 2025-06-15 14:08:43 +04:00
xenohedron
7a44ee2a97 fix #12974 (zcc check in ReturnToBattlefieldUnderOwnerControlAttachedEffect)
add test
2025-06-14 21:20:17 -04:00
theelk801
d43e96eaf2 some more text fixes 2025-06-14 11:38:00 -04:00
theelk801
96cc1e40ee fix text for enchantments that turn into creatures permanently 2025-06-14 10:16:01 -04:00
Oleg Agafonov
6ad2cdaa78 AI: improved stability:
- fixed game errors with source related filters (related to #13713);
- fixed game freeze in hand's cards selection (related to #13290);
- fixed game freeze in target amount selection with X=0 (related to #13290);
2025-06-14 16:03:44 +04:00
Oleg Agafonov
e8342e1f11 refactor: improved usage of getSourceObjectZoneChangeCounter, added docs (part of #13737) 2025-06-14 15:31:24 +04:00
xenohedron
492c7c9db8 a bunch of unrelated text fixes 2025-06-14 01:53:56 -04:00
xenohedron
519a9e0c49 small text generation improvement 2025-06-14 01:00:42 -04:00
xenohedron
1b8602bd15 improve text generation for intervening if triggers 2025-06-14 00:46:07 -04:00