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
Ingmar Goudt
be5305da90
remove redundant null check
2018-09-28 15:19:27 +02:00
LevelX2
68dc82342c
Merge pull request #5276 from magefree/FixBestowTest
...
Fix bestow test
2018-09-14 14:26:39 +02:00
Kevin Shin
f5498d4cc2
added comment
2018-08-25 23:29:55 -05:00
Kevin Shin
7d2ba0cf2e
all tests passing and satisfied with minimal changes; ready to merge
2018-08-25 23:24:01 -05:00
LevelX2
9e88d847ed
* Estrid, the Masked - fixed problems with with first and second ability ( fixes #5223 ).
2018-08-25 14:30:31 +02:00
Kevin Shin
3ffd812bc6
After some revisions, BestowTest is now fully passed! Now to fix the other tests that don't anymore...
2018-08-25 04:43:38 -05:00
Kevin Shin
e1bfd8a196
Permanents now detach all attachments when they change zones. Ready to test.
2018-08-25 03:57:43 -05:00
ninthworld
86107de54e
Merge remote-tracking branch 'upstream/master'
...
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2018-07-16 21:16:20 -07:00
ninthworld
f31bfa829e
add Star Wars expansion sets to the Star Wars set
2018-07-16 20:55:05 -07:00
igoudt
9f06046f22
add isOwned and isControlled methods. remove some null-checks, remove some unnecessary casts
2018-07-04 14:24:11 +02:00
igoudt
ca1ebeb55e
add method Game.isActivePlayer(UUID playerId)
2018-06-29 14:59:11 +02:00
LevelX2
717308ba12
* Fixed that commanders of players were not removed if a player left a game. Fixed a problem that continuous effects of objects of players that left the game were not removed immediately.
2018-06-09 14:10:48 +02:00
Evan Kranzler
c4a0d9f916
replaced apostrophes
2018-06-06 22:39:16 -04:00