Oleg Agafonov
eea808d2d6
Ability refactor: source improves, deprecated code removed;
2020-05-28 22:38:31 +04:00
LevelX2
3aefbfb360
* Fixed problems with win / lose restrictions in relation to empty draw condition ( fixes #1681 #6553 ).
2020-05-26 16:38:01 +02:00
Evan Kranzler
bde65d6279
Created class for reflexive triggered abilities (Ready for review) ( #6500 )
...
* added class for reflexive triggered abilities
* added DoWhenCostPaid
* a few more refactors
* some more refactoring
* almost all refactors done
* finished refactoring
* updated text generation
* Delete SendOptionUsedEventEffect.java
* fixed Wildborn Preserver text
2020-05-04 20:51:38 -04:00
SpeedProg
724287360c
Multiplayer test and fix for Angel of Serenity leaves battlefied trigger when controlled by other then owner and owner leaves game
2020-05-03 11:20:48 +02:00
htrajan
1dc305f329
-setStrictChooseMode and assertAllCommandsUsed in every test
...
-store filter info in GameState
-put instead of putIfAbsent
2020-04-16 19:21:54 -07:00
htrajan
92d6326316
finish
2020-04-16 17:50:17 -07:00
htrajan
a08bd34582
Merge branch 'master' into implement-zilortha
...
# Conflicts:
# Mage/src/main/java/mage/game/GameImpl.java
2020-04-16 15:55:24 -07:00
htrajan
cab436e9e5
wip
2020-04-16 15:53:51 -07:00
Evan Kranzler
8494e98693
Implemented Yorion, Sky Nomad ( #6407 )
...
* Implemented Yorion, Sky Nomad
* Implemented Yorion, Sky Nomad (but for real this time)
* updated game creation to use the correct deck size for limited
2020-04-16 08:10:18 -04:00
Evan Kranzler
378dfbf89a
Updated implementation of Unpredictable Cyclone ( #6423 )
...
* updated implementation of Unpredictable Cyclone, refactored drawCard method
* fixed another small implementation error
* added test for Unpredictable Cyclone
* updated Unpredictable Cyclone test
2020-04-16 08:04:21 -04:00
Oleg Agafonov
8b664adce6
Merge fix
2020-04-13 22:12:47 +04:00
emerald000
c3684a732b
[IKO] Implement Companion and 2 companions
...
Keruga, the Macrosage and Umori, the Collector
2020-04-12 08:29:25 -04:00
Oleg Agafonov
2e73f9d1c5
* UI: added turn number and step info in game logs
2020-02-28 20:27:07 +04:00
Ingmar Goudt
ae7919cd07
program towards Interface rather than implementations
2020-02-10 10:40:06 +01:00
Oleg Agafonov
5adab75324
Revert "format: organize imports"
2020-02-05 02:17:00 +04:00
Leandro Doctors
8a0a9acff7
format: organize imports
2020-02-04 16:21:48 -03:00
Oleg Agafonov
8ca6fd8552
Can't be target/attached effects - fixed that user gets multiple warning message about prevention effect;
2020-01-28 05:31:32 +04:00
Oleg Agafonov
2ca1643b54
* Delay triggered abilities - fixed that copied spell with multiple delayed triggered abilities can freeze the game or missing from stack ( #5437 );
2020-01-23 07:04:19 +04:00
LevelX2
d4ec65cddb
Added Test and changed some log messages from info to debug.
2020-01-07 17:56:26 +01:00
Evan Kranzler
ecf26585b5
refactored SupertypePredicate to be part of SuperType
2020-01-06 19:21:27 -05:00
LevelX2
7f0d793544
* Fixed a problem with Licid creatures not dying if the enchanted creature dies.
2020-01-05 17:06:36 +01:00
LevelX2
ebdba3c57e
* Added logic to check if a card had a triggered ability in the graveyard if it was moved from graveyard to a hidden zone. Because if not, the ability does not trigger.
2020-01-04 23:53:47 +01:00
Ingmar Goudt
ce23f6900d
fix conflicts
2019-12-29 19:28:20 +01:00
LevelX2
1798f5a151
* setCheckPlayableState(false) in finally error handling (related to 133cc7342d).
2019-12-26 14:26:16 +01:00
Oleg Agafonov
2460408da8
* Until your next turn effects - fixed that continuous effects of lost/leaved players can be discarded by combat or some cards before next turn starts;
2019-12-26 07:44:46 +04:00
LevelX2
133cc7342d
* Fixed a problem with check playable methods causing e.g. endless loop if Shared Fate was on the battlefield.
2019-12-25 16:01:02 +01:00
Oleg Agafonov
9cf1ee2f42
Questing Beast - fixed rollback error on damage prevent ( #6116 );
2019-12-24 10:53:51 +04:00
Oleg Agafonov
ff1299cca9
* Copy activated ability - fixed that it raise error on triggering on copied permanents;
2019-12-18 18:16:16 +04:00
Oleg Agafonov
23ef0e4269
* Spark Double - fixed that copy of spark contains legendary type ( #6097 )
2019-12-18 17:57:41 +04:00
Patrick Hulin
19a9d98287
Adventures basically working.
...
No graphics yet.
2019-12-09 12:46:43 -05:00
ssouders412
2d3247d732
Updated pronouns to reflect current rules and oracle text
...
Replaced all instances of "her or she", "him or her", and "his or her", with "they", "them", and "their", or sometimes "that player". Updated verbs where appropriate.
2019-12-06 14:29:36 -05:00
jeffwadsworth
5a1fb5f90e
- Fixed #6059
2019-11-30 05:27:00 -06:00
Oleg Agafonov
913ee65f36
Cards compatibility with oathbreaker format;
2019-05-27 17:21:17 +04:00
Oleg Agafonov
07cf5201ba
* Added new game mode: Oathbreaker ( #5678 );
2019-05-27 16:17:15 +04:00
Oleg Agafonov
85c6528d2d
Merge branch 'master' into copy_constructor_watchers
2019-05-18 09:13:42 +04:00
Oleg Agafonov
ec9198fb22
Merge fix
2019-05-17 21:52:50 +04:00
Oleg Agafonov
4d95d72c66
Test framework: added support of commander cards (just add card to command zone by addCard);
2019-05-17 21:42:35 +04:00
Oleg Agafonov
dc04092fce
Test framework: many improvements and fixes:
...
* added support to use custom cards with any abilities/effects (addCustomCardWithAbility);
* added support of multiplayer games with all range (CardTestMultiPlayerBaseWithRangeAll);
* added realtime checks for permanent counters (checkPermanentCounters);
* added wrong attack commands check in strict mode;
* fixed that added by addCard command cards don't init continues effects;
* fixed that block commands don't removed from actions queue;
2019-04-28 11:10:28 +04:00
Ingmar Goudt
1852de2f47
refactor the copy functionality for no-args watchers
2019-04-07 20:22:14 +02:00
John Hitchings
47c9aab877
Merge branch 'master' into additional-mulligan-support-5600
2019-03-19 23:39:39 -07:00
Ingmar Goudt
b638ef4fad
delete old performance debug code
2019-03-18 12:54:19 +01:00
John Hitchings
7885a42168
Refactor mulligans out of GameImpl and add Paris, Vancouver, London, and Canadian Highlander. Refactor GameImpls to use their specific mulligan.
2019-03-17 23:23:52 -07:00
Oleg Agafonov
1d43b38a5f
Karn Liberated - fixed watchers errors on game restart ability
2019-01-15 20:48:21 +04:00
Oleg Agafonov
b313ab3b7c
Fixed missing watchers on game start, added error on missing watcher;
2019-01-08 13:50:19 +04:00
Ingmar Goudt
9a310732d8
rewrite watchers to GameState.getWatcher(), rather than getWatchers().get(). This hides away the implementation of the watchers. Accepts the class rather than the name. Always returns the specific subclass, so there is no more casting needed. Only 1 line in the common library remains, that is still using the old 'deprecated' method. Needs a new version release to do that.
2019-01-06 20:59:13 +01:00
Oleg Agafonov
59bda7f1d5
Refactor: added copyFrom info for all objects (original card used for copy, copy of copy and etc);
2018-11-29 19:29:39 +04:00
Oleg Agafonov
9986c1d365
[GNT] implemented Militant Angel
2018-11-13 00:25:48 +04:00
Oleg Agafonov
08e88b8a65
Merge pull request #5351 from magefree/plane-and-emblem-implements-controllable
...
Refactor: make plane and emblem implement Controllable
2018-11-04 23:38:54 +04:00
LevelX2
26a93d4427
Reworked ability source object handling.
2018-10-21 21:37:23 +02:00
Ingmar Goudt
fe3f6fb6c8
make plane and emblem implement Controllable to give access to the isControlledBy method
2018-09-30 12:48:03 +02:00