Commit graph

3672 commits

Author SHA1 Message Date
fireshoes
803676268c [DTK] Added Ojutai Exemplars; updated mtg-cards-data.txt for 3/9 spoilers. Added TargetCreatureOrPlaneswalkerAmount 2015-03-10 01:35:57 -05:00
LevelX2
ec5923903e Merge origin/master 2015-03-09 23:51:56 +01:00
LevelX2
853df00dcd * Convoke - Fixed a bug that for convoke was wrongly checked that a creature has to be in the graveyard of the controller. 2015-03-09 23:50:33 +01:00
Jeff
c6a4840e28 - Added a DTK card. Dragonlord's Prerogative. Tweaked RevealTargetFromHandCost to allow for optional costs. 2015-03-09 17:48:49 -05:00
LevelX2
ecc3c8b1e4 * Daretti, Scrap Savant - Fixed a bug that the game is locked if multiple delayed triggered abilities from the emlem trigger. 2015-03-09 01:03:21 +01:00
LevelX2
6b8493d9f8 * Changed all occurances of unblockable to can't be blocked. 2015-03-08 21:54:36 +01:00
Jeff
3c0a3c41b0 - Added CounterCardPredicate. Used it for Rift Elemental and Fury Charm. 2015-03-08 12:49:04 -05:00
Jeff
892e1fba92 - Fixed CounterPredicate() class. 2015-03-08 12:30:15 -05:00
LevelX2
0533430abf * Suspend - Removed the use prompt for suspend spells that can't be cast without suspend (e.g. Ancestral Vision) because mana payment can't be undone at this point anyway. 2015-03-08 02:13:21 +01:00
LevelX2
43b0694ee3 * Jhoira of the Ghitu and Epochrasite - Fixed the not working suspend handling. 2015-03-08 01:40:16 +01:00
LevelX2
b4894f5564 * Fixed a bug that could cause endless loop of applying replacement/prevention effects (e.g. prevent effect of Hedron-Field Purists) locking the UI. 2015-03-07 16:42:11 +01:00
LevelX2
a1208f1a73 * Cascade - Fixed a bug that caused the controlling player to lose the game if all cards of the library were exiled with cascade although the cards were returned to library. 2015-03-07 14:26:26 +01:00
LevelX2
532ff611c4 * Reworked dealtDamageByThisTurn handling of permanents to take zone change of referenced objects into account. 2015-03-07 01:15:27 +01:00
LevelX2
2e8eeff49f * Fixed that tokens removed with Condemn did not get life to target creature controller (related to #742). 2015-03-07 01:12:18 +01:00
Jeff
57ba2861bc - Added The Wretched. 2015-03-06 17:48:11 -06:00
LevelX2
89d152e52a [DTK] Added Formidable condition and ability word. 2015-03-06 15:04:31 +01:00
LevelX2
004d6755e3 * Added magamorph handling to morph ability. 2015-03-06 13:55:39 +01:00
LevelX2
c13f4d6a53 * Fixed some spelling errors. 2015-03-05 19:01:01 +01:00
LevelX2
78f98e49c1 * Fixed some spelling errors. 2015-03-05 19:00:26 +01:00
LevelX2
794c7c7d49 * Storm - Fixed a bug that the number of copies for storm were calculated wrong if a card was cast multiple times in one turn (e.g. by Yawgmoth's Will). 2015-03-05 18:01:56 +01:00
LevelX2
34021ca44d * Bestow - Fixed handling of Bestow (fixes #772). 2015-03-05 15:42:28 +01:00
LevelX2
b94cf841ed Merge origin/master 2015-03-05 07:53:03 +01:00
LevelX2
15d95f0fee * Tiny Leaders - Preserved deck name for Leader name. 2015-03-05 07:49:42 +01:00
Jeff
ef79d70620 - Added Jaws of Stone, Knollspine Dragon, Initimidator Initiate. There are 2 more cards in Shadowmoor in anyone wants to finish knocking out the set. 2015-03-04 17:40:08 -06:00
LevelX2
4d0dbb2327 * Tiny Leaders - Added logic to load the commander from deck name. 2015-03-04 23:36:19 +01:00
Jeff
fed8c65214 - Fixed missing Null check. Fixes issue with Bant Charm. 2015-03-03 15:24:07 -06:00
LevelX2
d867c4dfe6 [DTK] Some fixes to Exploit. 2015-03-03 14:01:36 +01:00
LevelX2
29ba8fa582 [DTK] Added Exploid abilities. 2015-03-03 13:51:12 +01:00
LevelX2
154254b772 [DTK] Added Exploid abilities. 2015-03-03 13:51:02 +01:00
LevelX2
17e5018d79 Changed some left misspelled Ravnica literals/texts. 2015-03-03 13:35:07 +01:00
LevelX2
fb40dc553e CardState - Replaced putIfAsent by put to be 1.7 compatible. 2015-03-03 00:47:32 +01:00
LevelX2
6b0f6be574 Fixed spelling bug of import mage.abilities.effects.common.continuous package. 2015-03-03 00:37:39 +01:00
LevelX2
867bb38f91 * Geist of Saint Traft - Fixed that the Token was not exiled at end of combat. 2015-03-03 00:19:46 +01:00
LevelX2
a125eaa227 Adding missing "containsClass" method to Abilities interface. 2015-03-02 22:32:47 +01:00
LevelX2
570ed36cd8 Some minor changes. 2015-03-02 08:35:00 +01:00
Jeff
20c75735bb - Mana abilities/triggerers do not use the stack in most cases.
http://magiccards.info/rule/605-mana-abilities.html
Started process to rectify this issue.
2015-03-01 21:24:13 -06:00
betasteward
5c746e8ec2 Merge branch 'master' of https://github.com/magefree/mage
Conflicts:
	Mage.Sets/src/mage/sets/avacynrestored/CavernOfSouls.java
	Mage.Sets/src/mage/sets/shadowmoor/ManaReflection.java
2015-03-01 22:02:33 -05:00
betasteward
632573fc3e moved Watchers to Ability and moved Counters to CardState 2015-03-01 21:17:23 -05:00
LevelX2
f7924a6d92 Merge pull request #764 from JRHerlehy/master
Implementation of Tiny Leaders Format
2015-03-01 16:06:51 +01:00
LevelX2
8849538723 * Fixed that library selections could not be deslected if multiple cards have to be selected. 2015-03-01 16:06:13 +01:00
JRHerlehy
a3b55d7625 Author Credit
Fixed author credit to match my GitHub Name
2015-03-01 01:47:18 -08:00
JRHerlehy
07db858f34 Implement Tiny Leaders for XMage
Initial implementation of Tiny Leaders for XMage
2015-02-28 16:16:10 -08:00
LevelX2
01ef3f9354 * Fixed a bug that replacemet effects did not work if the source object of the replacemet effect also changed zone (fixes #759). 2015-02-28 12:55:49 +01:00
LevelX2
1b45c997aa Some minor changes. 2015-02-27 18:08:31 +01:00
LevelX2
50261650b6 * Mana Reflection - Fixed that multiple Mana Reflections did not stack, fixed a bug of mana calculation (fixes #758). 2015-02-27 15:05:53 +01:00
LevelX2
80d3e6bd9a Fixed a bug of AI target selection that caused endless loops during build of test project. 2015-02-27 15:04:42 +01:00
LevelX2
ae108ba338 Minor change to POM. 2015-02-27 01:08:24 +01:00
LevelX2
a7db298711 Some minor changes. 2015-02-27 01:06:59 +01:00
LevelX2
debe2316b2 * Echo - Fixed that the sacrifice effect also forced the player to sacrifice a new instance of the permanent with echo. 2015-02-26 20:38:48 +01:00
LevelX2
705debfe8a Fixed some cards where it was possible to sacrifice not controlled permanents (e.g. Fireblast). 2015-02-26 16:48:21 +01:00
LevelX2
4a5140d0ab Fixed a bug of cost paying handling not showing only the left over unpaid part of mana cost (fixes #185). Added the name of the object the cost is paid for to the feedback panel. 2015-02-26 13:52:02 +01:00
LevelX2
329165555b * Undying - Fixed that the creature with undying returnd under the control of the previous controller instead of the card owner. 2015-02-25 22:21:17 +01:00
LevelX2
7ac423f1d6 * Praetor's Grasp - Fixed that the cast and reveal effects did not work. 2015-02-25 01:19:27 +01:00
LevelX2
091fa9a528 * Bestow - Fixed that the converted mana costs were calculated from the bestow costs instead of the base cost of the spell. 2015-02-24 23:36:59 +01:00
betasteward
620a3b9a52 Moved some setters from Card to Permanent 2015-02-24 15:37:33 -05:00
LevelX2
4adc55eb80 * Miracle - Fixed that miracle was also checked for inital card draw. 2015-02-22 11:16:39 +01:00
LevelX2
7fa7cf910e Fixed that commander mana sources could not produce mana where the symbols were only included in the rule text (Command Tower, Commanders Sphere, Opal Palace). 2015-02-21 14:50:10 +01:00
LevelX2
ed41e33deb * Created ecomesColorOrColorsTargetEffect and updated 3 cards to use it. 2015-02-21 12:31:14 +01:00
LevelX2
79e9312893 * Fixed the annoying SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder" on client start. Updated a lot of POM references. Fixed warnings of Test Project. Some changes to logging. 2015-02-20 13:58:13 +01:00
LevelX2
306a0874dd * Reworked Delve and Convoke to be more rule conform. 2015-02-20 02:16:58 +01:00
LevelX2
0c73076895 * Added AlternateManaPaymentAbility interface and handling. 2015-02-20 02:15:22 +01:00
LevelX2
019f6722a7 * Some minor changes. 2015-02-20 02:14:32 +01:00
LevelX2
422b92e4ad Added some comments. 2015-02-19 08:53:12 +01:00
LevelX2
687fe91f49 * Fixed possible null pointer exception. 2015-02-18 09:11:33 +01:00
LevelX2
96fe50cebe * Sharding Sphinx - Fixed that ability also triggered for damage not done to players, added missing color to created token (fixes #731). 2015-02-17 14:17:18 +01:00
LevelX2
665d51cd8c * Defend the Hearth - Fixed that also non combat damage to the player was prevented. 2015-02-17 01:40:26 +01:00
LevelX2
2969ea2fac * Runic Repetition - Fixed that exiled cards not in the default exile window could not be selected as target (fixes #720). 2015-02-15 23:53:35 +01:00
LevelX2
2b8be15281 Fixed a bug of attack restriction effect that did not allow to attack even if the needed condition was fulfilled (Dandan, Godhunter Octopus, Serpent of the Endless Sea, Sea Serpent, Pirate Ship, Whimwader, Sea Monster, Dreamwinder, Sealock Monster). 2015-02-14 17:39:22 +01:00
LevelX2
ad012ebd02 Fixed more CPU load caused by calculation of available mana. 2015-02-14 00:22:17 +01:00
LevelX2
8620fe5a7d * Fixed another problem with available mana generation (e.g. with Nykthos, Shrine to Nyx). 2015-02-13 15:03:29 +01:00
LevelX2
0722276ca4 * Fixed a bug in calculation of available mana that can be a source of heavy server load. 2015-02-13 08:39:44 +01:00
LevelX2
7d7afb60d6 * Card repository - Raised cards content version number. 2015-02-12 23:15:00 +01:00
LevelX2
c987fd0e9c Merge origin/master 2015-02-12 22:57:39 +01:00
LevelX2
5d0ca8291e * minor changes. 2015-02-12 22:56:20 +01:00
LevelX2
b626356774 * Deactivated part of available mana generation to prevent looping. 2015-02-12 22:54:31 +01:00
emerald000
890e98c4cc Added Azorius Guildmage. 2015-02-12 12:58:39 -05:00
emerald000
59a5bbf765 Added Siren's Call. 2015-02-12 12:18:07 -05:00
LevelX2
ba1fb775b2 * Fixed that manifested or morphed creatures did wrongly trigger "enters the battlefield" abilities with their card attributes (e.g red card manifested triggered Foundry Street Denizens boost ability). 2015-02-12 15:54:41 +01:00
LevelX2
3142866ede * Fixed a possible null pointer exception concerning Aura enchantments without targets log message. 2015-02-12 13:52:34 +01:00
LevelX2
728281524a * Fixed a bug that mana sources that could produce any mana (e.g. Forbidden Orchard) did trigger the TAPPED_FO_MANA event twice. 2015-02-12 12:08:13 +01:00
LevelX2
7b95da55a7 * Some more changes concerning sourceObject handling in ability. Added early event type check for triggered abilities. 2015-02-12 01:56:45 +01:00
LevelX2
b73f34a52e * Some changes to zone object movement and source object handling. Origin source object of ability is now hold in ability to be able to check e.g. zone change counter. 2015-02-11 17:51:41 +01:00
LevelX2
4fe5560222 * Fixed some problems with filtering nonbasic lands (e.g. Fulminator Mage). 2015-02-11 12:34:56 +01:00
LevelX2
874b170a74 Added ManaOptions test and some changes in handling. 2015-02-11 01:10:34 +01:00
emerald000
9a20bdeff3 Added Contamination.
Hopefully not breaking anything.
2015-02-10 07:11:39 -05:00
LevelX2
7ed967ac7f Raised cards added counter. 2015-02-10 01:25:19 +01:00
LevelX2
4f6fb64811 * Small fix to ManaOptions. 2015-02-10 01:24:03 +01:00
LevelX2
b4636b2ce1 * Rework of booster generation to reduce DB load while starting a tournament. 2015-02-10 00:51:36 +01:00
LevelX2
e0b17eacc7 * Reworked calculation of available mana that can be a source of heavy server load. 2015-02-07 18:16:35 +01:00
LevelX2
8a6a615250 * Some minor changes. 2015-02-07 18:15:43 +01:00
LevelX2
974951e18d * Fixed that for "Shoal" spells a wrong CMC was calculated while on the stack, if alternate casting cost was used (fixes #696). 2015-02-06 16:13:51 +01:00
emerald000
103f2f4883 Added Phantom Flock and Realm Seekers. 2015-02-05 18:43:34 -05:00
LevelX2
adbd1bca94 * Imporoved release of draft object during draft tournament. 2015-02-06 00:23:01 +01:00
LevelX2
3dacad02a7 * Text importer - If available the most recent version of a card from expansion or core set type is used. 2015-02-04 00:35:36 +01:00
LevelX2
41c6c47092 * Added promotional, Duel Deck and Non-standard-legal sets to SetType. Changed sets and set selection accordingly. 2015-02-04 00:34:18 +01:00
fireshoes
7f5bb1ba01 Merge origin/master 2015-02-03 00:49:28 -06:00
fireshoes
e97dd1299f Added WPN Gateway set and reprints, Sol Grail, Spike Rogue, Quirion Elves, Krosan Wayfarer, Crookclaw Transmuter, and Centaur Glade 2015-02-03 00:46:33 -06:00
LevelX2
4efc2a7582 * Bestow - Fixed that a permanent card cast with bestow has the bestow ability as spell ability. 2015-02-03 01:40:08 +01:00
LevelX2
6e45f70335 * Manifest - Fixed that turn face up costs of creatures with bestow were the bestow costs instead of the normal casting costs without bestow (fixes #677). 2015-02-03 00:51:22 +01:00
LevelX2
dd54269216 * Fixed handling of Split cards (fixes #670). 2015-02-03 00:05:30 +01:00
LevelX2
9877e49936 Changed TurnFaceUpAbility to a SpecialAbility. 2015-02-02 22:08:58 +01:00
LevelX2
a245c0ed6f Fixed a bug of Undying. 2015-02-02 22:08:33 +01:00
LevelX2
1ac4196c9e Some changes to split card handling (not finished). 2015-02-02 17:54:06 +01:00
LevelX2
2544c12d48 * Some minor changes. 2015-02-01 16:47:21 +01:00
LevelX2
8192744697 * Fixed / reworked prevent damage by source effect (related to Burrenton Forge-Tender, Pay no Heed, Prahv, Spires of Order). 2015-02-01 16:05:35 +01:00
LevelX2
da26df4c7b Added missing method of spell- 2015-02-01 16:03:03 +01:00
LevelX2
5d0a94c1b9 * Annihilator - Fixed that the triggered ability did not resolve correctly, if the source was removed from battlefield before resolving. 2015-01-31 19:49:37 +01:00
LevelX2
faa2b0a0bf * Rally the Ancestors - Fixed that creatures cards were moved to exile also if already in the graveyard. Problem was that the zoneChangeCounter was not raised as a permanent card left the battlefield. So some more fixes were neccessary for implementations that are based on this fixed zoneChangeCounter of permanents leaving the battlefield. I guess there will be some more bugs caused by this change but I guess this is the correct way to go. 2015-01-31 19:17:22 +01:00
LevelX2
dbbbbc0279 * Fixed that continuous effects of face down creatures were applied. 2015-01-31 14:46:54 +01:00
LevelX2
8ba2136b0e * Fixed that Auras that were manifested had wrongly to select aura target. 2015-01-31 14:07:47 +01:00
LevelX2
8d6c25b3e8 * Fixed handling of morphed cards in exile zone. 2015-01-31 12:45:54 +01:00
LevelX2
19d71aaf84 * AI PLayer - Fixed a problem with targets of Venser, Shaper Savant. 2015-01-31 10:00:16 +01:00
LevelX2
d69edc00c7 Fixed possible null pointer exception. 2015-01-30 21:10:54 +01:00
LevelX2
e74c10289e * Dash - Fixed that the return effect did also return the creature it it was already recast before end of turn. 2015-01-30 20:03:22 +01:00
LevelX2
5b79f99a85 Added log text to use of conditional mana of Cavern of Soul. 2015-01-30 16:58:21 +01:00
emerald000
52383e7ba4 Added Bramblewood Paragon, Cenn's Tactician, Custodi Soulbinders and Cytoplast Root-Kin.
Fixed that Graft should not trigger when the source creature enters the battlefield.
2015-01-29 11:46:13 -05:00
Duncan Townsend
7f22f527fe
Changed Object to MageItem in FilterPermanentOrPlayer and FilterPermanentOrPlayerWithCounter since that is the more specific class that both Permanent and Player inherit from. 2015-01-29 01:16:28 -05:00
Duncan Townsend
bdafb4a003
Added implementation of Radiate 2015-01-29 00:44:46 -05:00
Duncan Townsend
4229c0615d
Generalized Ink-Treader Nephilim's effect and split it into its own file, mage.abilities.effects.common.CopySpellForEachItCouldTargetEffect 2015-01-29 00:36:46 -05:00
Duncan Townsend
6fbe6be3fb
Added .equals(other) and .hashCode() methods to TargetAddress 2015-01-29 00:34:32 -05:00
Duncan Townsend
601e442208
In TargetImpl, use accessor methods instead of minNumberOfTargets and maxNumberOfTargets so subclasses can easily reuse the functionality in TargetImpl. 2015-01-29 00:32:23 -05:00
Duncan Townsend
41d41444d1
Changed argument types of FilterCreatureOrPlayer to MageItem instead of Object.
Both Permanent and Player inherit from MageItem, so it's more specific.
2015-01-29 00:28:05 -05:00
Duncan Townsend
6dfa2d1d94
Added FilterInPlay<Permanent> interface to FilterPermanent because it was de-facto implementing it. 2015-01-29 00:26:53 -05:00
Duncan Townsend
036d4426dd
Fixed #694. Copied spells will cease to exist when leaving the stack for the exile or graveyard zones.
This also fixes the problem where countering a spell copy would also counter the original.
2015-01-29 00:23:01 -05:00
emerald000
41b2d1a74e Added Heartwood Storyteller, Jotun Grunt, Magnigoth Treefolk and Vedalken Orrery. 2015-01-27 09:43:47 -05:00
LevelX2
5701c36446 * Fixed possible null pointer exception. 2015-01-26 19:26:49 +01:00
LevelX2
6fe58db97d Added Spelltithe Enforcer, Gauntlet of Might and Shivan Wumpus. 2015-01-26 18:20:02 +01:00
LevelX2
89a21923a8 Fixed bug of ExpansionRepository (introduced yesterday). 2015-01-26 16:07:51 +01:00
LevelX2
0f39b5ad63 Added missing package definition to CardScanner again. 2015-01-26 15:04:18 +01:00
Duncan Townsend
7e5f873251
Fixed capitalization mistake "setMaxNumberOftargets" -> "setMaxNumberOfTargets" 2015-01-25 17:06:00 -05:00
LevelX2
de92c50944 * Commander format - Fixed that the commanders color identity was not correctly set for the mana replacement effect. Mana symbols from the rule text were not taken into account. 2015-01-25 22:46:55 +01:00
Duncan Townsend
4127d2b358
Renamed myself from duncancmt to duncant since that's my github username. 2015-01-25 15:24:03 -05:00
LevelX2
6ef8b4f976 * Reworked DB comparison between client and server. 2015-01-25 19:21:50 +01:00
LevelX2
bc1757a90f * Some fixes to Ferocious cards (missing LockedInCondition). Some changes to tooltip text generation. 2015-01-25 11:28:56 +01:00
LevelX2
5460eb7b3c Merge origin/master 2015-01-25 02:43:47 +01:00
LevelX2
923db227dd * Fixed the TargetNonNasicLandPermanent class checking for anme instead of subtype (concerned Ore Gorger, Tectonic Edge, Ravenous Baboons, Goblin Ruinblaster, Detritivore, Fissure Vent, Dust Bowl, Incendiary Command, Fulminator Mage). 2015-01-25 02:43:09 +01:00
Duncan Townsend
aa8554e82b
Added mage.filter.predicate.permanent.CanBeEnchantedByPredicate 2015-01-24 20:26:50 -05:00
Duncan Townsend
080790cf25
Comment in mage.target.Target was backwards. Fixed. 2015-01-24 20:26:48 -05:00
Duncan Townsend
feb35dda81
Renamed mage.util.SpellTargetAddress to mage.util.TargetAddress and made it handle non-Spell Cards. 2015-01-24 20:26:46 -05:00
LevelX2
df1382010d * Jeskai Infiltrator - Fixed that Jeskai Infiltrator stayed wrongly on it's battlefield position after returning from exile. 2015-01-25 02:01:03 +01:00
LevelX2
001e17a73e * Fixed handling of enlarged view for manifested and morphed cards. 2015-01-24 19:43:53 +01:00
LevelX2
ba8290a0c0 * Cunning Strike - Fixed that double damage (2 x 2 to each target) was dealt. 2015-01-24 09:10:00 +01:00
LevelX2
54e0068053 * Devotion - Fixed that face down permanents counted for devotion with their regular casting costs (workaround). 2015-01-23 15:12:29 +01:00
LevelX2
aaed6935bc * Fixed that ETB abilities of manifested cards did wrongly trigger (e.g. the Constellation ability of Doomwake Giant manifested by Reality Shift). 2015-01-23 13:51:38 +01:00
LevelX2
bc3dc9d548 * Fixed that ETB abilities of manifested cards did wrongly trigger (e.g. the Constellation ability of Doomwake Giant manifested by Reality Shift). 2015-01-23 13:48:03 +01:00
LevelX2
ea5a769683 * Arcbond - Fixed that as damage source was wrongly set Arcbond instead of the targeted creature. 2015-01-23 01:41:30 +01:00
LevelX2
24c757647e * Mystical Teachings - Fixed wrong tooltip text (fixes #686). 2015-01-23 01:22:11 +01:00
LevelX2
105e12db10 * Fixed AddManaOfAnyColorEffect to send TAPPED_FOR_MANA event correctly (fixed that City of Brass did not work with Heartbeat of Spring). 2015-01-23 00:25:39 +01:00
LevelX2
ac0d923afd Added one more test for manifest. 2015-01-23 00:05:37 +01:00
LevelX2
89c8425d94 * Fixed that replacement or rule modifying effects of cards played with morph were wrongly applied on the stack (e.g. can't be countered of Akroma, Angel of Fury). 2015-01-22 23:43:25 +01:00