Commit graph

3602 commits

Author SHA1 Message Date
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
LevelX2
dbffbad3cb Added early eventType check for ContinuousRuleModifying effects. 2015-01-22 22:41:03 +01:00
LevelX2
8ea8e77b88 Renamed CantCounter to CantBeCountered. 2015-01-22 21:29:38 +01:00
LevelX2
f77c930299 * Some changes to cards committed by duncant. 2015-01-22 17:31:30 +01:00
Duncan Townsend
0e10ea0c84
Moved FromSetPredicate to its own file, mage.filter.predicate.mageobject.FromSetPredicate 2015-01-22 01:53:38 -05:00
Duncan Townsend
d341e39e05
Added mage.util.SpellTargetAddress a utility for addressing and iterating over the targets of a spell 2015-01-22 01:53:32 -05:00
LevelX2
c8eb9f00a9 * Fixed that lose restricting effects could not be replaced (e.g. by Abysal Persecutor's ability) if the player has conceded or left the match. Fixed that "can't win" or "can't lose" messages where repeated send to the players if such an effect activly prevents a player from losing or winning. 2015-01-21 23:41:11 +01:00
LevelX2
1340ebff49 * Untap restricting effects - Fixed that the selection of the permanent to untap was wrongly handled targeted. So something with protection from red could not be untapped while e.g. Smoke was into play. 2015-01-21 22:48:32 +01:00
LevelX2
b12b044e36 * Added some basic logging for deck format validation 2015-01-21 14:40:05 +01:00
LevelX2
cbfc32db3c Removed some wrong import of Poison the Well and some minor changes. 2015-01-20 14:00:56 +01:00
LevelX2
8990163a7e * Archiv Trap - Fixed that Archiv Traps's alternate casting cost did not care about Trinisphere like effects. 2015-01-20 13:58:51 +01:00
LevelX2
4f8ec31ef5 * Brutal Hordechief - Fixed that damage was dealt instead of lief loss and creatures were forced to attack instead of block. 2015-01-19 08:01:02 +01:00
LevelX2
495b93a679 Added Dolmen Gate. 2015-01-19 07:59:41 +01:00
LevelX2
75d7ae2a6e * Fixed a recently added bug of AttacksIfAbleAllEffect (e.g. causing Goblin Rabblemaster to not working correctly). 2015-01-18 09:22:24 +01:00
LevelX2
79ceae999a [FRF] Fixed ETB replacement and triggered abilities for manifested cards. 2015-01-17 15:30:00 +01:00
LevelX2
de10554ec4 [FRF] Added Brutal Hordechief and Crucible of the Spirit Dragon. FRF Complete!!! 2015-01-17 13:08:39 +01:00
LevelX2
c6d62d7d42 [FRF] Added 6 blue and 2 multicolor cards. 2015-01-17 01:18:15 +01:00
LevelX2
b4b2131bd6 [FRF] Added Silumgar, the Drifting Death and Ojutai, Soul of Winter. 2015-01-16 22:42:25 +01:00
LevelX2
0cc153980f [FRF] Added 13 green cards. 2015-01-16 20:31:46 +01:00
fireshoes
97f668d9b5 Fixed Urza's Power Plant subtype and UrzaTerrainValue subtype check to Urza's Power-Plant 2015-01-15 18:20:36 -06:00
LevelX2
60af8df2dc Some minor changes. 2015-01-16 00:57:28 +01:00
fireshoes
85b46b7474 Changed UrzaTerrainValue to check Subtype instead of Name 2015-01-15 17:06:04 -06:00
LevelX2
19345915f0 [FRF] Added 7 red cards. 2015-01-14 23:13:28 +01:00
emerald000
297f652986 [FRF] Added 5 blue cards. 2015-01-14 05:58:18 -05:00
LevelX2
6bf07e7763 [FRF] Added Soulflayer. 2015-01-13 23:10:06 +01:00
LevelX2
a0d2c0c22f * Sulforic Vortex and Flames of the Blood Hand - Fixed that the life gain preventing effects were not implemented as replacement effects. 2015-01-13 14:42:20 +01:00
LevelX2
db192afa38 Made put land from hand onto battelfield effect optional. 2015-01-09 18:41:56 +01:00
LevelX2
59f232fece * Player searches library - The search info is now only put out to game log if the search is not replaced. 2015-01-08 14:35:24 +01:00
LevelX2
a588b601b6 * Arashin War Beast - Fixed triggerd ability. 2015-01-08 10:47:09 +01:00
Jeff
bcb1331c0f - Fixes for a few cards. Fix for Conspire ability. 2015-01-07 17:47:08 -06:00
Jeff
b6a6599236 - Added the Conspire Ability. Added Gleeful Sabotage as an example. It works but may need some adjustment by LevelX. 2015-01-07 11:19:00 -06:00
LevelX2
5973a764aa * Wall of Root - Fixed that the mana ability could wrongly not used again after canceling a previous pay mana action. 2015-01-07 16:43:26 +01:00
LevelX2
96aafcd475 Fixed that adjustTarget did not work correctly for Triggered abilities. Fixed that adjustTargets also works now for cards copied from graveyard (e.g.by Feldon of the Third Path). 2015-01-07 01:15:03 +01:00
LevelX2
fe3486c208 [FRF] Added Hungering Yeti. 2015-01-06 08:28:51 +01:00
emerald000
7dc96adac2 Fixed adding mana "of any type that land produced". 2015-01-05 21:58:49 -05:00
LevelX2
fa709bfd5e * Extirpate - Fixed that the hand and library of target card owner could not be serached. 2015-01-05 14:28:57 +01:00
LevelX2
6d81f1a0d1 Fixed a bug of abilityWord, improved set target of DealsDamageToAPlayerAllTriggeredAbility. 2015-01-05 13:10:44 +01:00
LevelX2
b317e77c5e [FRF] Added 3 red cards. 2015-01-04 01:29:10 +01:00
LevelX2
e60234615d Some minor changes. 2015-01-04 01:28:44 +01:00
LevelX2
a46eb1a366 Support of X value for bolster. 2015-01-03 23:47:12 +01:00
LevelX2
83ba73ab24 Allow spells to have lifelink. 2015-01-03 23:46:45 +01:00
LevelX2
799d7b1a23 Some changes to framework classes. 2015-01-03 15:48:42 +01:00
LevelX2
97d8715488 [FRF] Added Temur War-Shaman, Yasova Dragonclaw, Whisperwood Elemental and Dromka, the Eternal. 2015-01-03 15:25:21 +01:00
LevelX2
4a35c8c567 Some changes to framework classes (e.g. to handle gained DiesTriggeredAbilities correctly). 2015-01-03 15:15:12 +01:00
Alchus
34b96cfb78 No longer turns double-faced cards face-down, as per MCR 711.:
A double-faced permanent always has the status "face up" (see rule 110.6). Double-faced permanents can‘t be turned face down. If a spell or ability tries to turn a double-faced permanent face down, nothing happens.
2015-01-03 01:24:38 -06:00
LevelX2
f3d8a26574 Deck Editor load deck files: Fixed that also set codes with length of 2 or 4 chars work. 2015-01-02 19:35:15 +01:00
LevelX2
f6dbf0214b Added ChooseModeEffect and ModeChoiceSourceCondition. 2015-01-02 14:20:12 +01:00
LevelX2
95c0d1df6d [FRF] Added Dash ability. 2014-12-31 15:57:48 +01:00
LevelX2
f2a9a75e8f * Client cards db will be compressed nos as you close XMage client. 2014-12-31 15:57:18 +01:00
LevelX2
41b6a41fda * Fixed a bug of PlayTheTopCardEffect that alloed all players to play the card. (Concerns Oracle of Mul-Daya, Garruk's Horde, Future Sight, Courser of Kruphix, Melek Izzet Paragon, Magus of the Future). 2014-12-31 14:26:57 +01:00
LevelX2
d0c0a7391d * Undo attack - Fixed a bug that prevented to work undo attack correctly. 2014-12-31 13:49:37 +01:00
LevelX2
4d6e818490 * Epochrasite - Fixed that it did not get the suspend ability after beeing exiled. 2014-12-31 11:46:13 +01:00
LevelX2
152fd3da88 * Commander - Fixed that the starting player in commander two player duel did not skip the draw step. 2014-12-31 09:50:31 +01:00
dokkaebi
349dc4f995 Added Poisonous keyword ability and Virulent Sliver 2014-12-30 18:08:43 -08:00
LevelX2
9a61a66aab [FRF] Added Manifast Effect. 2014-12-30 20:37:22 +01:00
fireshoes
83d0c24265 Added Honor's Reward, corrected Bolster to key on toughness rather than power 2014-12-29 20:20:59 -06:00
LevelX2
3940cd4b95 Some minor rework. 2014-12-29 16:32:50 +01:00
LevelX2
b0c2580512 [FTF] Added bolster ability. 2014-12-29 14:57:36 +01:00
LevelX2
73c9b8c911 * Force Away - Fixed that the draw / discard effect was not optional (fixes #651). 2014-12-29 13:39:26 +01:00
LevelX2
f00001aca2 * Fixed a bug that abilities gained from enchantments (e.g. regen from Molting Snakeskin) to enchanted permanent did not work. 2014-12-28 21:49:53 +01:00
LevelX2
fba13b26ac * Delve - Fixed that the selection of the cards in graveyard was wrongly handled targeted. 2014-12-27 17:16:15 +01:00
LevelX2
8d8a2074f0 * Lion's Eye Diamond - Fixed that it now only can be cast at the time an instant spell could be cast. 2014-12-27 03:51:10 +01:00
LevelX2
c958a1af25 * Persist - Fixed that the permanent returns now correctly under owner control after dying. 2014-12-27 02:19:33 +01:00
LevelX2
18e4bc7f18 * Fixed a bug of Exchange control were activated abilities got the wrong controller. 2014-12-27 02:18:29 +01:00
LevelX2
7d30d288be * Chnages to text of priority prompt. 2014-12-26 23:00:02 +01:00
LevelX2
21a13bec61 * Declare blockers - Fixed that stop to block for defender beyond the first in multiplayer games were skipped. 2014-12-26 22:58:56 +01:00
LevelX2
a80fd51818 * Commander - Fixed not working commander replacement effect. 2014-12-26 22:57:43 +01:00
LevelX2
34298e78f5 * Fixed a (probably recently unintentionally added) problem with activated abilities of tokens. 2014-12-26 21:08:05 +01:00
LevelX2
87a8d6d1ec * Commander - Commanders are no already in the command zone as you are asked to mulligan. 2014-12-26 21:04:58 +01:00
LevelX2
9039eef0f9 * Added early event type check for replacement effects to speed up game execution (not all effects already implement the new check). 2014-12-26 17:28:13 +01:00
LevelX2
40eef06944 * Grindstone - Infinite loop (with e.g. two Progenitus) is handled as a draw. 2014-12-26 17:22:32 +01:00