foul-magics/Mage/src/main/java/mage/cards
Evan Kranzler 30afb11cd2
Implementing Daybound/Nightbound mechanic (#8200)
* adding initial day/night support in game state

* remove card exclusion for testing

* added functional implementation to abilities from main branch

* functionally implemented NightCondition

* updated DayNightHint

* added support for nightbound entering transformed at night

* [MID] Implemented Unnatural Moonrise

* [MID] Implemented The Celestus

* added some docs

* changed access for state day/night methods

* added transformation to day/night switch

* re-added unfinished filter, removed day/night cards

* fixed some errors with transforming

* added hints to all day/night cards

* added transformation prevention plus a test

* added Immerwolf test

* [MID] Implemented Tovolar, Dire Overlord / Tovolar, The Midnight Scourge

* refactored some cards to not use isTransformable

* removed transformable parameter

* simplified some transform code

* fixed null pointer exception

* removed unnecessary canTransform method

* fixed a small error

* reworked implementation of rule 701.28f

* small change in transform logic

* fixed failiing test

* fixed verify failure

* small merge change

* added support for day/night switching based on spells cast

* [MID] Implemented Curse of Leeches / Leeching Lurkers

* moved day/night handling to untap step

* added tests for cards which set day and trigger from a change

* [MID] Implemented Ludevic, Necrogenius / Olag, Ludevic's Hubris

* added support for creatures transforming to match day/night when necessary

* fixed verify failures

* fixed another verify failure

* remove temporary verify skip

* added transform message

* removed unnecessary transform message

* [MID] Implemented Angelic Enforcer / Enduring Angel

* updated DayNightHint with more information

* fixed verify failure

* merge fix

* fixed Startled Awake / Persistent Nightmare / Moonmist interaction

* added another test for Moonmist

* merge fix

* merge fix

* [MID] Implemented Baneblade Scoundrel / Baneclaw Marauder

* merge fix

* [MID] various text fixes

* [MID] a few more text fixes

* Merge fix

* Improved transform game logs (hints, source), fixed day/night logs, fixed miss game param (due code style);

* fixed a test failure

* Merge fix

Co-authored-by: Oleg Agafonov <jaydi85@gmail.com>
2021-11-05 23:11:23 +04:00
..
basiclands ObjectColor objects are mutable, so let's not assign the 'constant' ones to variables 2021-10-29 13:56:48 -04:00
decks Dev: migrated to single json lib (removed json-simple from deck import code), clean up guava lib usage in cards; 2021-10-01 17:57:54 +04:00
mock Implementing Daybound/Nightbound mechanic (#8200) 2021-11-05 23:11:23 +04:00
repository Refactor ExpansionSet and its subclasses (#8382) 2021-10-13 11:47:23 -04:00
AdventureCard.java * Copy spell - improved support, now all copied spells are independent (bug example: Seasons Past fizzled after copy resolve, see #7634, 10f8022043); 2021-03-06 19:32:17 +04:00
AdventureCardSpell.java Refactor: removed default comment headers 2021-02-21 08:15:16 +04:00
AdventureCardSpellImpl.java Refactor: replaced sourceId by source and introduced source param in some methods; 2020-12-12 20:23:19 +04:00
ArtRect.java
Card.java Implementing Daybound/Nightbound mechanic (#8200) 2021-11-05 23:11:23 +04:00
CardGraphicInfo.java Revert "format: organize imports" 2020-02-05 02:17:00 +04:00
CardImpl.java Implementing Daybound/Nightbound mechanic (#8200) 2021-11-05 23:11:23 +04:00
Cards.java [C21] Implemented Scholarship Sponsor 2021-04-14 18:33:28 -04:00
CardSetInfo.java Revert "format: organize imports" 2020-02-05 02:17:00 +04:00
CardsImpl.java [MIC] Implemented Wall of Mourning 2021-09-30 08:52:24 -04:00
ExpansionSet.java New booster color validation algorithm, fixes #8177 (#8413) 2021-10-29 11:51:37 -04:00
FrameStyle.java Add in decreasing rectangle spiral for paper original dual lands 2021-08-12 00:21:41 +10:00
LevelerCard.java Revert "format: organize imports" 2020-02-05 02:17:00 +04:00
MeldCard.java Fixed miss copy code in Game object (lki, cards), removed unused code. Possible fixes: 2021-08-12 00:08:08 +04:00
ModalDoubleFacesCard.java reworked Clockwork creature implementations (fixes #8292) 2021-09-18 11:08:17 -04:00
ModalDoubleFacesCardHalf.java [STX] Implemented Torrent Sculptor / Flamethrower Sonata 2021-03-27 11:33:08 -04:00
ModalDoubleFacesCardHalfImpl.java Fixed missing override, restored and additional comments 2021-04-02 11:43:42 +04:00
Sets.java corrected typo: prefered -> preferred 2021-09-11 10:03:10 -05:00
SplitCard.java replaced all instances of converted mana cost with mana value 2021-04-17 17:02:27 -04:00
SplitCardHalf.java Added modal double faces cards implementation (MDF cards, #7012) 2020-11-01 10:03:09 +01:00
SplitCardHalfImpl.java Refactor: replaced sourceId by source and introduced source param in some methods; 2020-12-12 20:23:19 +04:00