Oleg Agafonov
0e916b6e29
Dev: added additional info to some classes for easy debug;
2021-03-07 17:16:54 +04:00
Oleg Agafonov
dda69cd009
* AI: improved support of "as though mana" abilities (now computer can choose correct mana ability to pay, example: Draugr Necromancer);
...
* Dev: added card's LKI support of multi part cards (mdf/split/adventure);
* Dev: improved support of adding/removing counters from mdf cards;
* Draugr Necromancer - fixed support of mdf/split/adventure cards (#7620 );
2021-02-27 20:14:12 +04:00
Oleg Agafonov
48e9cc3e07
PlayTheTopCard improves: added correct usage check, fixed outdated rule texts, Bolas's Citadel simplified (related to #7605 );
2021-02-21 05:48:09 +04:00
Oleg Agafonov
e941ce108b
[KHM] fixed Old-Growth Troll - correct addAbility usage for permanents;
2021-02-02 04:05:38 +04:00
Oleg Agafonov
2d96d36ec8
AsThough effects improves and fixes:
...
* AsThough: added documentation about code usage and restrictions;
* AsThough: added additional checks for correct usage;
* AsThough: simplified some code;
* PlayFromNotOwnHandZoneTargetEffect - added permanents support as targets;
* Release to the Wind - fixed that it can't cast exiled cards (#7415 , #7416 );
* Test framework: fixed that checkExileCount checking card's owner;
* GUI: fixed typo in Trample card icons;
2021-01-31 22:32:23 +04:00
LevelX2
9fc0e2f25a
* Added some trace output for continous effects and triggered abilities. Changed duration of AffinityEffect to WhileOnStack to prevent wrong handling for removement of the effect.
2021-01-13 09:14:29 +01:00
Oleg Agafonov
db239a1055
Refactor: replaced sourceId by source and introduced source param in some methods;
2020-12-12 20:23:19 +04:00
Oleg Agafonov
c1e7a08c68
* Modal Double Faces cards - fixed that a second side can't be played from non hand zones in some cases ( #7200 );
...
Play lands from graveyard effect - reworked as AsThoughEffect;
2020-11-23 02:30:54 +04:00
Oleg Agafonov
8ac78b4b9e
Added modal double faces cards implementation (MDF cards, #7012 )
2020-11-01 10:03:09 +01:00
LevelX2
90c6637dc2
* Implemeented consumable flag for asThoughtEffects and a player choice which effect to use if multiple consumable effects allow the same action.
2020-08-21 21:24:42 +02:00
LevelX2
8105d8b26c
* Improved handling of asThoughtAs approval by abilities that allows a clear and easy assignment of the approving effect.
2020-08-21 14:58:22 +02:00
Oleg Agafonov
72891a5bad
Refactor: removed redundant temporary effects list ( #6693 , #6618 )
2020-06-24 21:11:49 +04:00
LevelX2
1e36b39434
- Reworked SourceOnBattlefieldControlUnchangedCondition checking now the LOST_CONTROL event which solves the problem with the old code to not be able to detect all controller changes of layered changeController effects when applied later.
...
- Simplified and fixed some problems of the handling of the "Until end of your next turn" duration.
- Fixed that some continous effects changed controller but shouldn't dependant from their duration type. Controller chnage will now done duration type dependant.
(that change fixes #6581 in a more general way undoing the effect specific changes of 2e8ece1dbd ).
2020-06-10 22:28:23 +02:00
Oleg Agafonov
a75d08283f
* Split cards - added spliced effects support for fused spells, no more double splice pays ( #6493 , #6549 );
2020-06-10 09:58:21 +04:00
LevelX2
eb846c0499
* Added ID name instead of only the name to the replacement effect selector list. Otherwise you can't identify the related source if you have multiple sources with the same name (related #6298 ).
2020-06-09 16:37:42 +02:00
Oleg Agafonov
d63a3e88ce
Ability refactor: fixed broken effects timestamp in some use cases
2020-05-28 23:07:36 +04:00
Evan Kranzler
9978b9bec9
fixed issue with dependecies of continuous effects
2020-04-23 17:37:31 -04:00
Evan Kranzler
58541b8a24
fixed menace counters not working
2020-04-20 19:21:01 -04:00
Evan Kranzler
2483fd9c8d
Implemented Fully Grown
2020-04-02 15:04:28 -04:00
Ingmar Goudt
ae7919cd07
program towards Interface rather than implementations
2020-02-10 10:40:06 +01:00
jeffwadsworth
d6c2f031d0
- Fixed #6236
2020-02-06 17:47:08 -06: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
9cd3eeb898
* UI: improved prevention effect messages (now it shows source object name in message window);
2020-02-01 11:37:10 +04: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
c835fb409d
* Bolas's Citadel - fixed that it can't play cards with cycling ( #6215 );
2020-01-22 14:45:44 +04:00
LevelX2
62062367e2
Implemented Furious Rise.
2020-01-12 13:19:09 +01:00
LevelX2
b068d10c44
* Nissa, Vastwood Seer - Fixed a bug of the Nissa, Sage Animist that the animated lands lost the creature type as soon as Nissa was cast again from command zone or from hand ( fixes #5677 ).
2019-12-30 21:35:10 +01: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
d271feb0cb
Reworked asThough effects:
...
* Game: improved asThough effects processing and combo with different cards/abilities (e.g. adventure cards, play from non own hand, etc);
* AI: computer can see and play non hand cards with dynamic effects in all zones (not only graveyard);
* AI: computer can see and play "as though" mana and alternative costs;
* UI: added non hand cards highlights of available abilities/cards;
2019-12-14 18:47:56 +04:00
Patrick Hulin
fbc88f152e
Fix Teferi, Time Raveler behavior and ignore W6 emblem failure for now.
2019-12-10 14:24:35 -05:00
Patrick Hulin
2f138a04ae
Fix issue with casting opponents' cards.
2019-12-10 13:33:27 -05:00
Evan Kranzler
0636d470e2
fixed Splice onto Instant or Sorcery causing rollbacks, still need to fix it not working ( #5830 )
2019-06-07 22:08:41 -04:00
Oleg Agafonov
367a1fd189
Added ConditionalPreventionEffect to support prevention effects with conditions ( #5738 )
2019-05-01 12:49:19 +04:00
Oleg Agafonov
534037e095
* Until end of your turn - fixed that effects discarded too early in multiplayer games ( #5759 , #5676 );
...
Tests: added dozen tests for end of turn effects and related cards.
2019-04-28 11:27:08 +04:00
LevelX2
50cd0af601
* Kess, Dissident Mage - Fixed that it did not allow split cards from graveyard. Fixed some other problems with the card.
2019-01-04 17:21:07 +01:00
LevelX2
c41c6e1fe9
Fixed a problem with casting split cards from non hand zone. Added some generic cast from non hand zone effects and started replacing card specific effects by the generic ones ( fixes #5356 and fixes #4493 ).
2018-10-03 13:44:01 +02:00
LevelX2
4c17a13bce
[GRN] Added Thief of Sanity.
2018-09-22 16:43:15 +02:00
LevelX2
0d9f8ad19a
Merge pull request #4993 from Zzooouhh/Zzooouhh-woc
...
Implemented Word of Command (presumably buggy)
2018-07-14 10:40:38 +02:00
igoudt
9f06046f22
add isOwned and isControlled methods. remove some null-checks, remove some unnecessary casts
2018-07-04 14:24:11 +02:00
L_J
d19ca838ca
Implemented castability check for Word of Command
2018-06-07 05:37:22 +02:00
Evan Kranzler
c4a0d9f916
replaced apostrophes
2018-06-06 22:39:16 -04:00
GrayedFox
3953f3dbdd
remove all MIT copyright notices from files
2018-06-02 17:59:49 +02:00
LevelX2
27ced167fb
* Added logic to add permitting object to play/cast events.
2018-05-27 23:47:57 +02:00
LevelX2
b28bf51c02
* Reworked some more card movement handling ( #4866 ).
2018-05-26 22:39:20 +02:00
LevelX2
fcc6174e5e
Some null exceptions checking and fixed some other minor problems.
2018-05-26 01:22:28 +02:00
Oleg Agafonov
ec4bee43d2
* Daxos's Torment - fixed that it can't get Vampire type from Mephidross Vampire;
2018-05-14 02:42:57 +04:00
LevelX2
92793327f3
* returned UUID of used THOUGHT AS effect instead of boolean.
2018-04-21 22:32:45 +02:00
Evan Kranzler
198be1549d
Revert "Revert "Merge branch 'planeswalkerErrata' into master""
...
This reverts commit f10b62f3da .
2018-04-20 20:42:04 -04:00
Evan Kranzler
f10b62f3da
Revert "Merge branch 'planeswalkerErrata' into master"
...
This reverts commit 95d2721421 , reversing
changes made to fc4986a589 .
2018-04-20 16:41:29 -04:00