Commit graph

10978 commits

Author SHA1 Message Date
drmDev
6e66e7703f Merge remote-tracking branch 'upstream/master' 2017-04-10 21:27:50 -04:00
fireshoes
7da69e5064 Merge origin/master 2017-04-10 18:46:43 -05:00
fireshoes
5fbcf759d6 [ANK] Added 4/10 spoilers to mtg-cards-data.txt and implemented a many cards. 2017-04-10 18:45:48 -05:00
Mark Langen
b33e03862a Work in progress changes to support As Foretold
* Modifies how cards with no mana cost are handled. You can now begin to cast them if there is an AlternativeCost that would allow you to play them.
2017-04-10 16:13:42 -06:00
Jeff
f119965f46 - Fixed cost of Greel, Mind Raker. 2017-04-10 14:53:43 -05:00
Derek Monturo
9bc6be736b merge 2017-04-10 10:15:37 -04:00
ThomasLerner
7a48387635 Fixed not giving counter option to non-opponent players that are not the spell's controller
This update brings to code to compliance with LevelX2's reccomendation by using getPlayersInRange(source.getControllerId(), game) and checking manually that the player is not the spell's controller.
2017-04-10 04:39:10 -04:00
ThomasLerner
57b50857cc Update IceCave.java
I used getOpponents, but that required changing input from source.getControllerId() to spell.getControllerId() so that it would get the opponents of the player who played the spell, rather than the opponents of the player who controls Ice Cave. I also implemented a null check for the spellController as I made it.
2017-04-09 18:23:34 -04:00
ThomasLerner
d510651bac Update IceCave.java 2017-04-09 06:34:37 -04:00
ThomasLerner
7a0a7d9a2f Update Apocalypse.java
Added Ice Cave entry
2017-04-09 06:32:43 -04:00
ThomasLerner
77618b7ef5 Create IceCave.java 2017-04-09 06:30:54 -04:00
Justin Herlehy
7ff949d686 [AKH] Liliana, Death's Majesty
Corrected reanimation filter to correctly generate mouseover text.
2017-04-08 23:42:03 -07:00
Justin Herlehy
8b1220af66 [AKH] Liliana, Death's Majesty
Refactored the "Becomes a black Zombie in addition to its other colors and types" code to own class file to dedupe code from several cards.
2017-04-08 23:25:43 -07:00
Mark Langen
f96a1532bf Add Approach of the Second Sun [AKH] + test 2017-04-08 20:03:23 -06:00
fireshoes
c44043532f [ANK] Added 4/7 spoilers to mtg-cards-data.txt and implemented a few simple cards. 2017-04-07 10:48:45 -05:00
LevelX2
22e376699e Merge pull request #3066 from ingmargoudt/cleanups
Cleanups
2017-04-06 23:26:52 +02:00
LevelX2
b71c618294 [AKH] Added exert ability, Ahn-Crop Crasher and Combat Celebrant. 2017-04-06 23:10:24 +02:00
Jeff
f43a15ab22 - Fixed Karn Liberated. 2017-04-06 11:41:51 -05:00
fireshoes
af0bcbc0a8 [AKH] Added some implemented cards to the Amonkhet set file. 2017-04-06 10:53:46 -05:00
ingmargoudt
ea6ba3c0a9 enum conditions 2017-04-06 16:30:22 +02:00
Justin Herlehy
932dda6d3b Implement Gideon of the Trials
Unit Test not included as it was failing at last test.  Card tested on local server and confirmed that emblem applies as expected.
2017-04-06 00:01:40 -07:00
Mark Langen
40870f22c2 Added a bunch of spoiled cards for 4/5
* Added Colossapede
* Added Cut // Ribbons
* Added Insult // Injury (+test)
* Added Mouth // Feed
* Added Pouncing Cheetah
* Added Scarab Feast
* Added Rags // Riches (+test)
2017-04-05 22:41:56 -06:00
LevelX2
2487cf0645 Merge pull request #3062 from ingmargoudt/cleanups
Cleanups
2017-04-05 22:35:05 +02:00
Jeff
efbdf9ee36 - Added Kefnet the Mindful. 2017-04-05 12:17:33 -05:00
ingmargoudt
fb9d713287 singleton conditions to enum 2017-04-05 19:10:47 +02:00
ingmargoudt
809c8c97c9 introduced YouGainedLifeCondition 2017-04-05 19:10:46 +02:00
ingmargoudt
3420d0d76c use getOrDefault 2017-04-05 19:10:45 +02:00
ingmargoudt
22c842dfec refactored IntCompareCondition 2017-04-05 19:10:45 +02:00
ingmargoudt
1f89b4eedf introduced XorLessLifeCondition 2017-04-05 19:10:44 +02:00
ingmargoudt
e44b2fd673 extracted duplicate AttachmentAttachedToCardTypePredicate 2017-04-05 19:10:43 +02:00
ingmargoudt
8b90f87af6 added addCardType to MageObject 2017-04-05 19:10:43 +02:00
ingmargoudt
cf6fe27f7d duplicate continuouseffect for vehicles 2017-04-05 19:10:42 +02:00
fireshoes
4e3d75d937 Merge origin/master 2017-04-04 21:00:03 -05:00
fireshoes
8ff947c6f0 [AKH] Added embalm to the keyword file and card gen script. Implemented the rest of the embalm cards. 2017-04-04 20:57:25 -05:00
Mark Langen
a2e8cedd02 Merge branch 'master' into akh-card-frame 2017-04-04 18:36:37 -06:00
Mark Langen
fd73fd39af Addressed Feedback and added cards
* Addressed feedback on Pull Request #3053
* Fixed a copy-paste bug in Destined // Lead
* Added two new Aftermath Split cards that were revealed today
2017-04-04 17:07:59 -06:00
fireshoes
2296647df9 Merge origin/master 2017-04-04 18:02:31 -05:00
fireshoes
195ff7f554 [AKH] Added 4/4 spoilers and implemented non-exert/embalm/aftermath cards. 2017-04-04 17:57:08 -05:00
Jeff
796fca7c1b - Added Charisma. 2017-04-04 17:18:19 -05:00
Jeff
da34d6c3ca - Modified set for Bronze Bombshell. 2017-04-04 15:44:42 -05:00
Jeff
b76933d5b3 - Added Bronze Bombshell. 2017-04-04 15:41:48 -05:00
fireshoes
fe33f82acc [AKH] Added 4/4 spoilers and implemented non-exert/embalm/aftermath cards. 2017-04-04 14:28:45 -05:00
LevelX2
e42d195f8d [AKH] Added Anoiter Priest and embalm ability. 2017-04-04 17:55:37 +02:00
LevelX2
269189f87e Merge origin/master 2017-04-04 15:33:01 +02:00
LevelX2
45818f3a51 * Celestial Dawn - Fixed that it was not possible to pay colorless costs with non white mana. 2017-04-04 15:32:39 +02:00
Jeff
772fff4f66 - Fixed spelling for Event. 2017-04-04 08:24:30 -05:00
Mark Langen
18663f0a7a Amonket Aftermath ability and card frame changes Completed
* Aftermath Ability implementation complete (At least until we see comprehensive rules that contradict the way I assumed it will work)
* Aftermath Card Frame rendering complete
* Normal Split and Fuse Split card frame rendering complete
* Amonket Split card CMC changes NOT made, but left for a separate commit
2017-04-04 00:29:54 -06:00
fireshoes
a04bbce5db [AKH] Added 4/3 spoilers and implemented several. 2017-04-03 23:52:39 -05:00
Mark Langen
a96a7f89f5 Work in progress changes for Amonket Aftermath ability.
* Card Rendering has support for Aftermath Split card frames
* Card Rendering has support for Split cards
* Aftermath ability work in progress
2017-04-03 04:15:25 -06:00
LevelX2
e88613da5c * Kira, Great Glass-Spinner - Fixed that targeting objects that later changed to creatures was ignored (related to #3041). 2017-04-03 10:30:28 +02:00
Derek M
b19170f34f Merge pull request #3045 from SickBoyWi/master
Implemented Soul Burn card for the two sets it's a part of: Ice Age a…
2017-04-02 12:17:32 -04:00
Johnny.Hastings@gmail.com
675c3346ac Removed duplicate line in SoulBurn, used correct reference to Soul Burn as [this] in SoulBurnEffect. 2017-04-02 10:17:39 -05:00
Achilles
9b6151e835 - Fixed Thran Turbine. Bug #3051. 2017-04-02 09:47:27 -05:00
LevelX2
a49f79cfc3 * Fixed a problem with replacement effects that add counters were applied more than once to the same EnteresTheBattlefield event (fixes #2872). 2017-04-02 09:46:17 +02:00
ingmargoudt
594ffa2754 rewrote some streams and optionals 2017-04-01 22:45:40 +02:00
LevelX2
d0bf77cedf * Fixed a problem with replacement effects that add counters were applied more than once to the same EnteresTheBattlefield event (fixes #2872). 2017-04-01 17:43:17 +02:00
Johnny.Hastings@gmail.com
2be3f20320 Implemented Soul Burn card for the two sets it's a part of: Ice Age and Invasion. 2017-03-31 18:33:17 -05:00
ingmargoudt
884ae83791 Merge pull request #3042 from ingmargoudt/card_functions
move static function to CardImpl, and other api fixes
2017-03-31 18:52:37 +02:00
fireshoes
e70e7daa0f [AKH] Added cycling duals and basics. 2017-03-31 11:25:36 -05:00
Jeff
38a04fda37 - Added Myr Incubator. 2017-03-31 11:19:30 -05:00
Styxo
9b95064c1f Added Dismantle 2017-03-31 13:05:58 +02:00
Achilles
c968a03ff8 - Fixes all but the Conflagrate issue in regards to FlashbackAbility. The CMC issue works with the Flashback cards as well. Conflagrate will require more testing to see what is going on. 2017-03-30 21:11:15 -05:00
ingmargoudt
6f8f10fcc3 move static function to CardImpl, and other api fixes 2017-03-30 20:09:47 +02:00
fireshoes
1bf2d1782c [MPS-AKH] Added Amonkhet Masterpiece reprints. [MM3] Token updates 2017-03-29 10:42:43 -05:00
fireshoes
212f963b43 Merge origin/master 2017-03-29 08:16:44 -05:00
Achilles
94dc4ac52c - Fixed Pathbreaker Ibex. Bug #2984 2017-03-28 22:34:19 -05:00
fireshoes
55b433ae36 [AKH] Added 3/27 spoilers to mtg-cards-data.txt. Implemented several of the new cards. 2017-03-28 22:25:29 -05:00
fireshoes
adc3b2ccac Fixed Chandra, Pyromaster only casting cards, not playing. Add Oracle's Vault to MLP 2017-03-28 22:16:14 -05:00
Derek M
b68bfdf4c2 Merge pull request #3032 from ingmargoudt/type_api
Type api
2017-03-28 22:48:02 -04:00
drmDev
c25361202a minor fixes - remove inconsistent test, make isperia ability non-optional 2017-03-27 23:36:06 -04:00
Achilles
f6279d1250 - Fix Isperia the Inscrutable. Bug #3018 2017-03-27 22:23:44 -05:00
drmDev
4bdf0f1c08 fix build - bonds of mortality using loseabilityalleffect 2017-03-27 23:14:29 -04:00
Derek M
1dcd3d0a81 Merge branch 'master' into type_api 2017-03-27 19:13:45 -04:00
Jeff
aa81a6d663 - LoseAbilityAllEffect() now works with rule 611.2c. 2017-03-27 17:17:56 -05:00
Jeff
c4dc0222d8 - Fixed Indomitable Creativity. Bug #3029 2017-03-27 16:42:32 -05:00
ingmargoudt
0879298e92 refactor cards to use supertype enum 2017-03-27 21:56:33 +02:00
Clint Herron
70e4752cfd Merge remote-tracking branch 'upstream/master' into CMH-GuiltyConscienceAndBackfire 2017-03-27 08:37:27 -04:00
Achilles
3a2c828fb8 - Fixed Rivals' Duel. 2017-03-26 18:25:45 -05:00
drmDev
dcc8dc68f9 Fixes #3022 : Game of Chaos refactor and fix 2017-03-26 11:55:18 -04:00
drmDev
523703b373 merge 2017-03-26 10:33:41 -04:00
Achilles
c2bcb59c82 - Added Barrin's Spite. Fixed a targeting issue. 2017-03-25 22:41:03 -05:00
Clint Herron
402beb3b49 Merge remote-tracking branch 'upstream/master' into CMH-GuiltyConscienceAndBackfire 2017-03-25 22:07:23 -04:00
Achilles
f7eab224dd - Missed Genju of the Cedars in that last commit. 2017-03-25 18:41:25 -05:00
Achilles
26dbee6f2d - Added BecomesCreatureAttachedWithActivatedAbilityOrSpellEffect(). Converted all the Genju cards to use it. This class is subject to rule 611.2c. 2017-03-25 17:30:14 -05:00
Achilles
908861e56a - Fixed Maralen of the Mornsong. 2017-03-25 14:07:14 -05:00
Clint Herron
40d318ce09 Merge remote-tracking branch 'upstream/master' into CMH-GuiltyConscienceAndBackfire 2017-03-25 10:46:20 -04:00
Achilles
302f1f8262 - Fixed Goblin Grenade 2017-03-24 21:18:06 -05:00
Achilles
9702074bf5 - Fixed the Dissention set. Accidently add War's Toll. 2017-03-24 18:54:28 -05:00
Achilles
e30821b6cf - Added Azorius AEthermage. Fixed Spellshift: The library must be shuffled. 2017-03-24 18:30:57 -05:00
Clint Herron
bce7e690a8 Merge remote-tracking branch 'upstream/master' into CMH-GuiltyConscienceAndBackfire 2017-03-23 19:26:34 -04:00
Clint Herron
3c81275ab1 Implementing Guilty Conscience and Backfire, as well as expanding capabilities of trigers that occur when an enchanted creature deals damage to a player, and adding an effect to deal damage to an enchanted creature. 2017-03-23 19:23:28 -04:00
Achilles
8bcb2d1d2d - Added Quicksilver Fountain 2017-03-23 15:13:13 -05:00
drmDev
57efb10003 fixing tokens exiled at end of combat - not at end step 2017-03-23 11:21:38 -04:00
ingmargoudt
5ae4ddce07 Merge branch 'master' into phantoms 2017-03-23 13:43:34 +01:00
Derek M
cf831eea28 Merge pull request #3007 from kubikrubikvkube/master
Enums should be compared with == but not equals()
2017-03-22 16:17:07 -04:00
Derek M
9c3aab3284 Merge pull request #3009 from Alexsandr0x/Citadel-of-Pain
Citadel of Pain
2017-03-22 16:16:21 -04:00
Alexsandro
bfb2b07ba6 Create unit tests 2017-03-22 13:09:49 -03:00
spjspj
ddd226e60c Merge pull request #3008 from spjspj/master
spjspj - Add Chronomantic Escape (FUT)
2017-03-23 00:45:35 +11:00
spjspj
d947a8d75b spjspj - Add Chronomantic Escape (FUT) 2017-03-23 00:44:03 +11:00
vraskulin
d93061c0bc Equals should be compared with == but not equals() 2017-03-22 14:50:50 +03:00
ingmargoudt
b154bf58f9 phantom effect code duplication 2017-03-22 10:25:57 +01:00
Achilles
1f9b51d833 - Added Noetic Scales 2017-03-21 21:37:11 -05:00
Achilles
1fc245eb10 - Set edit needed for Keldon Firebombers 2017-03-21 20:44:04 -05:00
Achilles
cdef5fb13b - Added Keldon Firebombers 2017-03-21 20:40:10 -05:00
drmDev
107b83c231 fixes tapped and attacking cards. reverted firecat blitz. created issue for that one 2017-03-21 19:57:49 -04:00
LevelX2
4b8c2d19ad Added Ogre Leadfoot. 2017-03-21 19:57:49 -04:00
Max Lebedev
338d032a8b updated author 2017-03-21 19:57:49 -04:00
Max Lebedev
2f031f883c added Divining Witch 2017-03-21 19:57:49 -04:00
ingmargoudt
59eb2ed568 change map for list 2017-03-21 19:57:49 -04:00
drmDev
5c34022175 second set using refactored createtokeneffect for exiling at end step 2017-03-20 21:57:26 -04:00
drmDev
a8f42de901 First set of cards updated to simplifed token creation and exile at end step 2017-03-20 21:30:48 -04:00
LevelX2
696272b328 * Misthollow Griffin - Fixed a bug that sometimes a not owning player could play the card from exile. 2017-03-20 23:09:14 +01:00
Alexsandro
a6e1c1a37d Add ability to cast 2017-03-20 19:03:12 -03:00
Alexsandro
096efc8951 Implement Citadel of Pain 2017-03-20 18:55:49 -03:00
Achilles
dc7e9318af - getPlayersInRange() added to All Hallow's Eve 2017-03-20 08:24:28 -05:00
Achilles
49974c5d66 - Added All Hallow's Eve. 2017-03-19 18:47:20 -05:00
drmDev
311e41abd2 refactored exiletokensAtEndStep 2017-03-19 17:54:07 -04:00
drmDev
dcd5c76bad minor typo fix 2017-03-19 12:33:12 -04:00
drmDev
c109fc8a0e Implemented card Lightning Coils and test for it 2017-03-19 12:23:58 -04:00
drmDev
164b6e00c2 merge 2017-03-18 09:44:16 -04:00
Jeff
b739c3bd7d - Fixed Hellcarver Demon. 2017-03-16 15:24:43 -05:00
fireshoes
86022e17cf [FUT] Added Reality Strobe and Festering March. 2017-03-16 11:42:43 -05:00
fireshoes
8516c6f365 Merge origin/master 2017-03-16 11:25:53 -05:00
fireshoes
bc9aba3cb7 [FUT] Added Reality Strobe and Festering March. 2017-03-16 11:24:37 -05:00
LevelX2
68d398c6fb Merge pull request #2968 from ingmargoudt/singleton-as-enum
rewrote singleton to enum where applicable
2017-03-16 17:02:31 +01:00
LevelX2
63e9ca9266 Merge pull request #2969 from Alexsandr0x/Machinate
Implement Machinate + unitTests
2017-03-16 17:00:18 +01:00
spjspj
894c575d34 Fix for UndeadAlchemist 2017-03-16 09:48:02 +01:00
fireshoes
2c814f8321 [JR] Added Homeward Path and Avacyn, Angel of Hope. [DDS] Added Lovisa Coldeyes and Jhoira of the Ghitu. 2017-03-16 09:48:02 +01:00
Clint Herron
1f20d0f2e9 Making card match generated template. 2017-03-15 23:18:28 -04:00
Clint Herron
7c5a18e5b1 Adding missing card Lavamancer's Skill from Onslaught. Tricky conditional continuous effect, but fun to implement. 2017-03-15 23:18:19 -04:00
spjspj
4824b96640 Merge pull request #2973 from spjspj/master
Fix for UndeadAlchemist
2017-03-16 00:50:08 +11:00
spjspj
b0fd3b0446 Fix for UndeadAlchemist 2017-03-16 00:49:29 +11:00
fireshoes
fdfdeb1ee1 [JR] Added Homeward Path and Avacyn, Angel of Hope. [DDS] Added Lovisa Coldeyes and Jhoira of the Ghitu. 2017-03-14 23:03:44 -05:00
Alexsandro
17bccde39d Implement Machinate + unitTests 2017-03-14 17:22:16 -03:00
ingmargoudt
234cfe9519 rewrote singleton to enum where applicable 2017-03-14 16:32:47 +01:00
Jeff
3b62489ef5 - Converted Deceiver of Form to use CopyEffect(). 2017-03-14 09:13:08 -05:00
Jeff
15a2b3444e - Fixed Zur's Weirdling. 2017-03-13 17:14:47 -05:00
Jeff
66362aa797 - Removed a debugging line. 2017-03-13 15:35:41 -05:00
Jeff
f52bc17ca5 - Fixed Declaration In Stone. 2017-03-13 15:31:27 -05:00
Jeff
0b2f7ffcdb - Fixed Vision Charm second ability. Rule 611.2c. 2017-03-13 12:18:44 -05:00
Jeff
4b3389b8cc - Fixed Elsewhere Flask and Terraformer. Rule 611.2c. 2017-03-13 11:57:39 -05:00
Justin Herlehy
a5628dcf5b Corrected ability cost on Phyrexian Broodlings
Was coded as "T, Sac", corrected to "{1}, Sca".
2017-03-12 23:34:47 -07:00
LevelX2
bfa9d17182 Merge origin/master 2017-03-12 21:00:26 +01:00
LevelX2
115512ad9b * Spellskite - Fixed a bug that target could not always be chnaged to Spellskite if other modes already targeted Spellskite. 2017-03-12 20:59:35 +01:00
Achilles
730fc3c95e - Fixed Eye of the Storm. It should resolve even if the triggered spell is not on the stack. 2017-03-12 13:40:56 -05:00
LevelX2
1b2636d0cd * Arachnuns Web - Fixed condition handling. Some renaming. 2017-03-12 10:36:51 +01:00
LevelX2
105ef6e571 Merge origin/master 2017-03-11 18:19:28 +01:00
LevelX2
037f471f5f * Stitcher's Graft - Fixed that the triggered ability was wrongly given to the equipped creature instead of being a ability of the equipment. Fixed a bug that prevented that the equipped creature did not untap after attacking. 2017-03-11 18:18:54 +01:00
ingmargoudt
1f215cdbe3 removed autoboxing :
Boolean -> boolean
Integer -> int
Float -> float
2017-03-11 15:17:14 +01:00
LevelX2
9d8a8a33f1 Xmage 1.4.22V0 2017-03-11 13:38:55 +01:00
LevelX2
d89dfd4ac3 Added some missing MM3 cards and fixed wrong collector numbers. Allow image download for MM3. 2017-03-11 12:33:59 +01:00
LevelX2
c042d50ec7 Fixed a bug that fizzling spell copies let also wrongly fizzle the original spell on the stack the copy was made from. 2017-03-11 12:00:05 +01:00
LevelX2
2d20045b61 Bloodbond March - minor change. 2017-03-11 09:49:51 +01:00
LevelX2
7843187bc7 Merge pull request #2958 from JRHerlehy/master
Implement Bloodbond March
2017-03-11 09:41:41 +01:00
Justin Herlehy
3e60eb7780 Implement Bloodbond March 2017-03-11 00:01:51 -08:00
Jeff
80f524d94d - Fixed type on Solemn Recruit 2017-03-10 16:18:39 -06:00
Jeff
8c62038d7e - Fixed Nacatl War-Pride 2017-03-10 15:59:06 -06:00
Jeff
609fbc7f7b - Fixed Uba Mask. 2017-03-10 15:20:25 -06:00
Nathaniel Brandes
74b9f0eb24 Remove some unnecessary checks. 2017-03-09 23:39:50 -08:00
Jeff
368dd9a5be - Fixed Possibility Storm.
Issue: https://github.com/magefree/mage/issues/2685
2017-03-09 12:26:50 -06:00
Jeff
cb5fc3037e - Changed the SimpleActivatedAbility to a SimpleManaAbility on Selvala, Heart of the Wilds. 2017-03-09 10:41:01 -06:00
Jeff
691c590e68 - Fixed Selvala, Heart of the Wilds. 2017-03-09 10:15:57 -06:00
Nathaniel Brandes
dd0c89db1d Fix Dack Fayden Emblem.
The emblem's effect was referencing the permanent directly.
This meant that if the permanent left and came back, the control effect
would start working again.
2017-03-09 02:24:34 -08:00
Justin Herlehy
964f2fb9d0 Corrected card listing in Scourge set file. 2017-03-09 01:57:21 -08:00
Justin Herlehy
9dd1e60f2d Implement Clutch of Undeath
Implement Clutch of Undeath and add test to ensure functionality.
2017-03-09 01:48:34 -08:00
Nathaniel Brandes
ce1f4a3bf8 Phyrexian mana now correctly a payment choice.
Per rule 601.2b, it is not determined at the pay costs step,
but at the "choice" step, long before costs are determined.

This fixes trinisphere interactions and should be consistent with the
rules.
2017-03-08 20:03:28 -08:00
Jeff
209e2d13c1 - Fix for Spellskite in situations where it was also a target. Fixed the test for Spellskite. 2017-03-08 12:05:36 -06:00
Achilles
31ba751c66 - Fix for Spellskite dealing with a targeted source spell/ability that has multiple targets. 2017-03-07 22:14:18 -06:00
ingmargoudt
603984c8b0 Merge pull request #2946 from ingmargoudt/master
various rewrites
2017-03-07 22:29:13 +01:00
Derek M
2ff68c2fb3 Merge pull request #2944 from Alexsandr0x/sakashima-bug
SpellStutter Sprite - Sakashima Impostor Bug
2017-03-07 16:10:06 -05:00
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
elliott-king
7a2e0a0476 Added Overabundance from Invasion 2017-02-01 13:40:43 -05:00
emerald000
03e228d875 Merge origin/master 2017-01-31 11:08:07 -05:00
emerald000
f4c9ac53db Added Battlefield Scrounger, Death Spark and Rasputin Dreamweaver. 2017-01-31 11:06:49 -05:00
LevelX2
96d2372a2b Added revolt test. 2017-01-31 17:06:17 +01:00
LevelX2
53540838a3 * Tymna the Weaver - FIxed that 2017-01-30 22:18:37 +01:00
LevelX2
ada17b1690 * Reyhan, Last of the Abzan - Fixed that dies triggered ability was not reset correctly if it triggered multiple times. 2017-01-30 21:49:57 +01:00
LevelX2
034ef22468 * Fixed PreventDamageByTargetEffect to handle delayed spell damge (fixes #2822). 2017-01-30 21:19:17 +01:00
LevelX2
0a1356d40e * Fixes to test and fix for issue #2816 2017-01-29 11:16:04 +01:00
LevelX2
2cf15830d7 * Some fixes to Hivestone and BecomesSubtyoeAllEffect. 2017-01-29 11:15:09 +01:00
LevelX2
e9d46db772 * Scrapheap Scrounger - Fixed that the exile cost was not mandatory. 2017-01-28 12:10:38 +01:00
fireshoes
a4b44d1297 Added upcoming FNM promos: Aether Hub, Servo Exhibition, and Unlicensed Disintegration 2017-01-25 10:28:44 -06:00
LevelX2
dd2a1b8b94 Hivestone, Muraganda Petroglyphs some minor updates. 2017-01-24 23:28:19 +01:00
LevelX2
357d566e63 Merge pull request #2774 from Alexsandr0x/master
Add 2 cards
2017-01-24 23:18:01 +01:00
LevelX2
e238837465 Powerstone Minefield some minor changes. 2017-01-24 23:17:14 +01:00
LevelX2
56f0c916e9 Merge pull request #2805 from vereena42/PowerstoneMinefield
Adding Powerstone Minefield card
2017-01-24 23:14:10 +01:00
LevelX2
ca0485075c Merge pull request #2810 from Galatolol/master
Added 5 cards
2017-01-24 23:12:22 +01:00
LevelX2
8d06c23602 * Selvala, Explorer Returned - Fixed that library top cards were revealead without using the mana ability. Possible mana from this source is no longer calculated for possible mana pool. Tapping for man can no longer be undone.(#2191). 2017-01-24 16:25:26 +01:00
LevelX2
9716ac3541 * Corrupted Zendikon - Fixed that the token was green instead of black. 2017-01-23 23:31:31 +01:00
LevelX2
326764c943 * Aid from the Cowl - Added a message to the log if the player puts the card back to the top of the library. 2017-01-22 22:50:34 +01:00
LevelX2
0014c7dcc5 * Fixed some possible null pointer exceptions. 2017-01-22 22:46:14 +01:00
LevelX2
dad1a10eec * Eternal Scourge - Fixed that also non card owner could cast from exile if controlled from other player before going to exile. 2017-01-22 22:12:45 +01:00
LevelX2
fdd28cde4b * Possibility Storm - Fixed a problem with split card moving. 2017-01-22 22:04:50 +01:00
Galatolol
8969157ce8 Added 5 cards 2017-01-21 14:26:04 +01:00
LevelX2
b1a51ce7cf * Lightning Runner - Fixed a bug of the optional untap and add combat phase effect. 2017-01-21 01:10:37 +01:00
LevelX2
5fe25b0af7 * Fixed some problems with set icon download and displaying. 2017-01-21 00:51:31 +01:00
LevelX2
83679ea7a2 * Mystic Confluence - Judge Promo card set unique card number. 2017-01-20 22:33:27 +01:00
LevelX2
c3f087246a * See Beyond - Fixed wrong card moving from hand to library. 2017-01-20 19:16:19 +01:00
LevelX2
ce8d752f22 * Fairgrounds Trumpeter - Fixed that counters added to permanents entering the battlefield were not taken into account. 2017-01-20 19:01:11 +01:00
LevelX2
8754dc0a69 * Chief of the Foundry - Fixed wrong tooltip text. 2017-01-20 18:44:59 +01:00
LevelX2
509139bb4a * Steel Golem - Fixed not correct working "dont cast" effect. 2017-01-20 15:46:17 +01:00