Commit graph

4092 commits

Author SHA1 Message Date
LoneFox
6084fea927 Add FilterEnchantmentCard and implement a card that uses it: Azorius First-Wing 2015-06-29 12:10:25 +03:00
LevelX2
df3e6db569 Please test! Some changes to the display of user choices, showing also a longer text in tooltip window. 2015-06-28 21:55:48 +02:00
LevelX2
253845b682 Merge pull request #1063 from LoneFox78/master
New stuff
2015-06-28 18:48:51 +02:00
LoneFox
b4f3440fbd Move PermanentsTargetOpponentControlsCount from Gideon, Champion of Justice to its own file. Implement card that uses it: Starlight 2015-06-28 10:12:50 +03:00
LevelX2
87f3978589 Some changes to userData handling. Added country flag to some dialogs. Saved and restored some more table columns width and order information. 2015-06-28 00:10:38 +02:00
LevelX2
c774e95335 * Fixed some possible java exception causes. 2015-06-27 09:32:50 +02:00
LevelX2
b668209f7d Fixed for Flameshadow Conjuring and Felhide Spiritbinder that the created tokens did not get haste or the added card type enchantment. 2015-06-26 19:20:27 +02:00
LevelX2
f37761fbc1 Some minor changes/renames. 2015-06-26 18:28:50 +02:00
Mark
e35a7b2f36 new cards Barbed Shocker ,Cabal Slaver, Shoker
added new DiscardHandAndDrawEffect
2015-06-26 10:37:37 -04:00
Mark
9294bac4c2 Harvest Wurm implementation 2015-06-26 10:37:35 -04:00
LevelX2
7a8e1f11c7 * Fixed a bug that destroying a commander not counted as successful destroy when the commander went to command zone (e.g. important for Phyrexian Rebirth like effects). 2015-06-26 12:10:03 +02:00
LevelX2
f6178a887b Merge pull request #1056 from LoneFox78/master
New stuff
2015-06-25 23:28:04 +02:00
LevelX2
12cba2d0ab Minor changes. 2015-06-25 23:13:45 +02:00
LevelX2
77c9d6e989 Added BecomesSubtypeTargetEffect for Unnatural Selection. 2015-06-25 22:30:58 +02:00
LoneFox
9ca40cf38d Implement card: Story Circle 2015-06-25 20:42:02 +03:00
LevelX2
67aec0be0b * Plea for Power - Fixed the order the players are asked to vote. 2015-06-25 17:16:39 +02:00
LevelX2
ee304e773e * Daxos of Meletis - Fixed that the mana as thought ability did not work. Fixed that a instant could also be cast from other players. 2015-06-25 16:57:44 +02:00
LevelX2
7bc8649585 * Animate Dead - Fixed that the target card in graveyard was not handled correct, if the Animate Dead reentered the Battlefield(e.g. with Worldgorger Dragon combo). 2015-06-25 14:31:23 +02:00
LevelX2
76f989a7f0 * Fixed a bug that prevented asThoughAs continuous effects correctly change controller (e.g. play lands from library with a controlled Courser of Kruphix did not work). 2015-06-25 00:57:59 +02:00
LevelX2
26e03d6c0f Renown - Fixed that the check if the creature is already renown was not implemted as intervening if clause. 2015-06-24 15:31:07 +02:00
LevelX2
ca9e52f99b Merge pull request #1052 from brodee/master
code review comments for chaos/random booster draft:
2015-06-24 06:56:45 +02:00
Brodee
ac0aa65aab code review comments for chaos/random booster draft:
1. rename chaos booster draft to random booster draft
2. save packs selected in the user preferences
3. print "Random Boosters" in the player draft viewer during the draft
2015-06-23 20:59:05 -07:00
LevelX2
6c95c7139e * Fixed possible NPE for SacrificeSourceEffect. 2015-06-24 00:19:04 +02:00
LevelX2
94ad36058c [ORI] Added 5 cards with Renown relation and a renown test. 2015-06-24 00:11:03 +02:00
LevelX2
c2bba588ff [ORI] Implemented Renown keyword. 2015-06-24 00:10:06 +02:00
LevelX2
0a3c081ded Merge pull request #1048 from brodee/master
Chaos booster draft implementation
2015-06-23 21:59:46 +02:00
LevelX2
799c47cbcb Merge pull request #1050 from LoneFox78/master
New cards
2015-06-23 21:42:51 +02:00
LevelX2
2547753dcb Added Sen Triplets (Alara Reborn = 100%). 2015-06-23 16:15:14 +02:00
LevelX2
a9ba34395f Fixed ShuffleIntoLibrarySourceEffect not working for permanent objects. 2015-06-23 11:27:30 +02:00
brodee
e3b84eaab5 chaos booster draft implementation first check-in 2015-06-22 21:55:43 -07:00
fireshoes
cda11b280c Merge origin/master 2015-06-22 18:47:51 -05:00
fireshoes
00569c4047 Added 12 Clash Pack promos, 5 judge promos, 2 upcoming FNM promos, renamed MerfolkToken to MerfolkWizardToken, added collector's number that were missing for ORI in mtg-cards-data.txt, added other various cards. 2015-06-22 18:46:01 -05:00
LevelX2
c7184a6055 * Browbeat - Fixed player list handling. 2015-06-23 01:09:31 +02:00
LevelX2
259ef3aed5 * Kicker - Fixed that multikicker activation number was not reset after canceled cast. 2015-06-22 21:02:07 +02:00
LevelX2
3146818374 * Fixed possible null pointer exception of ReturnToLibrarySpellEffect.. 2015-06-22 19:32:07 +02:00
LoneFox
6ea6cc6656 Implement cards: Opal Archangel, Opal Caryatid, Opal Champion, Opal Gargoyle, and Opal Guardian 2015-06-22 20:08:31 +03:00
LevelX2
6fa1f4c2e0 Hideaway - Some minor fixes. 2015-06-22 15:32:00 +02:00
LevelX2
78188d6f24 Removed dispay of card ID for looked at cards to prevent unfair use of card identity. 2015-06-22 15:31:15 +02:00
LevelX2
77a6c4573a Merge origin/master 2015-06-21 23:50:38 +02:00
LevelX2
88928772fb * Zur's Weirding - Fixed that the player hand cards were not revealed. 2015-06-21 23:50:03 +02:00
LevelX2
87f919ecac * Reworked handling of revealed and look at windows. Windows can stay open now and moved to a position and stay there. 2015-06-21 23:49:16 +02:00
LevelX2
890f776c33 Merge pull request #1040 from LoneFox78/master
New cards + some "janitorial" work
2015-06-21 17:02:43 +02:00
LoneFox
3598f07caa Another simplification for ExileFromTopOfLibraryCost 2015-06-21 13:38:54 +03:00
LoneFox
15e229ab23 Fix lands targeted by Tidal Warrior, Grixis Illusionist, and other similar effects erroneously keeping all their subtypes 2015-06-21 13:30:35 +03:00
LevelX2
3a57485501 [ORI] Fix of SpellMasteryCondition. 2015-06-21 01:39:25 +02:00
LevelX2
0ef8fbf567 [ORI] Added 5 red cards. 2015-06-21 01:31:38 +02:00
LoneFox
fd6d89ae0b Fixes from LevelX's review 2015-06-20 21:21:32 +03:00
LevelX2
1668783ba2 Added damage done watcher. 2015-06-20 19:53:41 +02:00
LevelX2
03dcc4a9f6 Added Menace ability. 2015-06-20 19:53:11 +02:00
LevelX2
757b9ea99e * XMage Release 1.4.1v3 2015-06-20 13:14:06 +02:00
LevelX2
675801e8d4 * Fixed that it was not possible to win by commander damage. 2015-06-20 12:50:05 +02:00
LevelX2
8f39a0ba1d * Added test, some mior changes. 2015-06-20 11:57:52 +02:00
LoneFox
74c354ff3c Add ExileFromTopOfLibraryCost and implement some cards that use it: Arc-Slogger, Royal Herbalist, and Seasoned Tactician 2015-06-20 11:39:55 +03:00
LevelX2
e509a35795 Fixed a bug that existing continuous effects were not applied before state based effects were checked. 2015-06-20 01:07:35 +02:00
LevelX2
db5526a1c6 * Kicker - Fixed that kicker did not work correctly if the kicker card did change zone again before kicker dependant ability resolved. 2015-06-19 23:56:45 +02:00
LevelX2
14a8632f0f Fixed that abilities of copied permanents (e.g. Phyrexian Metamorph copying Harmonic Sliver) that gain abilities to other permanents were in some situations not correctly applied to that other permanents. 2015-06-19 20:41:30 +02:00
emerald000
cfd92dc8d5 Made TriggeredAbility.checkEventType() abstract. Added missing implementations. 2015-06-19 02:29:16 -04:00
LevelX2
42cf7f1f4e Fixed possible npe, added some tests. 2015-06-18 22:42:13 +02:00
LevelX2
8caa3087bd * Some minor changes, some fixes to Dideon Battle-Forged. 2015-06-18 17:00:21 +02:00
LevelX2
e717ad038b [ORI] Added Kytheon, Hero of Akros. 2015-06-18 07:43:36 +02:00
LevelX2
9f7ce41679 Some minor changes. 2015-06-17 21:45:06 +02:00
LevelX2
76bf596b57 Merge pull request #1029 from ilcartographer/cardImplementations
Implementations for Fertilid, Pain Magnification, Aquitect's Will, and Elvish Berserker
2015-06-17 21:09:22 +02:00
LevelX2
9882948a06 * Splice on Arcane - Fixed that if a player used an alternate cost to cast the arcane spell (e.g. Nourishing Shoal) splice mana costs were also removed. 2015-06-17 16:15:44 +02:00
LevelX2
2a253baddf Merge origin/master 2015-06-17 15:02:02 +02:00
LevelX2
e934640b5d * Tectonic Edge - Fixed that the number of lands condition was checked as a sum of all opponents instead of a separate check for each opponent on its own. 2015-06-17 14:54:57 +02:00
LevelX2
ae2eb8bb50 Minor changes to Dreamborn Muse. 2015-06-17 00:57:28 +02:00
LevelX2
379b5bcc54 Merge pull request #1033 from cbrianhill/dreamborn-muse
Dreamborn muse
2015-06-16 17:11:40 +02:00
LevelX2
27929cccba Added handling to make it possible that a transformable card can enter the battlefield transformed. 2015-06-16 17:01:15 +02:00
LevelX2
d8df53dde7 Added some tests. 2015-06-16 14:41:28 +02:00
LevelX2
9ddba9802f [ORI] Added Hixus, Prison Warden. 2015-06-16 08:28:06 +02:00
Brian Hill
b29bb5ac15 Finish adding Dreamborn Muse 2015-06-15 22:14:43 -04:00
Brian Hill
bb4f145bb6 Initial work on Dreamborn Muse 2015-06-15 22:14:43 -04:00
Marshall
5cf5990251 Fertilid fix that actually lets the target player search library, not Fertilid's controller 2015-06-15 20:48:56 -04:00
LevelX2
cd0f273122 Fixed a bug that if a human player had to discard more cards than he had on hand, the game UI was blocked. 2015-06-15 17:35:48 +02:00
LevelX2
ca19cd95f2 Mage release 1.4.1v2 2015-06-15 08:25:13 +02:00
Marshall
e5ef66a3cf Added an additional parameter to BecomesBasicLandTargetEffect to allow it to keep it's other land types; Updated Aquitect's Will to actually make the card an island, not just granting it the mana ability 2015-06-14 19:24:31 -04:00
Marshall
a0333eef8f Aquitect's Will implemented 2015-06-14 18:06:04 -04:00
LevelX2
324188a86e Fixed missing copy statements of cardAttribute in game state. 2015-06-14 23:22:38 +02:00
LevelX2
35654a5ca8 Fixed that by some effects that move permanents from battlefield to other zones, the object was not moved and was still on the battlefield but also shown in the target zone. 2015-06-14 18:39:01 +02:00
LevelX2
05b654b5bd Proliferate - Added object id to the displayed permanent's name if the player has to choose which counter to proliferate. 2015-06-14 10:27:44 +02:00
LevelX2
060a468d4b Update to release 1.4.1. 2015-06-14 02:43:16 +02:00
LevelX2
6420666668 Some fixes to player handling. 2015-06-14 02:42:56 +02:00
LevelX2
f98e370331 * Fixed that attack each turn if able was always handled like attack each combat if able. 2015-06-13 20:48:56 +02:00
LevelX2
6d2f95c591 * Fixed that countering the half of a split spell did not work correctly. 2015-06-13 19:57:08 +02:00
LevelX2
e48be86f7b * Zoetic Cavern - Fixed that if cast with Morph the spell was not handled as spell with card type "Creature" (e.g. causing problem with Possibility Storm). 2015-06-13 19:21:03 +02:00
LevelX2
ce26bc8ed0 Added option to deactivate to ask th eplayer in which order cards go to gaveyard. 2015-06-13 12:27:50 +02:00
LevelX2
b3fdc167a8 * The Mimeoplasm - Fixed that if a Mimeoplasm was copied (e.g. by Clone) that not the target copied by Mimeoplasm was copied but instead the Mimeoplasm itself. 2015-06-13 09:35:37 +02:00
LevelX2
d28a956754 Merge origin/master 2015-06-13 00:33:58 +02:00
LevelX2
3dc081e1a6 * Copy effect - Fixed that continuous copy effects were not removed as the related permanent left the battlefield. 2015-06-13 00:25:31 +02:00
LevelX2
ad186480a3 * Quenchable Fire - Fixed that the delayed triggered effect could not be removed by the special action. 2015-06-13 00:18:32 +02:00
LevelX2
3032fff50e * Phantasmal Image - Fixed that under some circumstances copied Dies-Triggered abilities did not work (e.g. copying a Wurmcoil Engine and dying in combat). 2015-06-12 22:17:41 +02:00
LevelX2
aba5de3050 Merge http://lonefox.kapsi.fi/git/xmage 2015-06-12 08:19:22 +02:00
LevelX2
d713ae424f * Enduring Renewal - Fixed that the creature did not come back to hand. 2015-06-11 15:52:47 +02:00
LoneFox
3d59c57b0e Fix NullPointerException when a random discard effect is applied to a player with empty hand. 2015-06-11 14:23:55 +03:00
LevelX2
ab4ed4f973 * Fixed a bug that cards with added abilities of continuous effects were not found always. 2015-06-11 12:54:23 +02:00
LevelX2
5c6629919f * Nemesis of Reason - Fixed IndexOutOfBoundsException. 2015-06-11 00:31:17 +02:00
LevelX2
8ae9293c98 * Added user country flag. View of image in user list is still missing. 2015-06-10 17:52:18 +02:00
LevelX2
93dcf2d59f * Finished card attribute change handling for color of cards (card subtype not supported yet) related to #408 2015-06-10 14:00:37 +02:00
LevelX2
c27ef5ee97 * Started to fix color setting for cards (e.g. Painter's Serverant) #408 (not completely finished yet). 2015-06-10 01:24:38 +02:00
LevelX2
3b61a10237 Fixed some bugs and added a AI Test player class. 2015-06-08 18:31:54 +02:00
LevelX2
9da44a547d Added an option that player has to confirm if he passes priority with empty stack and has mana in his pool. Implements #707. 2015-06-07 22:37:12 +02:00
LevelX2
907ec7abb0 Added new option for mana payment handling of mana already in the mana pool. Reworked the battlefield context menu a bit. 2015-06-07 17:14:43 +02:00
emerald000
8066fe911c Added Forcefield. 2015-06-06 19:32:47 -04:00
LevelX2
f2cf08d5b2 Cleaned up ReturnToHandChosenControllesPermanentEffect. 2015-06-07 01:07:49 +02:00
LevelX2
76a7aeb957 Merge pull request #1017 from Zeplar/master
Added Dust Elemental. Modified "bounce a permanent" effect so it does…
2015-06-07 00:54:00 +02:00
LevelX2
8acf28eed1 * Added optional rollback current turn and up to 3 previous turns to the battlefield menu. All other players have to agree to the rollback to let it happen. 2015-06-07 00:53:08 +02:00
Zeplar
58b0903dc4 Added Dust Elemental. Modified "bounce a permanent" effect so it doesn't fizzle if too few targets are selected-- this bug only affected Dust Elemental and Stormfront Riders to my knowledge. 2015-06-05 17:44:57 -07:00
Justin Godesky
f8532ab587 Merge branch 'master' of https://github.com/magefree/mage 2015-06-05 12:06:20 -04:00
Justin Godesky
bea1cee395 Refactored a lot of the artifact/enchantment destruction. Using common filter types to reduce code duplication. 2015-06-05 12:05:51 -04:00
LevelX2
986995d154 Some golem token image handling. 2015-06-05 17:48:36 +02:00
Justin Godesky
3a0aafb1fc Merge branch 'cleanup' after pulling latest (fixes broken tests) 2015-06-05 09:08:15 -04:00
Justin Godesky
6faf248273 Abstracted out FilterArtifactSpell, and changed implementations that depended on their own instance of it. Golem Foundry uses already implemented, generic Golem token - instead of its own duplicate one. 2015-06-05 08:53:28 -04:00
LevelX2
43f79908b8 Fixed a problem with tooltip text generation. 2015-06-05 13:39:42 +02:00
LevelX2
81187ba1c7 Fixed a problem with removing player attachments. 2015-06-05 13:35:33 +02:00
LevelX2
01c81c1cb1 * Homing Sliver - Fixed the gain Slivercycling ability. 2015-06-05 11:44:51 +02:00
LevelX2
36eebfa317 * Fixed that player enchnatments were not correctly removed as they left the battlefield causing problems if they were cast again later in the game (fixes #1006). 2015-06-05 00:50:31 +02:00
LevelX2
ca9ee416e8 Added test for Mana Flare. 2015-06-04 14:48:06 +02:00
LevelX2
b583f616bf * Burrenton Forge-Tende - Fixed that every source could be selected.. 2015-06-04 14:12:52 +02:00
LevelX2
53396a44f2 Added some test and some minor fixes to effect ability handling. 2015-06-04 13:50:39 +02:00
LevelX2
961e292bc9 Merge pull request #1013 from jgod/master
Added Morningtide. Abstracted out "Exile All Graveyards" effect
2015-06-04 06:44:21 +02:00
Justin Godesky
b4387456c9 Exiling all graveyards abstracted out into common effect. Added Morningtide. Implementation of Rest In Peace and Relic of Progenitus abstracted out. 2015-06-04 00:15:23 -04:00
LevelX2
b58d2e88ea * Novijen Sages - Fixed that it was not possible to pay the activated ability with the counters of Novijen Sages. 2015-06-03 23:49:54 +02:00
LevelX2
5b57a5b6ee * Dash - Fixed missing tooltip text for triggered return to hand ability. 2015-06-03 22:54:11 +02:00
LevelX2
eea43662e1 Added test. 2015-06-03 20:16:58 +02:00
LevelX2
59c50436ac Minor change. 2015-06-03 17:06:46 +02:00
LevelX2
bafd27f5b3 Identifier are shown for Looked at and revealed cards view 2015-06-03 17:05:59 +02:00
LevelX2
cb666a87ca Merge pull request #1011 from Zeplar/master
Added the W/U/B/R/G Scarab auras from Ice Age.
2015-06-03 00:37:52 +02:00
LevelX2
c1fa3422fd * Mycosynth Golem - Fixed not working second ability. 2015-06-02 23:37:15 +02:00
Zeplar
cafb8c7c0c Added the W/U/B/R/G Scarab auras from Ice Age. Fixed minor typo in Can't Be Blocked By <> text. 2015-06-02 14:12:51 -07:00
LevelX2
bb28394f71 * Helm of Obedience - Fixed that card movement to graveyard was not handled correct. It was not checked, if card was really moved to graveyard (fixes #1004). 2015-06-02 22:50:57 +02:00
LevelX2
f9f674b8f7 * Fixed that removed players (e.g. by lethal damage) changed the players in range wrongly immediatly instead of at the start of the next turn. 2015-06-02 15:01:52 +02:00
LevelX2
1b690e5c8c * Fixed target change handling (e.g. with opponent filter - fixes #574). Added some tests. 2015-05-31 18:44:02 +02:00
LevelX2
a541d24a20 * Treacherous Pit-Dweller - Fixed that the enteres the battlefield ability was not implemented correctly. 2015-05-30 15:14:44 +02:00
LevelX2
bb478fa9d5 * Heroic - Fixed that heroic only triggered for one mode if a modal spell with heroic targets in differnt modes was used (e.g. Dromoka's Command). 2015-05-30 12:44:33 +02:00
LevelX2
907b029bdb Added target handling for modal spells with multiple targets in different modes. Fixed target handling bugs in test project. 2015-05-30 12:43:17 +02:00
LevelX2
f8f21bd8ce * Landfall - Fixed that it also works for Instant and Soceries copied from opponents. Corrected tooltip text formating. 2015-05-30 10:14:15 +02:00
LevelX2
fa2f7e2055 Grave Pact, Dictate of Erebos, Butcher of Malakir, Agent of The Fates, Tribute to the Wild and Yawning Fissure - Fixed that the selection for the object to sacrifice was handled targeted. 2015-05-30 02:00:21 +02:00
LevelX2
5a428f10ab * Fixed a bug that continuous effects created by copied cards (e.g. by Isochronic Scepter using Silence) were not applied correctly. 2015-05-29 18:43:21 +02:00
LevelX2
4f4ade61d5 Fixed commander cast test. 2015-05-29 17:29:14 +02:00
LevelX2
b25c1ded7b Fixed text with html that couldn't display html. 2015-05-29 00:26:51 +02:00
LevelX2
5a5722b248 * Skarrgan Firebird - Fixed that the condtion check of the activated ability was inverted. 2015-05-29 00:18:51 +02:00
LevelX2
2fa6b944e6 Improved some time out messages. 2015-05-28 16:56:23 +02:00
LevelX2
ba8e918527 * Worldheart Phoenix - Fixed that it could be cast from graveyard with it's regular casting costs. 2015-05-28 16:52:17 +02:00
LevelX2
c896ae2442 * Deep-Sea Kraken - Fixed that the triggered ability to remove time counters did not work. 2015-05-28 15:12:00 +02:00
LevelX2
8d31a38d1d Fixed world enchantment rule. 2015-05-28 11:59:19 +02:00
LevelX2
16ea49141f Fixed that static abilities of phased out objects are not applied. 2015-05-28 00:14:08 +02:00
LevelX2
a31794bb7e Added object identifier to the exile windows header line . 2015-05-28 00:06:33 +02:00
LevelX2
b48ad69fdf Added Isperia coded by lunaskyrise corrected by levelx2 (closes #1003). 2015-05-27 18:26:56 +02:00
LevelX2
ccae89e181 Implemented World Rule state based action. 2015-05-27 00:53:29 +02:00
LevelX2
234bba64a3 Cleaned up some replacment effects. 2015-05-26 17:43:39 +02:00