Commit graph

41910 commits

Author SHA1 Message Date
Susucre
01b336a27f
[LTR] Implement Minas Tirith Garrison (#11220) 2023-09-28 18:49:32 -04:00
Susucre
91b5edb26e
[LTR] Implement Eagle of Deliverance (#11219) 2023-09-28 18:49:16 -04:00
Susucre
b1db62d5d0
[LTR] Implement Mirkwood Channeler (#11218) 2023-09-28 18:49:00 -04:00
Susucre
30118dd515
[LTR] Implement Warg Rider (#11217) 2023-09-28 18:48:51 -04:00
Susucre
5f7079895f
[LTR] Implement Riders of the Mark (#11216) 2023-09-28 18:48:41 -04:00
Susucre
8966d06479
[LTC] Implement Legolas's Quick Reflexes (#11215) 2023-09-28 18:48:28 -04:00
Susucre
351654cadc
refresh newly added spoilers with latest Scryfall data (#11214) 2023-09-28 18:48:19 -04:00
xenohedron
bec7c22990 slightly reduce draft protection timer 2023-09-28 00:03:27 -04:00
xenohedron
7c535658f0 more defensive null checking in draft panel 2023-09-27 23:54:29 -04:00
xenohedron
1c9e954127 adjust Scrib Nibblers, Suffer the Past
(doesn't need special exile zone)
2023-09-27 23:32:22 -04:00
xenohedron
f4ad851233 adjust Danitha, Benalia's Hope
eliminate superfluous hand/graveyard selection choice

(related to #11213)
2023-09-27 23:31:48 -04:00
Artemis Kearney
41874b0b4b
new feature: Emblem Cards (#10498)
* new feature: Emblem Cards

Allows match/tournament creator to specify cards to give each player
emblem versions of (or just the starting player for symmetric effects).

Technical details:
- new UI for specifying emblem cards (.dck files)
  - available for all match/tournament types
- new class `EmblemOfCard`
- new method `copyWithZone` on `AbilityImpl` (used to make abilities
  work from command zone)
- new fields on `GameOptions` and `MatchOptions` for emblem cards
- emblems are granted after mulligans, before first turn (technically
  after Planechase starting plane creation)

* fixes

* defaults for emblem cards in match options (fixes quick game buttons)

* minor fixes

* use DeckCardInfo instead of Card for emblem cards options

* restore accessible parent properties

* fix images for card emblems

* look up cards in a way that preserves which art

* fix typos; make Emblem.sourceObject protected

* add descriptions to planechase and emblem cards

* fixes

* add some unit tests for known working cards

* fix author name

* add explanation comment

* fix up tests

* copyWithZone: no longer modifies zone for singleton abilities

* directly check for MageSingleton
2023-09-26 22:47:13 -04:00
xenohedron
04dba063aa fix #11211 (CR 602.3)
(Golgothian Sylex and Apocalypse Chime)
2023-09-26 22:46:01 -04:00
xenohedron
e66c9900f7 fix #11210 and similar (LKI in TapEnchantedEffect) 2023-09-26 22:46:01 -04:00
xenohedron
4e561b6254
text generation improvements (#11203)
* update ETB trigger effect text gen

* set replace for common abilities

* fix remaining

* rename method, cleanup

* more fixes, better logic
2023-09-25 21:51:51 -04:00
xenohedron
10f2ae0bbc text fixes [ULG] 2023-09-25 21:51:35 -04:00
Susucre
b81db2ba48
[WOC] Implement Shadow Puppeteers (#11183) 2023-09-24 22:09:54 -04:00
Susucre
1acb1d6c9a
Tweak the Pillar of the Paruns format (#11197) 2023-09-24 22:09:38 -04:00
xenohedron
1a13dcd091
Merge pull request #11185 from xenohedron/becomestarget
Rework "whenever ... becomes the target of ..., " abilities
2023-09-24 22:09:14 -04:00
PurpleCrowbar
68c507e151 Add hints to several cards 2023-09-24 16:28:15 +01:00
xenohedron
0287efcffb minor cleanup 2023-09-24 00:52:38 -04:00
xenohedron
1b9bcb92e6 improve targetMap usage, naming, docs per review 2023-09-24 00:22:21 -04:00
Susucre
a58cac2fd5
draft improves: add protection timer (2 sec) to avoid double pick (#11188) 2023-09-23 20:25:48 -04:00
Susucre
35710efa60
Add new Set files, as well as add new entries to mtg-cards-data.txt (#11193)
[SPG] [LCI] [LCC] [REX]
2023-09-23 20:24:44 -04:00
Susucre
b624da7aa8
[ICE] Implement Kjeldoran Guard (#11184)
closes #8593
2023-09-23 20:23:47 -04:00
Susucre
6a5077d638
[WOC] Implement Throne of Eldraine (#11182) 2023-09-23 20:23:18 -04:00
Susucre
f2cdfa4669
[CMB1] Implement Lazier Goblin (#11169) 2023-09-23 20:23:05 -04:00
xenohedron
5d39d1bb38 fix Modern banned list (Yorion, Sky Nomad) 2023-09-23 20:21:23 -04:00
Oleg Agafonov
a3e5754d10 GUI: improved preferences dialog and battlefield:
* removed outdated storm counter button and settings (related cards must have same card hint);
* clean preferences dialog from empty events/actions;
* fixed logs folder names to release names in the labels;
2023-09-23 21:13:59 +04:00
Oleg Agafonov
8ebbeef8f4 Choose triggers order dialog - fixed game error on remember of multiple instances of the trigger (fixes #11194) 2023-09-23 20:16:55 +04:00
Oleg Agafonov
6cade21c4f Aurelia's Fury - miss code 2023-09-23 17:44:34 +04:00
Oleg Agafonov
b80f440e15 game: fixed some NPE errors 2023-09-23 07:41:18 +04:00
xenohedron
cd5ee1c31d text fixes 2023-09-22 23:38:16 -04:00
xenohedron
79157a7219 fix Agrus Kos, Eternal Soldier 2023-09-22 23:38:16 -04:00
xenohedron
832a70a135 reimplement remaining cards 2023-09-22 23:38:16 -04:00
xenohedron
a7cda75b22 new AuraSpellPredicate for Brine Comber, Fugitive Druid (related to #11174) 2023-09-22 23:38:16 -04:00
xenohedron
48d7d07f93 reimplement Fractured Loyalty 2023-09-22 23:38:16 -04:00
xenohedron
2a210404a2 reimplement more cards to use BecomesTargetSource 2023-09-22 23:38:16 -04:00
xenohedron
8f92a23302 rename class for consistency 2023-09-22 23:38:16 -04:00
xenohedron
0cbee152d2 reimplement with common class 2023-09-22 23:38:15 -04:00
xenohedron
d83d27dfa3 update SourceBecomesTargetTriggeredAbility with proper logic and trigger phrase generation 2023-09-22 23:38:15 -04:00
xenohedron
4ab36880fe new common BecomesTargetSourceFirstTimeTriggeredAbility 2023-09-22 23:38:15 -04:00
xenohedron
6abe9ff821 new common BecomesTargetAnyTriggeredAbility 2023-09-22 23:38:15 -04:00
xenohedron
65523b9fec new common BecomesTargetControllerTriggeredAbility
remove old classes
2023-09-22 23:14:41 -04:00
xenohedron
79b10856b8 use common methods in BecomesTargetAttachedTriggeredAbility 2023-09-22 23:14:41 -04:00
xenohedron
ee68726865 use common methods for WardAbility 2023-09-22 23:14:41 -04:00
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