Commit graph

41863 commits

Author SHA1 Message Date
Oleg Agafonov
b80f440e15 game: fixed some NPE errors 2023-09-23 07:41:18 +04:00
Oleg Agafonov
a078b67434 Glimmer Lens - fixed game error on usage (NPE) 2023-09-23 07:06:03 +04:00
Oleg Agafonov
0bf4b63bcf refactor: additional improves for mana choice in some cards, related to Naked Singularity from 81039d6e72 2023-09-23 06:39:01 +04:00
Oleg Agafonov
81039d6e72 Naked Singularity - fixed game error on usage with multi subtypes land; 2023-09-23 06:22:36 +04:00
PurpleCrowbar
2ceb2727e5 [CLB] Implement Illithid Harvester 2023-09-23 00:56:09 +01:00
Oleg Agafonov
a9152e886f refactor: improved ContinuousRuleModifying effects:
* removed unused apply methods;
* added miss overrides of checksEventType (related to wrong event usage, see 5f2edde20c).
2023-09-22 21:32:55 +04:00
Oleg Agafonov
5f2edde20c Yasharn, Implacable Earth - fixed game error on usage (wrong work with events) 2023-09-22 20:21:11 +04:00
Oleg Agafonov
e1e2232e58 Aurelia's Fury - fixed game error on usage (wrong work with events) 2023-09-22 20:15:47 +04:00
Oleg Agafonov
abda1fb53b GUI: fixed wrong feedback panel status in computer games (related to #11189) 2023-09-22 11:00:47 +04:00
Oleg Agafonov
598aaa7632 GUI: fixed cards disappear in stack area on some use cases like GUI resize (closes #8158) 2023-09-22 10:24:52 +04:00
Oleg Agafonov
103f75975c Choose triggers order dialog - fixed that it can't remember ability name with card name in it 2023-09-22 09:44:39 +04:00
Oleg Agafonov
921015e6f1 Choose triggers order dialog - fixed that it can't remember ability for last usage 2023-09-22 09:09:52 +04:00
Oleg Agafonov
342979a55a
network: reworked client-server events (related to triggers dialog problem from #11173) (#11189)
* added bad connection mode to test client works on slow network, use -Dxmage.badconnection;
* added bad connection protection in events processing due event type;
* split events to different types (can be ignored, must be synced, etc);
* removed some unused server events.
2023-09-21 18:40:52 +04:00
xenohedron
fa8e93a29d
rework CombatDamageByToughnessAllEffect (#11180)
new CombatDamageByToughnessControlledEffect
add tests
fix #11179
2023-09-19 01:41:55 -04:00
xenohedron
0ad678ff56
enable multiple added subtypes in CreateTokenCopyTargetEffect (#11181)
fix #11176
2023-09-19 01:41:40 -04:00
xenohedron
8eb29c8af1 align rarities to scryfall [MPS] [MP2] 2023-09-18 19:20:30 -04:00
xenohedron
98c53f43fd remove unused import 2023-09-18 19:20:30 -04:00
Oleg Agafonov
9b634d44c6 server: fixed broken work on network's non-compress mode (-Dxmage.network.nocompress) 2023-09-18 12:05:55 +04:00
xenohedron
666c03e48c fix ability string in test 2023-09-17 20:39:21 -04:00
Susucre
d3779d9270
Fix Brine Comber not triggering out of disturb auras (#11170) 2023-09-17 20:19:37 -04:00
Susucre
6b7c0529b9
fix The Great Henge cost reduction (#11165) 2023-09-17 20:19:21 -04:00
Susucre
15ca9679d9
[CMB1] implement Mirrored Lotus (#11172) 2023-09-17 20:19:05 -04:00
Susucre
a3f787b170
test framework: allow direct addEmblem (#11164) 2023-09-17 20:18:46 -04:00
xenohedron
877651deee text fixes 2023-09-17 20:11:26 -04:00
xenohedron
230fb3e060 fix text display: Wreak Havoc 2023-09-17 19:16:44 -04:00
Oleg Agafonov
11528e7d35 server: removed useless fastDbMode, improved db stats logs on updating 2023-09-17 22:16:12 +04:00
Oleg Agafonov
c515ff383c server: added support of property settings (can use launcher to setup params like -Dxmage.testMode=true) 2023-09-17 21:46:17 +04:00
Oleg Agafonov
bcea598fbd tests: added mtgjson rules output in test_showCardInfo 2023-09-17 15:53:51 +04:00
Oleg Agafonov
66d132776e Capital Offense - fixed wrong card text, improved performance 2023-09-17 15:23:19 +04:00
Oleg Agafonov
5f15e962da Bestow ability - fixed that it could be used with other alternative costs 2023-09-17 15:03:16 +04:00
Oleg Agafonov
0bb837cbe5 refactor: removed unused data from images download, improved code 2023-09-17 14:50:33 +04:00
Oleg Agafonov
4e77ccb381 refactor: removed unused data from special action, improved code (related to #11137) 2023-09-17 14:37:49 +04:00
Oleg Agafonov
a4daad1f92 docs: added additional comments and todos for "choose new targets" code 2023-09-16 10:19:23 +04:00
ssk97
b6dbc782be
Fix casting Transformed (#10778)
* Combine casting Transformed into a shared SpellAbility, apply transform effect before spell is cast

* Minor cleanup

* Use effect.apply() rather than game.applyEffects()

* Add test with Maskwood Nexus
2023-09-15 17:56:32 -04:00
Susucre
8859637844
[CMB1] Implement Innocuous Insect (#11143) 2023-09-15 17:56:08 -04:00
Susucre
ecf4b11d2e
[CMB1] Implement Evil Boros Charm (#11142) 2023-09-15 17:55:54 -04:00
Susucre
58fdbc9345
[CMB1] Implement Frogkin Kidnapper (#11137) 2023-09-15 17:55:24 -04:00
Susucre
f4b0b83612
[UNF] Implement Comet, Stellar Pup (#10925) 2023-09-15 17:55:11 -04:00
chesse20
410eeda709
[UNF] add all basic land printings, using full art frame style rendering (#11119) 2023-09-15 17:54:42 -04:00
Oleg Agafonov
6f12d62882 tests: fixed random fails in RadiateTest (wrong MOR predicate code, #9550) 2023-09-15 06:30:10 +04:00
Codermann63
e92031a3bb
[WOC] Implement Unfinished Business (#11144)
* [WOC] Implement Unfinished Business

* Added assertIsNotAttachedTo

* Added unittests for [WOC] Unfinished Business

* Remove unused import

* Refactored assertIsAttachedTo & assertIsNotAttachedTo into assertIsAttached.

* Added processAction after return of creature

* Added comments and minor changes

---------

Co-authored-by: Codermann63 <zoiazous@gmail.com>
2023-09-13 21:12:09 -04:00
xenohedron
4a53ca5ad8 workaround fix for deck editor (Viscera Seer) 2023-09-13 21:06:23 -04:00
Susucre
ec3e067c9d
GUI: display P/T of vehicles in hover panel (#11153) 2023-09-12 21:43:25 -04:00
Susucre
b62b089659
Autosave limited decks on submit (#11147)
* Autosave limited decks in gamelogs folder

* differentiate LIMITED_SIDEBOARD_BUILDING from LIMITED_BUILDING
2023-09-12 21:43:13 -04:00
xenohedron
0a3fa8c25a fix Smeagol Helpful Guide 2023-09-12 21:38:57 -04:00
Oleg Agafonov
be4bff6097 game: fixed wrong usage of batch events (related to #10870) 2023-09-13 04:42:46 +04:00
Oleg Agafonov
ba3b0e4cb7 Merge fix 2023-09-13 03:49:59 +04:00
Oleg Agafonov
316e0dc1f3 refactor: improved damaged batch events, added todo to fix (related to #10870) 2023-09-13 03:14:19 +04:00
xenohedron
d056f81ecc verify test: ignore ref sets with no cards 2023-09-12 01:30:42 -04:00
xenohedron
e87bf3724c final cleanup for updated set names 2023-09-12 00:56:41 -04:00