Commit graph

43375 commits

Author SHA1 Message Date
xenohedron
0086c5e4a2 add util methods getTargetingStackObject, checkTargetMap 2023-09-22 23:14:41 -04:00
xenohedron
9ffca1a70b add a bunch of test cases 2023-09-22 23:14:41 -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
Steven Knipe
2e539243eb Add Bestow flash test 2023-09-18 06:15:59 -07:00
Steven Knipe
3f44e8e0e9 Remove dedicated land-morph special casing 2023-09-18 06:11:11 -07:00
Steven Knipe
f379319162 CastAsThoughItHadFlashAllEffect support characteristics 2023-09-18 06:06:52 -07:00
Steven Knipe
485bd53ea8 Require spell casting to have the exact name 2023-09-18 05:52:14 -07:00
Steven Knipe
de8c7ea235 Update cast spell name check to use characteristics 2023-09-18 05:48:36 -07:00
Steven Knipe
9b05f824e0 Only modify the card copy in morph characteristic-setting 2023-09-18 04:02:17 -07:00
Steven Knipe
e7927cb50f make Morph cost reduction a separate class (and fix to work with new system) 2023-09-18 03:33:20 -07:00
Steven Knipe
3f82c36813 Convert all Morph/megamorph cards 2023-09-18 03:00:04 -07:00
Steven Knipe
1220b73961 Convert tests to new format 2023-09-18 02:56:33 -07:00
Steven Knipe
3e4d439d18 Make Morph a SpellAbility (part 1) 2023-09-18 02:48:30 -07: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