Oleg Agafonov
454d76e30b
Fixed NPE errors in canAttack restrict checks;
2019-02-08 17:30:47 +04:00
Evan Kranzler
f4401b32f9
fixed High Alert allowing opposing defenders to attack
2019-01-28 18:58:02 -05:00
Evan Kranzler
581db3d6e0
Implemented Tin Street Dodger
2019-01-12 10:19:54 -05:00
Evan Kranzler
88374751b1
Implemented Forbidding Spirit
2019-01-10 18:08:35 -05: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
brodee
4f61afa62b
AI updates, more cards will have the isRemoval bonus to their card rating
...
these weren't being picked up as removal spells and now are:
* modal spells where one mode is a removal spell
* spells that do a dynamic amount of damage, such as fireball
* cards that reduce the toughness temporarily or permanently
* cards that keep a creature tapped down
* cards that exile a creature
* cards that damage creatures that are attacking or blocking
* enchantments that exile a creature when they etb
* fight cards, and one sided fight cards
the ai will now rate those types of cards higher as they are removal
2018-10-28 00:16:14 -07:00
Evan Kranzler
9ba023ce66
Implemented Legion Warboss
2018-09-03 23:18:13 -04:00
igoudt
c456a1961e
add more isActivePlayer and isAttachedTo calls
2018-07-09 21:25:04 +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
Evan Kranzler
db07686008
Implemented Departed Deckhand
2018-06-21 08:37:18 -04:00
Evan Kranzler
3dcfa773e0
Implemented Marble Priest
2018-06-10 00:01:25 -04:00
L_J
8556285f0c
Implemented Gorm the Great
2018-06-04 23:00:44 +02:00
GrayedFox
3953f3dbdd
remove all MIT copyright notices from files
2018-06-02 17:59:49 +02:00
LevelX2
75c8ee35f6
* Some more fixed/reworked card movement handling.
2018-05-11 00:52:09 +02:00
LevelX2
b073ce1c42
* Added to all toUpperCase/toLowerCase calls the Locale.ENGLISH to prevent problems with some languages (e.g. Turkish). Removed some unused import statements. ( #4634 ).
2018-03-18 18:18:54 +01:00
L_J
2c28f64294
CantBeBlockedByCreaturesAllEffect duration bugfix
2018-02-25 14:26:02 +00:00
LevelX2
6693929557
* Some refactoring.
2018-01-13 14:45:50 +01:00
LevelX2
0f0b1d8330
[RIX] Added 8 cards.
2018-01-07 02:33:32 +01:00
LevelX2
5935221878
[RIX] Added 6 cards.
2018-01-06 23:47:54 +01:00
LevelX2
7189cb868f
[RIX] Added 9 cards.
2018-01-06 12:40:25 +01:00
LevelX2
f0494383fd
[RIX] Added 4 cards.
2018-01-05 15:26:10 +01:00
Zzooouhh
a52c98aa25
Typo fix
2017-11-05 20:49:39 +01:00
Zzooouhh
db8e38b587
Implemented Johan
2017-10-22 16:48:47 +02:00
Evan Kranzler
f16b5881e8
fext tixes
2017-10-08 09:33:01 -04:00
Evan Kranzler
54b8f10c3c
text fixes and test fixes to fix how tests test text, then more text next
2017-10-07 16:08:06 -04:00
Evan Kranzler
14107b3d55
2 text 2 fixrious
2017-10-07 11:02:36 -04:00
Evan Kranzler
0075535650
so many text fixes
2017-10-06 22:00:06 -04:00
LevelX2
0ce13bf676
* Grenzo, Havoc Raiser - Fixed that blocked the game.
2017-09-05 16:20:58 +02:00
LevelX2
ea4af25c77
* Goaded creatures able to attack the goading player (in multiplayer) ( fixes #3891 ).
...
* Grenzo, Havoc Raiser - Fixed trigger handling and null pointer exception.
2017-08-27 22:28:13 +02:00
Evan Kranzler
ebc9b728dd
Implemented Grenzo, Havoc Raiser
2017-08-20 13:50:15 -04:00
Evan Kranzler
87635cf1b9
Implemented Disrupt Decorum, implemented goading
2017-08-17 14:56:47 -04:00
Evan Kranzler
65004d1a5f
Fix Mindless Null and Can't Block effect
2017-08-02 14:21:08 -04:00
igoudt
11f040b884
use more staticfilters, fix jsoncard class
2017-07-10 12:25:33 +02:00
LevelX2
747c997946
* Rhonas's Stalwart - Fixed that it is incorrectly able to be blocked after exerting it.
2017-07-09 20:50:27 +02:00
Matthew Zulch
51595dbedf
Act of Heroism fixes ( #3608 )
...
* Adding test case for Act of Heroism
* Fixing Act of Heroism mana cost
* Adding can block additional creature effect that applies to spell/ability target rather than source
* Updating Act of Heroism to use new effect
* Removing redundant assertion, adding some comments
2017-07-07 19:53:06 -05:00
LevelX2
128b972765
[HOU] Added 5 black cards.
2017-06-24 14:00:21 +02:00
LevelX2
884a3af503
* Norn's Annex - Fixed a bug with the payment of phyrexian mana ( fixes #3178 ).
2017-05-28 23:45:41 +02:00
igoudt
b6fe6f772a
finish rewriting watchers
2017-04-29 12:07:46 +02:00
LevelX2
3708ea2a89
* Added 3 cards from Ravinca City of Gold set.
2017-04-25 15:47:21 +02:00
LevelX2
804fb12b1d
* Vizier of Deferment - Fixed null pointer exception.
2017-04-17 18:27:05 +02:00
vraskulin
d93061c0bc
Equals should be compared with == but not equals()
2017-03-22 14:50:50 +03:00
ingmargoudt
5a57731968
added new helper methods to test for CardType, to get rid of the contains(CardType.XXX) everywhere, put the logic of that in one place and use the interface call
2017-03-04 00:16:36 +01:00
ingmargoudt
d0fa00f3af
put the writing of equipped and enchanted in the attachmenttype
2017-02-19 23:58:32 +01:00
ingmargoudt
972ed6a3f2
changed enum comparison to ==.
...
isDependentTo returns empty set rather than null
2017-02-19 23:38:47 +01:00
vraskulin
f60ebfbb1f
All 1-character strings converted to primitives
...
"b" + "r" now changed to 'b' + 'w'. It's more straight-forward, and may cause perfomance improvements - character primitives allocation is faster and less expensive than string creation.
2017-02-06 14:32:51 +03:00
Styxo
e057bde150
[Refactor] Merged some similar abilities together
2017-01-05 14:12:18 +01:00
Galatolol
2db6ff1825
Fixed 3 cards
2017-01-01 12:11:11 +01:00
Galatolol
f577a4b614
Added 7 cards
2016-12-30 12:15:56 +01:00
LevelX2
4b4aef8ed5
* Orzhov Advokist - Fixed that the attack preventing effect did not work correctly.
2016-12-11 16:25:08 +01:00
LevelX2
946b723361
* Fixed possible null pointer exceptions.
2016-11-26 10:22:23 +01:00