Commit graph

10608 commits

Author SHA1 Message Date
ingmargoudt
c5002983e3 changed static zone function to enum method 2017-03-07 22:02:15 +01:00
Zach H
ca73258654 fix flashback cost 2017-03-07 15:29:06 -05:00
ingmargoudt
1caf3a6be4 change getLibrary().size() > 0 to hasCards() 2017-03-07 17:28:26 +01:00
Alexsandro
b83bc9d68a Assert if Sakashima copied SpellStutter by S/T 2017-03-06 21:11:09 -03:00
Alexsandro
3c5bd9acce Check if exists a target to counter in Stack before counter 2017-03-06 19:06:37 -03:00
spjspj
c34826611b spjspj - Implement Land Equilibrium (LEG, ME3) 2017-03-07 01:20:35 +11:00
spjspj
2e4d5e2bba spjspj - Implement Land Equilibrium (LEG, ME3) 2017-03-07 00:57:04 +11:00
spjspj
fd57cf537c spjspj - Implement Planar Void (USG) 2017-03-06 23:56:02 +11:00
ingmargoudt
3d029d6ad5 put comparing logic in counttype, remove all switches 2017-03-06 11:46:22 +01:00
ingmargoudt
6d4c388c5e small change in gender enum 2017-03-06 10:18:16 +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
drmDev
bf5e55aef9 modifications 2017-03-05 11:34:10 -05:00
drmDev
c8e41bc002 Phyrexian Purge impl and tests 2017-03-05 10:37:05 -05:00
ingmargoudt
d31e3a3f8f Merge pull request #2916 from ingmargoudt/master
remove all contains(cardtype.XX) references, instead use the default …
2017-03-05 09:16:28 +01:00
ingmargoudt
b5e8c88153 remove all contains(cardtype.XX) references, instead use the default interface method 2017-03-05 09:14:33 +01:00
ingmargoudt
ef797384e6 Merge pull request #2914 from kubikrubikvkube/master
Should it be mandatory?
2017-03-05 09:04:37 +01:00
Nathaniel Brandes
1d3ebb749d Fix omniscience effect for colorless mana.
Also unified the tests for omniscience into a single file, and
put the effect into a single class so that Tamiyo and Omniscience
can share implementations.
2017-03-04 23:04:11 -08:00
Justin Herlehy
a97edcf8f9 Merge remote-tracking branch 'origin/master' 2017-03-04 16:21:03 -08:00
Justin Herlehy
8cfe66e29c Fix Ichorid to set notTarget flag.
Fixes issued #2906
2017-03-04 16:20:17 -08:00
doncarton
7fd068bd74 Should it be mandatory? 2017-03-05 01:39:20 +03:00
Kyle W. Cartmell
1a4d9aeb97 implemented Wall of Opposition 2017-03-04 14:47:40 -07:00
Achilles
ca0371eade - Fixed Island of Wak Wak. 2017-03-04 10:29:18 -06:00
ingmargoudt
a4f64c74c9 Merge pull request #2910 from ingmargoudt/master
changed cardtype from list to enumset
2017-03-03 23:01:56 +01:00
ingmargoudt
a0930e3379 missed 2 hashsets to enumsets 2017-03-03 22:14:00 +01:00
fireshoes
0aa1296b31 Added complete MM3 spoiler. 2017-03-03 12:20:59 -06:00
Jeff
ecbadeda41 - Fixed Stone Haven Outfitter 2017-03-03 11:35:52 -06:00
ingmargoudt
372584f7ad changed cardtype from list to enumset 2017-03-03 17:04:32 +01:00
Jeff
c0ffc47bf7 - Fixed Grasp of Fate. It will now return exiled permanents if it leaves the battlefield. 2017-03-03 09:55:06 -06:00
fireshoes
010be2b53f Added 3/2/17 MM3 reprints. 2017-03-02 21:39:14 -06:00
Achilles
9cf0ebb2ae - Shining Shoal will now work with spells. Yes, more work on this needs to be done. If a chosen source deals damage to multiple targets, the controller should be able to choose how that damage is distributed. 2017-03-02 20:35:12 -06:00
fireshoes
97ccd22564 Added 3/2/17 MM3 reprints. 2017-03-02 12:11:25 -06:00
ingmargoudt
9c71596fd8 wrongly changed the equals to == for those files 2017-03-02 16:41:38 +01:00
ingmargoudt
39c9420ad2 change enum equals to == in cards 2017-03-02 16:28:23 +01:00
LevelX2
5087534fe4 Merge pull request #2892 from Galatolol/master
Added 3 cards
2017-03-02 11:05:34 +01:00
vraskulin
620245f28f Stream format 2017-03-02 10:51:02 +03:00
fireshoes
dc0905c893 Added 3/1/17 MM3 reprints. 2017-03-01 11:49:41 -06:00
ingmargoudt
fb09aeb0a8 fix #1259 2017-03-01 17:56:47 +01:00
fireshoes
4fdf89193d Added 2/28/17 MM3 reprints. 2017-02-28 13:12:35 -06:00
vraskulin
0bc9cf91a8 Minor improvements - StringBuilder now have initial value 2017-02-28 15:26:07 +03:00
vraskulin
11dc1e10f1 Few lambda's and removed explicit type from creating lists and hashmaps 2017-02-28 13:46:57 +03:00
vraskulin
0a3c95dde5 Inner classes should be static. It reduces memory usage and gives perfomance boost + DeckImporter rollback 2017-02-28 12:40:12 +03:00
vraskulin
ad7d3c8078 equals "" should be replaced with isEmpty 2017-02-28 11:45:15 +03:00
fireshoes
3799fe1c8a Added MM3 reprints. 2017-02-27 11:41:14 -06:00
ingmargoudt
afbf5ce2b6 Merge pull request #2891 from kubikrubikvkube/master
Nulls to optional. Also there was bug with AetherChaser
2017-02-27 17:51:35 +01:00
vraskulin
f309717616 Merge remote-tracking branch 'fork/master' 2017-02-27 16:33:47 +03:00
vraskulin
af3986df46 All final strings became static - it will give a little perfomance boost, due to not instantiating same string every time 2017-02-27 16:33:32 +03:00
Plopman
781ba84a74 Fix #2890 Unified Will text 2017-02-26 21:20:23 +01:00
Galatolol
4435773f06 Added 3 cards 2017-02-26 15:13:28 +01:00
doncarton
5eaaa67d1e Nulls to optional. Also there was bug with AetherChaser "you may pay" was not set to optional 2017-02-26 15:15:54 +03:00
LevelX2
1101e80bfc Merge pull request #2886 from vereena42/master
Adding some cards
2017-02-26 09:51:28 +01:00
Jeff
624e69ecb6 - Text fix for Essence Flux 2017-02-24 11:48:03 -06:00
vereena42
877560d57b Fix 2017-02-22 22:58:07 +01:00
vereena42
c969283057 Adding some cards 2017-02-21 20:30:41 +01:00
JOAC69
8800286824 Removed duplicate CardInfos in ExpansionSets 2017-02-19 22:10:21 -06:00
ingmargoudt
972ed6a3f2 changed enum comparison to ==.
isDependentTo returns empty set rather than null
2017-02-19 23:38:47 +01:00
Achilles
899732c403 - Added Menacing Ogre 2017-02-19 15:04:48 -06:00
ingmargoudt
9ea690797f the card should still be exiled.
added a method to test exile count per player
added a test for chandrapyromaster
2017-02-19 09:09:43 +01:00
ingmargoudt
d729ab31d2 ChandraTorchOfDefiance should only be able to cast spells with a casting cost. Cards like Ancestral Visions can not be cast. 2017-02-18 22:49:43 +01:00
Plopman
4201520cb4 Fix Ashling's Prerogative effects were not correctly copied. Fix #2875. 2017-02-18 16:42:37 +01:00
Achilles
7165c0bd74 - Little fix to Phyrexian Tyranny. Changed damage to loss of life. 2017-02-18 08:53:18 -06:00
Achilles
f109ff7f1e Revert "- Little fix to Phyrexian Tyranny. Changed damage to loss of life."
This reverts commit 457eec8531f827f90502774cfff2a775feefe25c.
2017-02-18 08:51:20 -06:00
Achilles
b874fc1672 - Little fix to Phyrexian Tyranny. Changed damage to loss of life. 2017-02-18 08:51:15 -06:00
Achilles
d71956ef2f - Converted Dimir Doppleganger and Lazav, Dimir Mastermind to the CopyEffect method. Fixes an issue with copy of a copy, i.e. Stunt Double 2017-02-17 22:17:18 -06:00
LevelX2
899046cf16 * Gratuitous Violence - FIxed that if the damage of a creature with lifelink was doubeled only the non doubled amount was added to life. 2017-02-18 01:26:02 +01:00
LevelX2
88eeb2e0e1 * Canopy Cover - FIxed possible null pointer exception (fixes #2874). 2017-02-17 23:49:03 +01:00
ingmargoudt
a1bc43d33e Merge pull request #2868 from kubikrubikvkube/master
Functional interfaces annotation and bugfixes
2017-02-15 20:27:21 +01:00
vraskulin
a15220d51e Bugfixes with != instead of equals and default toString calls 2017-02-15 19:52:20 +03:00
Jeff
09e0e3aaf7 - Added Trade Secrets 2017-02-14 16:37:48 -06:00
Plopman
998abc526d Fix Everflame Eidolon when it's an aura. Fix #2178 2017-02-14 23:01:59 +01:00
Plopman
b648295dbd Add mountain Mountainwalk to goblin king. Fix #2865 2017-02-14 21:33:54 +01:00
Jeff
e54b81785d - Added Scythe Specter 2017-02-14 12:50:07 -06:00
Jeff
3596b4517c - Set entries for Auratouched Mage. 2017-02-14 11:14:26 -06:00
ingmargoudt
3a152ab3d6 rewrote enum comparisons, iterator to removeIf, added some stream and filters 2017-02-11 22:37:00 +01:00
spjspj
d30e959f43 Merge pull request #2854 from spjspj/master
Implement Parallax Nexus
2017-02-11 20:13:32 +11:00
spjspj
9b8f1b3d5c Implement Parallax Nexus (NEM) 2017-02-11 20:11:17 +11:00
Goesta
197259929e Changed GontisMachinations effect from damage to loseLife 2017-02-11 03:11:32 +01:00
Jeff
fc3ecdf8d0 - Added Auratouched Mage and test suite. 2017-02-10 10:15:56 -06:00
LevelX2
166c6a3590 * Sunforger - Fixed activated unattach ability. 2017-02-06 22:55:52 +01:00
LevelX2
b8cc0120cb Merge origin/master 2017-02-06 21:21:16 +01:00
spjspj
a10fab9e34 Merge pull request #2843 from spjspj/master
Add New Frontiers [ODY]
2017-02-06 23:42:20 +11:00
spjspj
1ce40e7d31 Add New Frontiers [ODY] 2017-02-06 23:41:32 +11: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
0595d8a549 * Silvergill Douser - Fixed counting of Merfolk and Faeries to wrongly not taking tribal non creature permanets into account. 2017-02-06 10:05:00 +01:00
LevelX2
afd42f330b * Declaration in Stone - Fixed that the target permanent was not exiled (fixes #2839). 2017-02-06 10:00:52 +01:00
LevelX2
b86acbe0da Some minor fixes. 2017-02-05 13:53:36 +01:00
LevelX2
3525e46514 XMage 1.4.21V2 2017-02-05 11:39:43 +01:00
LevelX2
ff6d79829e * Fixed a bug that damage was wrongly still assigned to players during combat that already left the game. 2017-02-04 23:56:03 +01:00
LevelX2
a3a6760f4a * Declaration in Stone - Fixed some problems with moving permanents to exile and etb trigger timing. 2017-02-04 19:56:50 +01:00
LevelX2
b3200f8e37 * Earthcraft - Fixed that only wrongly only controlled land could be targeted to untapped. 2017-02-04 19:18:32 +01:00
LevelX2
ce3f3dc639 * Death Rattle - Fixed that wrongly also green creatures could be targeted and were destroyed. 2017-02-04 18:13:39 +01:00
LevelX2
cdd147ee61 * Tezzeret the Schemer - Fixed that the -2 ability boost value was wrongly continuously changed with the number of controlled artifacts. 2017-02-04 18:10:05 +01:00
LevelX2
2a6978197c Merge pull request #2827 from elliott-king/master
Overabundance added
2017-02-04 17:20:36 +01:00
LevelX2
40a9ccb102 Merge pull request #2829 from Galatolol/master
Added 7 cards
2017-02-04 14:33:54 +01:00
LevelX2
0dacf2a6fa * Fixed that the cascade converted mana costs comparison did not work correctly with split spells. 2017-02-04 14:26:17 +01:00
LevelX2
6beb23dbb3 * Overwhelming Stampede - Fixed that given Trample ability did not only last until end of turn. 2017-02-03 21:58:10 +01:00
spjspj
fc99e060bd Minor fix for Ankle Shanker 2017-02-03 18:55:50 +11:00
Galatolol
bd92e57050 Added 7 cards 2017-02-03 00:44:07 +01:00
elliott-king
dbcd3cb27d Updated Overabundance 2017-02-01 16:56:56 -05:00