foul-magics/Mage/src/main/java/mage/game
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
..
combat * Game: fixed rollback and game freeze on select attackers step with disconnected people; 2021-09-05 20:03:36 +04:00
command - non-card refactoring related to #8375 2021-10-18 14:02:57 -05:00
draft Refactor ExpansionSet and its subclasses (#8382) 2021-10-13 11:47:23 -04:00
events Implementing Daybound/Nightbound mechanic (#8200) 2021-11-05 23:11:23 +04:00
jumpstart Adding in Jumpstart Custom (requested fixes) 2021-02-06 00:19:36 +11:00
match * Game: tiny leaders game mode improves (fixed AI games errors, fixed commander dupes on game restart with Karn Liberated, #6113); 2021-07-24 14:32:00 +04:00
mulligan Game: fixed mulligan's copy code (can potentially fix empty hands or loses on game start in rare use cases, e.g. with AI); 2021-07-06 13:58:04 +04:00
permanent Implementing Daybound/Nightbound mechanic (#8200) 2021-11-05 23:11:23 +04:00
stack Implementing Daybound/Nightbound mechanic (#8200) 2021-11-05 23:11:23 +04:00
tournament Refactor ExpansionSet and its subclasses (#8382) 2021-10-13 11:47:23 -04:00
turn Implementing Daybound/Nightbound mechanic (#8200) 2021-11-05 23:11:23 +04:00
CardState.java Fixed miss copy code in Game object (lki, cards), removed unused code. Possible fixes: 2021-08-12 00:08:08 +04:00
Controllable.java Improved commander support for mdf/split/adventure cards (additional fixes for ac98a3a31a) 2021-02-06 17:07:10 +04:00
Exile.java Painters Servant - removed duplicated code; 2021-09-04 18:01:20 +04:00
ExileZone.java
Game.java Implementing Daybound/Nightbound mechanic (#8200) 2021-11-05 23:11:23 +04:00
GameCanadianHighlanderImpl.java
GameCommanderImpl.java * Commander storm abilities - fixed rollback error on card usage in non commander games; 2021-09-04 17:15:51 +04:00
GameException.java
GameImpl.java Implementing Daybound/Nightbound mechanic (#8200) 2021-11-05 23:11:23 +04:00
GameInfo.java
GameOptions.java Adding dice rolling trigger/replacement (ready for review) (#7989) 2021-08-26 14:06:10 +04:00
GameReplay.java
GameState.java Implementing Daybound/Nightbound mechanic (#8200) 2021-11-05 23:11:23 +04:00
GameStates.java
GameTinyLeadersImpl.java * Commander storm abilities - fixed rollback error on card usage in non commander games; 2021-09-04 17:15:51 +04:00
Graveyard.java
LookedAt.java
MageObjectAttribute.java Reworking card types in preparation for implementing Grist, the Hunger Tide (#7899) 2021-07-09 07:28:43 +04:00
Revealed.java
Seat.java
Table.java
Team.java
ZoneChangeInfo.java Refactor: replaced sourceId by source and introduced source param in some methods; 2020-12-12 20:23:19 +04:00
ZonesHandler.java Fixed combat information not being preserved in LKI and added unit test 2021-10-21 20:24:51 -05:00