Evan Kranzler
945b60c8d0
fixed some NPE issues with player target choosing
2022-03-25 21:16:38 -04:00
Evan Kranzler
80e11b2052
(WIP) Replacing blocking/blocked by predicates ( #8729 )
...
* replaced blocking/blocked by predicates
* added test for knight of dusk (currently fails)
* added source parameter to filters and everything else that needs it
* some changes to various predicates
* test fix
* small changes to filter code
* merge fix
* fixed a test failure
* small change to Karn, Scion of Urza
* removed sourceId from filter methods and other similar places
* added new getobject method to fix some test failures
* a few more fixes
* fixed merge conflicts
* merge fix
2022-03-23 18:45:02 -04:00
Ingmar Goudt
96d026e4af
remove explicit null checks, match(..) checks on null itself by instanceof calls
2021-04-28 20:53:50 +02:00
Oleg Agafonov
db239a1055
Refactor: replaced sourceId by source and introduced source param in some methods;
2020-12-12 20:23:19 +04:00
Daniel Bomar
aa2b10c7e5
[CMR] Fix Zara, Renegade Recruiter
2020-11-06 19:49:19 -06:00
LevelX2
985d4205bf
* Harvest Mage - Fixed available mana generation ( #6698 ).
2020-08-03 21:26:47 +02:00
Oleg Agafonov
4ba7c18d43
* Discard cost - added hint text in card choose dialog about discard;
2020-08-01 21:07:37 +04:00
LevelX2
e1c96efa1e
* Fixed a problem with selecting cards from other players hand, failing because canTarget check with wrong player id. Changed/simplified canTarget method of TargetCardInHand to solve that problem. ( #6532 Gruesome Discovery and Distended Mindbender and probably other changed made with 75577cdbe9).
2020-05-27 13:59:16 +02: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
5f5d9046f9
* Choose card in hand - fixed rollback error for some cards like Nicol Bolas, Dragon-God;
2020-01-11 08:47:54 +04:00
GrayedFox
3953f3dbdd
remove all MIT copyright notices from files
2018-06-02 17:59:49 +02:00
vraskulin
f04ba151f7
Refactoring
...
See github line by line comments in 'File changed'
2016-12-29 16:49:12 +03:00
LevelX2
c6d54c929f
Fixed a problem that selecting cards in hand or libraray could unintended trigger "becomes the target of a spell or ability" abilities.
2016-12-24 11:42:11 +01:00
Neil Gentleman
43b0d4ef97
remove redundant this.targetName = filter.getMessage();
...
not necessary when same code exists in superclass constructor
2016-10-30 23:47:01 -07:00
poixen
46eb6c0525
Restructured Mage module
2015-11-29 21:56:49 +01:00