ingmargoudt
234cfe9519
rewrote singleton to enum where applicable
2017-03-14 16:32:47 +01:00
LevelX2
1b2636d0cd
* Arachnuns Web - Fixed condition handling. Some renaming.
2017-03-12 10:36:51 +01:00
ingmargoudt
1f215cdbe3
removed autoboxing :
...
Boolean -> boolean
Integer -> int
Float -> float
2017-03-11 15:17:14 +01:00
ingmargoudt
1bc8e2248b
changed enum equals to ==, removed contains check for set
2017-03-07 21:47:11 +01:00
ingmargoudt
1caf3a6be4
change getLibrary().size() > 0 to hasCards()
2017-03-07 17:28:26 +01:00
ingmargoudt
90c6a69335
fixed a count in Battlefield, changed loops to streams
2017-03-06 12:25:14 +01:00
ingmargoudt
3d029d6ad5
put comparing logic in counttype, remove all switches
2017-03-06 11:46:22 +01:00
ingmargoudt
5387f06898
cards now use the new CountType
2017-03-05 23:29:51 +01:00
ingmargoudt
80580d69e9
Replace checktype enum for Cardtype enum
2017-03-05 20:04:09 +01: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
972ed6a3f2
changed enum comparison to ==.
...
isDependentTo returns empty set rather than null
2017-02-19 23:38:47 +01:00
vraskulin
a15220d51e
Bugfixes with != instead of equals and default toString calls
2017-02-15 19:52:20 +03:00
vraskulin
752392fc46
Functional interfaces should be annotated as functional interfaces
2017-02-15 19:23:12 +03:00
ingmargoudt
3a152ab3d6
rewrote enum comparisons, iterator to removeIf, added some stream and filters
2017-02-11 22:37:00 +01:00
vraskulin
0557b5e89c
list.size > 0 changed to !list.isEmpty
...
We care about if it's empty or not, not about it's size
2017-02-06 14:32:51 +03: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
LevelX2
fe4abd26c9
Fixed a bug of the Revolt ability word that prevented that ot triggered always correctly.
2017-01-21 01:33:46 +01:00
LevelX2
75cbfdf3b9
* Some changes to EnterTheBattlefield events, some other fixes ( fixes #2765 ).
2017-01-15 15:22:33 +01:00
LevelX2
491ab5fbb0
[AER] Fixed Daredevil Dragster.
2017-01-07 23:29:27 +01:00
LevelX2
b358597bf4
[AER] Added the last missing cards. Some fixes.
2017-01-07 21:42:29 +01:00
LevelX2
c7e149904b
[AER] Fixed some problems with revolt.
2017-01-07 20:03:03 +01:00
emerald000
c6c7c82508
[AER] Implemented Revolt mechanic + 2 cards using it.
...
Decommission and Fatal Push
2017-01-03 01:11:24 -05:00
LevelX2
54b40646d9
Some minor changes.
2017-01-02 18:09:33 +01:00
MTGfan
7e867f4fcf
Cyclopean Tomb TODO: remove counters part of effect
2016-12-21 19:46:46 -05:00
Styxo
8e6cf84ce4
Added TargetHasCounterCondition and option for BecomesMonstrous
2016-12-15 15:33:35 +01:00
MTGfan
a199d6eaea
Nettling Imp, TargetController and ControllerPredicate updated to include active choice
2016-12-12 03:03:39 -05:00
MTGfan
4a2e1c5063
Merge remote-tracking branch 'upstream/master'
2016-12-08 21:37:02 -05:00
LevelX2
3d95849c10
Some fixes to the Monarch designation.
2016-12-07 17:14:08 +01:00
MTGfan
0f90531b33
Animate Artifact please test this
2016-12-01 23:33:10 -05:00
LevelX2
68d0e6b9fa
Added the monarch concept to xmage and all related cards.
2016-11-27 01:14:32 +01:00
MTGfan
36d6c006ca
New AttachedPermanentToughnessValue, updated DamageAttachedControllerEffect to take DynamicValue (ex. to work with AttachedPermanentToughnessValue), and updated Creature Bond to use AttachedPermanentToughnessValue and DamageAttachedControllerEffect. Corrected Gaea's Liege, Kor Scythemaster, Soltari Lancer, and Spirit of the Night to use SourceAttackingCondition. Rmoved the AttackingCondition we creature for Gaea's Liege since it duplicated the already existing SourceAttackingCondition. For the other three using SourceAttackingCondition and the minor changes to the code for them should make their code more efficient.
2016-11-26 03:57:46 -05:00
MTGfan
9c80ca143b
updated Gaea's Liege, removed unused import on Protean Hydra, corrected Rock Hydra line to have {this} instead of Rock Hydra.
2016-11-16 22:39:49 -05:00
emerald000
c38f96ae55
[C16] Implemented Partner ability.
2016-11-01 22:59:39 -04:00
LevelX2
6554102367
[SWS] Fixed some problems.
2016-10-02 22:50:34 +02:00
JOAC69
1005fd65f9
Refactor - move MoreCardsInHandThanOpponentsCondition to shared file
2016-09-29 19:58:11 -05:00
LevelX2
c703ebaa9d
Reworked Hate condition.
2016-09-28 08:30:31 +02:00
Styxo
9084595135
Star Wars Set implemented
2016-09-26 18:43:04 +02:00
Styxo
f18e4b66f1
Little refactor of PermanentHasCounterCondition
2016-09-25 19:38:40 +02:00
LevelX2
5244363081
[KLD] Added 7 blue cards.
2016-09-17 10:17:40 +02:00
LevelX2
d3d1402fbb
[KLD] Added 9 white cards.
2016-09-17 00:45:33 +02:00
ingmargoudt
3128bd2b4b
replace [list].size() == 0 and [string].length() == 0 to use .isEmpty() instead
2016-09-14 15:27:31 +02:00
LevelX2
79f8617cd3
Some minor changes.
2016-09-10 11:44:52 +02:00
Samuel Sandeen
148f633672
Make the Counters API for card and permanent consistent.
2016-09-03 10:33:54 -04:00
Samuel Sandeen
85dc15c5dc
Merge remote-tracking branch 'magefree/master'
2016-09-02 19:44:51 -04:00
Styxo
cde96864d5
Merge pull request #2209 from Styxo/master
...
Refactored multiple CreatureCondition classes into one class
2016-08-29 20:41:56 +02:00
Styxo
6518b56d9d
Refactored multiple CreatureCondition classes into one CreatureCountCondition class
2016-08-29 13:04:40 +02:00
Samuel Sandeen
282443c231
Add Subtype to the CardAttribute Framework
...
This is a massive change. I’ve refrained from unrelated refactoring
when possible but there are still a lot of changes here.
2016-08-28 17:30:10 -04:00
Eric McVicker
ebeb20681e
No spells cast last turn transform fix to not transform turn 1 #2188
2016-08-23 20:25:28 -05:00
Quercitron
c334d98564
[EMN] Fix filter by name in the MeldCondition.
2016-07-12 02:18:36 +03:00
emerald000
e1b3428a39
[EMN] Implemented basic Meld functionality.
2016-07-11 04:49:40 -04:00