Commit graph

45675 commits

Author SHA1 Message Date
xenohedron
b85d2883e3 style: remove some static imports 2024-06-11 23:47:48 -04:00
xenohedron
d61de05eb8
refactor: simpler processAction syntax (#12458)
* game.processAction() instead of game.getState().processAction(game)

* add simpler method name and docs

* find/replace to new method

* remove old method

* deprecate applyEffects
2024-06-11 22:55:43 -04:00
Oleg Agafonov
e2b1d980b6 other: added java version in app's starting logs 2024-06-12 06:33:04 +04:00
grimreap124
a8215efe1a
Implement [ACR] The Animus (#12453) 2024-06-11 14:18:59 +04:00
xenohedron
fc21365847
Fix "becomes the target of" logic to check all modes (#12452)
* check all targets from all modes for getTargetingStackObject

* update logic related to a97dec3
2024-06-11 00:58:12 -04:00
Oleg Agafonov
e209ce1c97 server: fixed wrong cheater detection in some tourney sideboardings (closes #11877) 2024-06-11 00:30:00 +04:00
Oleg Agafonov
72cf60085c AI: fixed MCTS (Monte Carlo) errors in some simulations (#10154); 2024-06-10 21:54:53 +04:00
Oleg Agafonov
c8b5c1fa35 AI: fixed wrong quick start button for MCTS game 2024-06-10 21:51:55 +04:00
Oleg Agafonov
88a451bb4f GUI: fixed wrong font size in debug menu and quick game buttons 2024-06-10 21:51:05 +04:00
Oleg Agafonov
fe55e67ca3 AI: fixed any MCTS (Monte Carlo) simulations fail, added catch error on MCTS fails (#10154); 2024-06-10 20:37:32 +04:00
Oleg Agafonov
fe4814680e game, AI: fixed bloated logs in AI and other games 2024-06-10 20:29:40 +04:00
xenohedron
a5488228b8
fix usable zone logic for abilities that function from other zones (#12446)
* remove superfluous constructor params

* fix Syrix, Carrier of the Flame

* standardize Zone = Battlefield

* rename class

* remove redundant class

* add docs

* adjustment
2024-06-09 22:15:04 -04:00
xenohedron
0d4acf26e5 refactor: improve method name - checkShortLivingLKI 2024-06-09 22:13:33 -04:00
xenohedron
aeaeccb63b
Fix bugs with dies triggers due to short living LKI reset (#12438)
* replace applyEffects() with processAction() for card usages

* update Goblin Welder and test

* add test for Historian's Wisdom

* enable other related tests

* only reset short living LKI for process action, not all apply effects

* update docs

* remove applyEffects from condition in Historian's Wisdom

* add another test case
2024-06-09 18:56:19 -04:00
Ikko Eltociear Ashimine
be8a52fe60
chore: update TournamentUtil.java (#12444)
appropiate -> appropriate
2024-06-09 18:56:04 -04:00
Oleg Agafonov
93221f8452 GUI: improved small mode detection on some desktop resolutions (mode without avatars); 2024-06-10 00:00:46 +04:00
Susucre
86fa92788e improve target naming for Getaway Glamer 2024-06-09 18:05:01 +02:00
theelk801
70f39341c0 [ACR] Implement Hidden Blade 2024-06-09 11:58:17 -04:00
theelk801
ee479d24c9 [ACR] Implement The Spear of Leonidas 2024-06-09 11:47:49 -04:00
theelk801
2cef1c83b2 [ACR] update spoiler and reprints 2024-06-09 11:41:31 -04:00
Susucre
01d2550396 clear hints before static ones are added in triggers' checkTrigger 2024-06-09 14:22:10 +02:00
Susucre
cbe1db3434 fix Unstable Amulet not working on split/mdfc/adventures 2024-06-09 13:59:56 +02:00
Susucre
9180e22844 add Hints on Aether Revolt trigger and Saheeli the Gifted 2024-06-09 13:38:09 +02:00
tiera3
fb710f46be
images: improved download size calc for small scryfall images (#12441) 2024-06-09 10:32:10 +04:00
xenohedron
4bdca4b9ad text fixes 2024-06-08 15:23:23 -04:00
Oleg Agafonov
8f70039e3e AI: fixed error on targeting activated ability on stack (closes #12437); 2024-06-08 23:14:26 +04:00
Susucre
e2066f41ab
fix copy effect not being discarded early enough (#12434) 2024-06-08 20:49:20 +02:00
Susucre
4931cbfd50 fix and further test Deification.
`event.getPlayerId()` is the player controlling the source of damage, not the player controlling the planeswalker.
2024-06-08 20:03:42 +02:00
Evan Kranzler
cdf91e66fb
Change tribal card type to kindred, update viashino and naga (#12271)
* change tribal card type to kindred

* update viashino to lizard

* update naga to snake
2024-06-08 13:55:52 -04:00
Susucre
40a1fc6c23 cleanup and add tests on '{this} enters the battlefield tapped unless [Condition]'
Almost a refactor. The only change is that all those cards were missing the notTarget argument in TapSourceEffect.

closes  #12411
2024-06-08 19:35:35 +02:00
Susucre
5b74858573 test Jace, Telepath Unbound's -3 on split card and mdfc
closes #9607
closes #9365
2024-06-08 15:49:05 +02:00
Susucre
f97d89ec5f
add Chromatic Star tests ; one ignored for bug #12385 (#12386) 2024-06-08 14:48:31 +02:00
Susucre
9c4b11368e add Shifting Woodland Test ; one ignored to reproduce #12433 bug 2024-06-08 14:10:15 +02:00
Oleg Agafonov
d2f5379d35 images: improved error message on miss symbols 2024-06-08 11:46:05 +04:00
Oleg Agafonov
c094e31760 images: fixed wrong errors on searching broken images files (closes #12430) 2024-06-08 07:28:17 +04:00
theelk801
703fbf7d02 [M3C] remove vestigial target pointer from Benthic Anomaly 2024-06-07 21:47:30 -04:00
Susucre
45cf89aedd
MH3: added play boosters (#12400) 2024-06-07 23:50:14 +04:00
Oleg Agafonov
a3194970ca additional fix for commander colors from #12429 2024-06-07 23:48:27 +04:00
Alexander Novotny
892ccddd35
game: fixed wrong commander colors with large color identity (#12429) 2024-06-07 23:46:32 +04:00
Oleg Agafonov
a071593d47 refactor: added runtime check for wrong usage of AddContinuousEffectToGame (closes #12427) 2024-06-07 23:20:13 +04:00
Oleg Agafonov
37dbdb4b4b refactor: fixed miss deep copy of AlternativeSourceCosts in PlayerImpl (related to #12420) 2024-06-07 23:06:59 +04:00
theelk801
273770246c [M3C] Implement Infested Thrinax 2024-06-07 14:45:33 -04:00
theelk801
3517dd79f2 add subtype for deckbulding to [M3C] Planar Nexus and [UNF] Nearby Planet 2024-06-07 14:36:40 -04:00
Susucre
1531671c16 implement [M3C] Coram, the Undertaker 2024-06-07 20:01:25 +02:00
Evan Kranzler
08c7d2ab8f
implement [M3C] Planar Nexus [MH3] Omo, Queen of Vesuva and [UNF] Nearby Planet ; introduce AllNonbasicLandTypes status (#12203) 2024-06-07 18:36:41 +02:00
Susucre
3e18b58cac
implement [MH3] Arena of Glory and usage of ManaSpentDelayedTriggeredAbility (#12404) 2024-06-07 18:34:45 +02:00
Susucre
0cd2fda764 add comment on why "Name Sticker" Goblin is banned, as it's a mtgo replacement for a banned card 2024-06-07 17:39:53 +02:00
Susucre
9eeae92cea small requested fixes on new cards 2024-06-07 17:35:18 +02:00
Susucre
be58777f7b update formats banlist
https://magic.wizards.com/en/banned-restricted-list
https://magic.wizards.com/en/news/announcements/may-13-2024-banned-and-restricted-announcement
https://magic.wizards.com/en/news/announcements/pauper-bans-for-june-6-2024
2024-06-07 17:25:50 +02:00
theelk801
21b0701597 [M3C] Implement Selective Obliteration 2024-06-07 11:04:21 -04:00