Oleg Agafonov
1664ee01cf
Fixed miss copy code in Game object (lki, cards), removed unused code. Possible fixes:
...
* simulated games was able to change objects from another games (ConcurrentModificationException, related to d202278ccd , details in 3a6cdd2615 );
* AI: fixed cards disappear in multiplayer games with computer (details in #6738 );
2021-08-12 00:08:08 +04:00
Evan Kranzler
a61d5543fa
replaced all instances of converted mana cost with mana value
2021-04-17 17:02:27 -04:00
Evan Kranzler
a535cb5adc
Refactoring methods which add counters to track which player adds the counters (ready for review) ( #7448 )
...
* added parameter for player adding counters to players
* added parameter for player adding counters to cards/permanents
* updated methods to use new parameter
* fixed a few initial errors
* refactored instances of cards that add counters by a player other than the controller
* fixed some instances of incorrect arguments
* refactored abilities that trigger off of a particular player adding counters
* a few more cards that were missed
* [KHM] Implemented Vorinclex, Monstrous Raider
* added test for Vorinclex, Monstrous Raider
* fixed a test failure
2021-01-26 19:06:13 -05:00
Oleg Agafonov
db239a1055
Refactor: replaced sourceId by source and introduced source param in some methods;
2020-12-12 20:23:19 +04:00
LevelX2
ba31b956dc
* Meld Keyword - Fixed that the melt status was not correctly handled related to rollbacks or AI game simulation ( fixes #6723 ).
2020-07-18 16:33:28 +02:00
Oleg Agafonov
e95ae2675b
Fixed different ZCC in split card's parts (flashback fix, see 95075cf33e);
...
Improve moveToZone code and fixed some cards with wrong commands queue (e.g. directly removes card from zone and then calls moveToZone again);
2020-06-04 23:47:50 +04: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
GrayedFox
3953f3dbdd
remove all MIT copyright notices from files
2018-06-02 17:59:49 +02:00
igoudt
905829561e
talk to interfaces rather than implementations
2017-07-16 11:08:09 +02:00
LevelX2
75cbfdf3b9
* Some changes to EnterTheBattlefield events, some other fixes ( fixes #2765 ).
2017-01-15 15:22:33 +01:00
LevelX2
ecc18072cf
Cyclopean Tomb - Update.
2016-12-28 02:02:57 +01:00
JOAC69
e8230946af
Remove use of card classes for duplicate cards. Remove set related information from being tied to card classes.
2016-10-04 19:58:48 -05:00
Samuel Sandeen
cdff9bae78
Add Event to the signature of updateZoneChangeCounter.
...
This is required to Implement Skullbriar, the Walking Grave
2016-09-10 17:45:26 -04:00
Samuel Sandeen
c33a731a4a
Refactor the core zone change code to use a common code path.
2016-09-07 23:31:26 -04:00
Samuel Sandeen
34846170c4
Remove an unused argument to Player.putInGraveyard
2016-09-05 11:47:52 -04:00
Samuel Sandeen
db3c2e9d8c
Clean up an inconsistency in ZoneChangeEvent handling
...
Some places set a bit on the ZoneChangeEvent if a permanent was meant
to enter the battlefield tapped but only MeldCard ever read that bit to
determine whether things should come into play tapped.
2016-09-05 09:51:32 -04:00
Samuel Sandeen
bec11804f5
Make the handling of counters more consistent.
...
This dramatically reduces the code duplication around counters handling.
2016-09-03 16:52:41 -04:00
LevelX2
6f89a67f68
* Some more changes to return boolean for addCounters.
2016-08-11 19:14:18 +02:00
LevelX2
2a55110627
[EMN] Some minor fixes.
2016-07-11 19:25:25 +02:00
fireshoes
e9f66ae65a
Merge commit
2016-07-11 11:37:58 -05:00
fireshoes
1dfed9b1c8
[EMN] Added MeldEffect to Gisela and Hanweir Battlements. Changed Brisela and Hanweir, the Writhing Township to MeldCard. Added missing TapSourceCost to Hanweir Battlements. Added missing ability.addEffect to Chittering Host.
2016-07-11 11:32:28 -05:00
LevelX2
54ad8a6ec0
MeldCard prevented possible NPE during test project build.
2016-07-11 17:10:14 +02:00
emerald000
e1b3428a39
[EMN] Implemented basic Meld functionality.
2016-07-11 04:49:40 -04:00