Commit graph

2987 commits

Author SHA1 Message Date
LevelX2
03b51d1f34 Fixed some effects apply return value. Some changes to game logging. 2014-07-23 08:11:11 +02:00
LevelX2
245582303c * Show playable cards - Fixed possible Null Pointer Exception. 2014-07-23 08:09:06 +02:00
LevelX2
a58c699880 Minor changes for move permanent to graveyard action from sacrifice. 2014-07-21 17:42:49 +02:00
LevelX2
9ece8a21f6 * Brood Sliver - Fixed a bug that happened by text generation. 2014-07-21 17:13:27 +02:00
LevelX2
c70828bda0 Added debug messages to narrow down #440. 2014-07-21 15:19:50 +02:00
LevelX2
142e95fe42 * Fixed provisional game freezing bugs of the show playable cards feature #457 (caused by DelverAbility, OfferingAbility, Rooftop Storm, Omniscience, Aluren). 2014-07-21 13:03:41 +02:00
LevelX2
ad9b73c34c Fix Effect.apply return status. Minor formattings. 2014-07-21 08:26:52 +02:00
emerald000
3d5d12c418 [NEW] Added Plunge into Darkness, Favor of the Mighty, Disciple of the Vault and Arena. 2014-07-20 16:07:24 -04:00
LevelX2
993cb99e11 * Dee-Sea Kraken - Fixed a bug that oponent spells didn't trigger the ability to remove supend counters. 2014-07-19 22:13:16 +02:00
LevelX2
6bd1a9c7ca * Fixed calculation of converted mana costs for spells on the stack (fixes #459). Added test. Some minor formattings. 2014-07-19 15:17:46 +02:00
LevelX2
bfca0b2b04 * Discard - Fixed that discard cost are valid if Rest in Peace is in play. 2014-07-19 10:23:58 +02:00
emerald000
476358740b [NEW] Added Sky Hussar, Lantern of Insight, Nether Spirit, Necroplasm and Hypergenesis. 2014-07-18 22:15:03 -04:00
emerald000
c185b2e1c7 [NEW] Added Exhaustion, Sudden Impact, Petrified Field, Spiraling Embers, Ebony Owl Netsuke, Martyr of Spores, Martyr of Bones, Martyr of Frost and Martyr of Ashes.
+ updated Martyr of Sands with new dynamic cost.
2014-07-18 08:24:03 -04:00
magenoxx
65a0c9fc79 [UI] Displaying creatures that can attack 2014-07-18 16:05:21 +04:00
magenoxx
a8476d3613 [UI] Fixed Issue#467: yellow frame is displayed for instances when declaring attackers 2014-07-18 13:17:33 +04:00
Quercitron
e5b2b39701 Make order of parameters the same for methods player.damage and permanent.damage 2014-07-18 02:11:11 +04:00
LevelX2
d268642d95 * Synase Sliver, Brood Sliver - Fixed triggered ability. 2014-07-17 17:12:06 +02:00
LevelX2
020958078c Fixed end turn handling. Fixes #463 (this does not handle Time Vault correctly. It needs a skip current turn effect that's not implemented yet). 2014-07-17 15:37:48 +02:00
LevelX2
0b9b9d52f0 Fixed some objects using wrong event (END_PHASE_PRE instead of END_TURN_STEP_PRE). 2014-07-17 14:47:52 +02:00
magenoxx
4b547e7a06 javadoc fixes 2014-07-17 15:16:46 +04:00
emerald000
7218cfe9a6 [NEW] Added Time Vault, Grim Tutor and Aluren. 2014-07-16 21:25:23 -04:00
LevelX2
6238bca8e5 * Fixed a bug that if you concede a game while your turn was controlled by another player (e.g. Mindslaver) the control by the other player was still active in the next game of the match. 2014-07-17 00:41:16 +02:00
Quercitron
59c80771e9 * Earnest Fellowship - Fix protection working wrong for multicolored creatures 2014-07-17 02:27:57 +04:00
LevelX2
945284946a * Convoke - Fixed that any number od creatures could be tapped. Now only creatures will be tapped that reduce the mana costs of the convoke spell. Added log info about the with convoke tapped creatures. 2014-07-16 17:53:31 +02:00
LevelX2
e717d18b3a Added some javadoc text. 2014-07-16 08:28:44 +02:00
emerald000
7b9eb5516c [NEW] Added Breakthrough, Ill-Gotten Gains and Nether Void. 2014-07-15 22:01:42 -04:00
emerald000
219f23adc5 [NEW] Added Academy Researchers + Aura Swap fix. 2014-07-15 17:21:33 -04:00
emerald000
c3ca3cfd68 [NEW] Added Patagia Viper and Arcanum Wings
+ Ulasht, the Hate Seed fix.
2014-07-15 15:08:30 -04:00
magenoxx
8a9474d839 [Server] fastDbMode for starting without scanning for cards 2014-07-15 21:44:48 +04:00
LevelX2
1d8712335f * Descent into Madness - Fixed handling according the existing rules. 2014-07-15 16:58:11 +02:00
LevelX2
310347fc8b * M15 - Fixed that booster generation did also generate cards that are only included in supplemental products and not in boosters. 2014-07-15 01:08:22 +02:00
LevelX2
de47dbad43 Some formatting and change of handling of adjust methods of StackAbility. 2014-07-14 17:41:30 +02:00
magenoxx
acd6514bab Made a workaround for Issue#457 to prevent from StackOverflowError 2014-07-14 17:30:31 +04:00
LevelX2
aad8ad0871 * Not targeted selections - Fixed a but where not targeted selections did trigger the target events (e.g. Kira, Great Glass-Spinner counter ability was triggered by taping creatures for convoke ability). 2014-07-14 14:19:18 +02:00
LevelX2
943ff0d78d Some minor formattings. 2014-07-14 09:05:33 +02:00
LevelX2
12a2d020e7 * Changed handling of getting source object. Needed some change to adjust methods. 2014-07-14 09:02:06 +02:00
emerald000
7ca60078a0 Merge origin/master 2014-07-14 01:01:39 -04:00
emerald000
3a5e45cc87 [NEW] Added Gemstone Caverns. 2014-07-14 00:58:54 -04:00
LevelX2
0aa263cd55 * Transmute - Fied that transmute could be activated wrongy as instant instead of only at sorcery time. 2014-07-12 23:58:33 +02:00
LevelX2
b602be2b53 * Fixed that spells with target amount distribution did not fizzle if all their targets were illegal at resolution (e.g. Electrolyze). 2014-07-12 19:31:57 +02:00
emerald000
7b7d07fe1b [FIX] Fix SacrificeTargetCost(). 2014-07-11 12:45:00 -04:00
magenoxx
5fcc3b1ba8 [UI] Displaying playable cards in hand 2014-07-11 19:35:01 +04:00
emerald000
b7570cf28f [FIX] Minor fixes. 2014-07-11 00:00:00 -04:00
emerald000
9a26a9c50c [NEW] Added Food Chain + minor fixes. 2014-07-10 18:22:33 -04:00
LevelX2
30839b8a0a [M15] Fixed The Chain Veil and Garruk Apex Predator. 2014-07-10 23:17:17 +02:00
LevelX2
98e3fe9bde [M15] Added The Chain Veil Artifact. 2014-07-10 22:19:09 +02:00
LevelX2
810434932b * Planeswalker - Changed handling of LoyayltyAbilities to a times used based handling. 2014-07-10 08:52:21 +02:00
magenoxx
aadb89a8ef [M15] 6 black cards 2014-07-10 01:02:41 +04:00
LevelX2
9167261223 [M15] Added 6 green cards. 2014-07-09 20:44:31 +02:00
LevelX2
d40a3f591d Changes to game log. 2014-07-09 20:44:06 +02:00
Jeff
5b6bc2ea39 - Added Dusk Urchins, Hollowborn Barghest, and Hollowsage. Fixed Tormented Hero and added optional to BecomesTappedTriggered. 2014-07-08 11:45:59 -05:00
LevelX2
b4a690b402 * Reverted unintended and wrong changes to GetEmblemEffect.java. 2014-07-08 17:53:25 +02:00
LevelX2
6813ce6d14 * M15 - Added Garruk, Apex Predator and Sliver Hivelord. 2014-07-08 17:36:52 +02:00
LevelX2
08d0a3662c * M15 - Added 11 blue cards. 2014-07-08 02:15:45 +02:00
magenoxx
b6bc7c6a51 [M15] Added source to TriggeredAbility. Real fix for Genesis Hydra, works correctly now. 2014-07-07 17:44:50 +04:00
LevelX2
18e78b8294 Some fixes to M15 cards or by M15 used classes. 2014-07-06 16:00:32 +02:00
LevelX2
049744677b * Game handling - Fixed a bug that could lead to java.lang.OutOfMemoryError: Java heap space for the game worker when players left the game while choosing blocker order. 2014-07-06 07:11:45 +02:00
LevelX2
84ac387bbb * M15 - Added 13 white cards. 2014-07-05 11:57:54 +02:00
Quercitron
3fa12ee2bb * Life from the Loam - fix TargetCardInYourGraveyard: zero cards can always be chosen 2014-07-04 18:49:54 +04:00
Quercitron
b82ae7e9ab * M15 - Add 8 red cards 2014-07-04 03:35:54 +04:00
LevelX2
40d6c90438 * M15 - Added 3 white cards and Leyline of Singularity. 2014-07-04 01:11:17 +02:00
Jeff
eeec615ea0 - Added Bloodshed Fever, Cragganwick Cremator, Elemental Mastery, and Ember Gale. DiscardTargetEffect can now store the discarded card. 2014-07-03 15:50:38 -05:00
LevelX2
ad85d4e7f6 * M15 added 5 green cards. Fixed Nissan Worldeaker. 2014-07-03 17:20:18 +02:00
LevelX2
0dd96df9e3 * Fixed that in some cases the converted mana costs of spells were calculated without the value of X costs (e.g. Chalice of the Void). 2014-07-03 15:16:59 +02:00
LevelX2
6de0233f9a * M15 - Added 4 green cards, some framework changes. 2014-07-03 00:02:49 +02:00
Quercitron
41c61a5e3a * M15 - Add 7 red cards 2014-07-02 11:50:28 +04:00
LevelX2
24e1da5375 * M15 - Added 3 green cards, fixed two creatures with missing p/t. 2014-07-02 00:07:58 +02:00
Quercitron
b1097fc9da Add CanAttackAsThoughtItDidntHaveDefenderAllEffect 2014-07-01 23:21:48 +04:00
LevelX2
a6d05371d4 * Tooltip formatting of ReturnToHandChosenControlledPermanentEffect. 2014-07-01 17:31:33 +02:00
LevelX2
eb71833d87 * Added known M15 cards to mtg-cards-data.txt. Implemented the reprints + 1 card. 2014-07-01 14:42:13 +02:00
LevelX2
458ce8c1e6 * Removed general undo if playerImpl.playLand returns false. 2014-07-01 08:34:14 +02:00
LevelX2
09afaaf9ab * Prevent undo if game has already ended. Probably related to #433. 2014-06-30 17:36:09 +02:00
LevelX2
ae4c07da9d * Added some cards (not finished because land replacement effects need still some work). 2014-06-30 08:33:39 +02:00
LevelX2
0115052b81 * Fixed a bug that you can't create tournaments with AI players (Showing the "You can join a table only one time." message). 2014-06-30 01:04:29 +02:00
LevelX2
9609480109 * Cruel Ultimatum - Fixed that wrongly creatures in all graveyards could be selected. 2014-06-29 13:35:28 +02:00
Quercitron
13b8cad131 Change handling of minNumberOfTargets and required status 2014-06-29 02:45:18 +04:00
LevelX2
1129858a6c * Added 6 cards. 2014-06-28 17:57:11 +02:00
LevelX2
53964ee80c * Phyrexian Unlife - Fixed that damage from a combat damage step was not handled as if all damage was dealt at once. This could cause a wrong mix of damage and poison conters. 2014-06-28 10:30:47 +02:00
LevelX2
2406faec63 * Flashback - Fixed that costs reduction and increasement works correctly for flashbacked spells. 2014-06-27 15:59:18 +02:00
LevelX2
d84076ba40 * Added 28 cards from Vintage Masters. 2014-06-27 13:41:28 +02:00
LevelX2
d951d620d0 * Vintage Masters - 17 cards. 2014-06-26 10:38:21 +02:00
LevelX2
5c562e26d7 Merge origin/master 2014-06-26 02:10:22 +02:00
Quercitron
bba23e05cb Fix handling of multiple simultaneous control changing effects 2014-06-26 03:30:05 +04:00
LevelX2
d337e2cc13 * Some changes to logging. 2014-06-25 17:17:17 +02:00
LevelX2
abc441a4ba * Added rough Vintage Masters bonus card booster generation. 2014-06-25 12:29:32 +02:00
LevelX2
c519814f03 * Vintage Masters - Added set and already implemented cards. 2014-06-25 10:37:07 +02:00
LevelX2
513b012dc0 * Fixed draw handling. Fixed concede handling. Fixed message generation for game end view. Added some debug messages. 2014-06-25 01:34:11 +02:00
LevelX2
5ae1f6306b * Target - Setting required to false if minNumberOfTargets = 0. Fixed bug with Kruphix’s Insight. 2014-06-25 01:32:01 +02:00
LevelX2
fc95ef68f1 * Conspiracy - Added Conspiracy set to XMage. Changed order of sets in deck editor set selector. 2014-06-23 15:58:07 +02:00
LevelX2
db68d881da * Banshee's Balde, Five-Alarm Fire, Descendant of Kiyomaro - Fixed that the combat damage triggered ability triggered multiple times if damage was dealt to multiple creatures instead of correctly only once per dealing creature and combat damage step. 2014-06-23 09:37:22 +02:00
LevelX2
8388225f90 * Gifts Ungiven - Fixed that always have to be selected 4 cards instead up to 4 cards. 2014-06-23 01:31:05 +02:00
LevelX2
4e06f60f76 * Umezawa's Jitte - Fixed that combat damage triggered ability triggered wrongly multiple times, if damage of equipped create was dealt to different creatures. 2014-06-23 01:29:21 +02:00
LevelX2
ea9fe5df55 * Signal Pest - Fixed that Signal Pests restriction effect did not work always if more than one Signal Pest was in the game. 2014-06-22 19:51:13 +02:00
LevelX2
acd960343b * Alternative casting costs - Added a check if costs can't be paid to don't ask player for usagage. 2014-06-22 18:26:55 +02:00
LevelX2
8a12fa9b01 * Fixed a bug of TargetCardInHand class, that could lead to game locked down situations (e.g. Force of Will). 2014-06-22 18:26:06 +02:00
LevelX2
2aeb61b2e6 * Minor fixes to Morph tootip generation. Minor changes to other framwork classes. 2014-06-21 15:54:49 +02:00
LevelX2
5f7784602a Fixed possible NPE of AddManaOfAnyColorEffect. 2014-06-20 20:44:10 +02:00
LevelX2
10f6cbc2d5 Some formatting. 2014-06-20 19:26:27 +02:00
LevelX2
d27540a502 * Court Hussar, Azorius Herald fixed mana was spent condition for permanents. Batwing Brume - Fixed both triggered effects that did not work correctly. 2014-06-20 19:26:15 +02:00
LevelX2
7d2b1c076a * Combat - Creatures forced to attack can no longer be removed from attack by using the undo button (e.g. Bident of Thassa). 2014-06-20 14:19:03 +02:00
LevelX2
e51213a72a Some formatting, NPE checking and log messages. 2014-06-20 08:25:03 +02:00
LevelX2
c08d266fce * Added reference for Kithkin Token. 2014-06-20 00:47:01 +02:00
LevelX2
bbf34f90da * Descendant of Kiyomaro - Saved a casting exception of triggered ability. 2014-06-20 00:46:29 +02:00
Quercitron
aa606a1d3c * Search in library -- Set required status depending on whether searched cards have stated quality (rules 701.15b, 701.15d). 2014-06-19 02:58:29 +04:00
LevelX2
ab3386ac25 * Commander - Fixed that commander could not be cast from command zone by using flash. 2014-06-18 15:04:31 +02:00
LevelX2
ada0fb15db * Mana Bloom - Fixed a bug that returing it to hand did not work correctly. 2014-06-18 13:59:31 +02:00
LevelX2
9bd7bbd661 * Fixed some problems with card search in library and cancel button (Primecal Titan). 2014-06-18 08:42:32 +02:00
LevelX2
30cfe6193e * Commander - Fixed commander mulligan select card to exile can't stop bug. 2014-06-18 08:41:09 +02:00
LevelX2
5bc1036ef9 * Stoneforge Mystic - Fixed that for the second effect the artifact had wrongly be selected already during activation instead of resolution. 2014-06-16 21:46:22 +02:00
North
a397dd05f6 [refactor][minor] simplified if experssion (removed always true condition) 2014-06-16 17:15:44 +03:00
North
66faa3006d [refactor][minor] removed redundant set for effectType in copy Constructor 2014-06-16 17:15:04 +03:00
LevelX2
04fa2e0b0c Added Necropotence. 2014-06-16 15:32:51 +02:00
LevelX2
2c85c54b9f * Hideaway - Fixed a bug that the last returned card was put to the top instead of the bottom of the library. 2014-06-15 23:10:42 +02:00
LevelX2
adcbcc75f7 * Fixed NPE in TargetImpl. 2014-06-15 19:05:58 +02:00
Quercitron
e74dc249bc Fix Scry effect 2014-06-15 19:24:26 +04:00
Quercitron
9629c3f0f5 Modify implementation of Target's required status 2014-06-15 19:23:30 +04:00
LevelX2
83c3f92241 * Reanimate - Fixed a problem that abilities of cards brought to battlefield from opponents graveyards did act as if controller would be the owner of the card. 2014-06-15 11:15:37 +02:00
LevelX2
ba885fef91 * Ground Seal - Fixed a problem, that cards that need to target cards in graveyard caused a game lock, if ground seal was on the battlefield. 2014-06-15 11:14:08 +02:00
LevelX2
36ebe56b7f * Undo of mana abilities - Fixed a problem that caused that undo was not done properly (e.g. filterlands (Flooded Grove), Nykthos, Shrine to Nyx, Grinning Ignus, Oppressive Rays, Propaganda). 2014-06-14 12:23:02 +02:00
LevelX2
26297a0b22 * Fixed bug that prevents to use Undo (introduced with a recent commit). 2014-06-14 10:11:08 +02:00
Quercitron
a0fb5bfe22 Merge branch 'master' of https://github.com/magefree/mage 2014-06-13 17:14:56 +04:00
LevelX2
48f149c549 * LogName - Changed some more messages to use the logName instead of name. 2014-06-13 15:09:06 +02:00
Quercitron
f9fc2246e8 Remove unnecessary set of required status with setRequired method 2014-06-13 16:35:31 +04:00
LevelX2
2305cc5274 * LogName - Changed some more messages to use the logName instead of name. 2014-06-13 14:02:56 +02:00
Quercitron
0a0983d7e9 Remove explicit set of required property in constructor 2014-06-13 15:15:16 +04:00
Quercitron
250909a464 Make required status of target based on the type of ability 2014-06-12 23:35:56 +04:00
LevelX2
c0aa97802e * Triggered abilities - Fixed a bug that triggered abilities triggered not at the correct time but too late. 2014-06-12 21:09:59 +02:00
LevelX2
b964758325 * Game log - added move message for permanents moved to graveyard by state based effects. Some formatting. 2014-06-12 17:48:55 +02:00
LevelX2
ec65c89267 Some minor changes. 2014-06-12 08:28:08 +02:00
LevelX2
42a7da9132 * Log messages -Some more changes to handle message of targets without names (Morph) and targetlists that contain 0 targets. 2014-06-10 17:51:21 +02:00
LevelX2
c077a17d86 * Skullsnatcher - Fixed a bug that only one card could be exiled (was located in ExileTargetEffect only supporting one target, so other cards could be affected as well). Some formatting. 2014-06-10 17:49:11 +02:00
LevelX2
78f6e28f33 * TargetNonBasicLandPermanent - Fixed a bug that nonland permanents could be targeted. Made Target by default required. 2014-06-10 17:46:48 +02:00
LevelX2
678b9acbf0 * Made targets mandatory (1333 cards). 2014-06-10 00:15:38 +02:00
LevelX2
d244551e3b * Added Morph ability. 2014-06-09 17:53:55 +02:00
Plopman
1d0cfaefab Added Snow Mana Cost 2014-06-07 19:00:46 +02:00
LevelX2
e2373a709b * Lightning Greaves - Fixed that equiped creature did not get shroud ability. 2014-06-06 19:00:43 +02:00
Plopman
ebb86e199b Added Future Sight. 2014-06-06 14:20:59 +02:00
Plopman
0b880ae2b8 Added Choose color effect 2014-06-06 14:19:27 +02:00
Plopman
390b3d97b8 Fixed cascade. Cards were not put back in library 2014-06-06 14:18:48 +02:00
LevelX2
53b8f1977a * Fixed more possible endless loops of while iterations not ending if a asked player left game. 2014-06-05 23:18:39 +02:00
North
aba725bb17 [refactor][minor] improved generics usage in ContinuousEffectsList 2014-06-03 13:28:27 +03:00
North
626273013b [refactor] removed generic parameter from FilterStackObject 2014-06-03 12:45:42 +03:00
North
782518f336 [refactor] removed generic parameter from PermanentImpl 2014-06-03 12:42:55 +03:00
North
bb7de19d7b [refactor] removed generic parameter from BasicLand 2014-06-03 12:42:40 +03:00
North
9324e93868 [refactor] removed generic parameter from Game classes 2014-06-03 12:33:02 +03:00
North
4fd248c4f8 [refactor] removed generic parameter from remaining Abilities 2014-06-03 12:07:21 +03:00
North
a2e086a152 [refactor] removed generic parameter from Phase 2014-06-03 11:47:04 +03:00
North
c5c23fac1a [refactor] removed generic parameter from Step 2014-06-03 11:45:42 +03:00
North
1867a150c1 [refactor] removed generic parameter from Player 2014-06-03 11:19:49 +03:00
North
99854be1fb [refactor] removed generic parameter from remaining Effect classes 2014-06-02 22:53:49 +03:00