Commit graph

3998 commits

Author SHA1 Message Date
LevelX2
85d7f099bd * River Kelpie - Fixed that the first ability did not always trigger as intended. 2015-05-01 17:37:57 +02:00
betasteward
e131caa453 Use ThreadLocal StringBuilder for frequently used StringBuilders - saves having to construct new StringBuilder objects 2015-05-01 08:10:22 -04:00
LevelX2
d7c23bbfc0 * Fixed a bug that countered spells of creatures with the ability going back to library if going to graveyard (e.g. Legacy Waepon) stayed in hand or caused a java bug instead of going to library. 2015-05-01 14:04:52 +02:00
LevelX2
eb6e7f9b46 * Fixed a bug of draw card replace effect (e.g. multiple Thought Reflection enchantments on the battlefield let you draw less cards than intended). 2015-05-01 12:15:13 +02:00
Nathaniel Brandes
b25c4aac77 Added Volrath's Shapeshifter.
The Graveyard was modified to become its own class, as the top card of
your graveyard matters for this card, and graveyard order matters for
some other old card. Note that due how Volrath's Shapeshifter's ability
works, it is applied in layer 3, after control effects. This is so it
can look at it's current controllers graveyard, instead of it's owner,
as it would if the copy effect was at layer 1.
2015-04-30 19:10:50 -07:00
LevelX2
9b3eff603c * Laboratory Maniac - Fixed check for win condition (you can now win together with Platinum Angel). 2015-05-01 01:50:25 +02:00
LevelX2
442b12503a Merge origin/master 2015-04-30 17:16:41 +02:00
LevelX2
f9c48cc4d5 * Some updates to cards that check the controller of the source of an event. Now prevention and replacement effect controller of non permanents are determine. But it can be wrong under some control changing circumstances. Only solution would be to have always the causing ability instead of only the sourceId (fixes #804). 2015-04-30 16:15:39 +02:00
Nathaniel Brandes
da6fec0e65 Correct effects for "cares about Dragons" cards.
A Dragon card does not necessarily have to be a creature. In your hand,
it can be a tribal instant (like Nameless Inversion). In the
battlefield, it can be any permanent of subtype dragon, not just a
creature.
2015-04-30 02:31:44 -07:00
LevelX2
c8b79f5568 Merge origin/master 2015-04-30 10:25:46 +02:00
LevelX2
4d21cde3bb * Loam Dweller - Fixed that the land was not put onto battlefield tapped. 2015-04-30 10:24:55 +02:00
LevelX2
0cb6c7ee26 * Fixed a bug that number of targets for spells with multiple modal selection (e. g. Cryptic Command) was not calulated correctly. 2015-04-29 23:46:39 +02:00
LevelX2
830765996f * Storm - Fixed handling of countered Storm spells. * Reworked Rebound more rule conform. * Fixed that zone change counter was not raised if a card is moved to stack. 2015-04-29 17:37:54 +02:00
Nathaniel Brandes
4b6993f398 Added global alternate costs to canPlay test. Added Omniscienece test
case.
2015-04-29 03:04:34 -07:00
Nathaniel Brandes
255d436148 Omniscience now only allows you to play cards from your hand without
paying their mana costs.
2015-04-29 01:58:11 -07:00
LevelX2
66499bd58f * Mana Payment - Fixed a bug where the check if a specific colorored mana was payed could give back the wrong result (allowed e.g. the player sometimes to pay colored hybrid mana with the wrong colored mana). 2015-04-29 10:32:33 +02:00
LevelX2
aa5d050571 Fixed ThragtuskTest failing sometimes because of random target. 2015-04-28 17:10:32 +02:00
LevelX2
4b481b59e6 Added DTK as set for token image of Dragon Fodder. 2015-04-27 18:16:49 +02:00
LevelX2
3758cefc59 Some changes to check if Object had ability and the abillity can trigger. 2015-04-27 18:05:39 +02:00
Nathaniel Brandes
5a3c90a295 Changed Kentaro, the Smiling Cat's ability to be an alternate cost
instead of a set cost effect.

Also cleaned up dash names to be "dash" instead of "evoke".
2015-04-27 02:25:20 -07:00
LevelX2
a496e614d3 * Delve - Fixed that if automatically mana payment is deactivated cards could be delved without using it for mana payment of the delve spell. While automatically mana payment is deactivated only one card at a time can be used for delve now fixes #929. 2015-04-26 22:16:09 +02:00
LevelX2
4e0929e3f2 * Fixed a bug of DiesThisOrAnotherCreatureTriggeredAbility that caused that some triggerd effects did not work (e.g. Xathrid Necromancer dying together with other creatures). 2015-04-25 20:50:31 +02:00
LevelX2
159e36eabe * Fixed a bug that attach effects were not stopped during resolution if the object to attach does no longer exist - added fix. 2015-04-25 20:49:05 +02:00
LevelX2
1e7f82bb3c * Fixed a bug that attach effects were not stopped during resolution if the object to attach doe sno longer exist. 2015-04-25 19:13:02 +02:00
LevelX2
167bf8be3c * Fixed a bug that cost adjustments for costs of abilities that had multiple ManaCost objects in the ManaCosts could be applied muliple times (e.g. Everflowing Chalice with Thorn of Amethyst). 2015-04-25 19:11:49 +02:00
LevelX2
a3dba9b1d0 Added some error handling client startup. 2015-04-25 11:07:01 +02:00
LevelX2
f94497fac8 * Fixed a bug in DealsDamageToACreatureTriggeredAbility (caused Stinkweed Imp (and other creatures) to trigger also from non combat damage). 2015-04-25 01:17:20 +02:00
LevelX2
ffd0b0c685 * Fixed that enchant card in graveyard auras select target when entering the battlefield (allows the Animate Dead Worlgorger Dragon combo). 2015-04-23 23:43:00 +02:00
LevelX2
a0424aec50 Added Fluctuator, Stone Calendar, Planar Gate, Mana Matrix and Urza's Filter. 2015-04-23 15:44:55 +02:00
Nathaniel Brandes
27005fcba4 Fix counterspells not working when Rest in Peace is in play. 2015-04-22 23:01:33 -07:00
LevelX2
a845340e0d * Morph - Fixed that token copies of morphed creatures (e.g. by Supplant Form) came into play like the morphed creature face up instead of a 2/2 nameless creatures. 2015-04-22 23:06:07 +02:00
LevelX2
96a23d42cc * Added missing creature types not appearing on type lines of cards. Removed wrong creature type Forest. 2015-04-22 22:23:52 +02:00
LevelX2
18bc7df6c9 Added Blinkmoth to the list of creature types. 2015-04-22 15:27:24 +02:00
LevelX2
2ca2caf9d5 * Fixed a problem with left battlefield or dies triggered abilities of token permanents. 2015-04-21 17:18:50 +02:00
LevelX2
c2fb2de67a Fixed a bunch of NPE and other possible exceptions. 2015-04-20 23:37:28 +02:00
LevelX2
2822c18b81 * Triton Tactics - Fixed that the don't untap effect for the blocked creatures did not work. 2015-04-20 17:35:32 +02:00
LevelX2
89ce87e16e Merge origin/master 2015-04-20 10:57:39 +02:00
LevelX2
4735e73967 CardUtil - renamed and made adjustAbilityCost public. 2015-04-20 00:05:57 +02:00
LevelX2
568f62c66f Some changes to restrained event handling (simultaneous events) (fixes #897). 2015-04-19 10:43:12 +02:00
LevelX2
59a9a97910 Added Judge of Currents. 2015-04-18 19:27:58 +02:00
LevelX2
f226664ed4 Some changes for 2014-03-14v8. 2015-04-18 12:48:51 +02:00
LevelX2
47b1753519 * Soulfire Grand Master - Fixed that a countered spell did wrongly return to hand if second ability was used. 2015-04-18 11:53:51 +02:00
LevelX2
7897485539 [TPR] Added Pandemonium, Cannibalize, Silver Wyvern and Coffin Queen. 2015-04-18 01:21:50 +02:00
LevelX2
0fc4c4b9f1 Added some tests. 2015-04-17 15:19:40 +02:00
LevelX2
57d8cd6ff4 * Delay - Fixed that suspend of the xiled spell did not work. 2015-04-17 14:50:33 +02:00
user
25749ff648 Some minor changes. 2015-04-17 00:20:34 +02:00
LevelX2
b2fe13c8c8 * Fixed attack tap handling - You can no longer attack with a mana producing creature that will be get tapped for attacking and use the creature itself to produce mana to pay for effects like Ghostly Prison if the mana ability has the cost to tap the creature. 2015-04-16 15:57:17 +02:00
LevelX2
3da92fad26 * Tooth and Nail - Fixed that the searched cards were not revealed and not shown in the log. 2015-04-15 15:31:21 +02:00
LevelX2
77f3035443 Some changes to effect handling to fix failing tests. 2015-04-15 15:21:47 +02:00
LevelX2
9aa02f3d6f * Sidisi, Brood Tyrant - Fixed that the second ability did wrongly trigger, if Sidisi left battlefield before first ability did resolve. 2015-04-15 08:16:58 +02:00
LevelX2
2691dea7ef Added another Morph test. 2015-04-14 17:16:25 +02:00
LevelX2
e747b48b41 * Cavern of Souls - Fixed a bug where spells cast with first ability can't be countered. 2015-04-14 16:31:11 +02:00
LevelX2
15389b24d8 * Putrid Imp - Fixed that the can't block restriction did not work correctly. 2015-04-14 14:17:05 +02:00
LevelX2
ae43fc7c1f * Mogg Conscripts and Goblib Cohort - Fixed that using watchers with the same name could lead to cast errors. 2015-04-14 10:32:22 +02:00
LevelX2
3064a52fc8 * Lurking Arynx - Fixed that the for the activated ability no target could be selected. 2015-04-12 23:39:52 +02:00
LevelX2
203b65c584 * Fixed a bug that if power/toughness was set from a creature itself (e.g. Marsh Fitter) the effect was still applied if the creature left the battlefield and returned within the duration of the effect. 2015-04-12 23:31:05 +02:00
LevelX2
0ae89c453c * Raid - Fixed that attacking with Meandering Towershell does fulfill the Raid condition. 2015-04-12 21:50:18 +02:00
LevelX2
809bf663df * Fixed land image downloading from gatherer and handling of Anthology Duel Decks. 2015-04-12 10:37:16 +02:00
LevelX2
b79d6e64cf [TPR] Added Volrath's Curse and Crovax the Cursed. 2015-04-11 12:09:46 +02:00
LevelX2
4d7f1a05bf * Fixed that modes (if more than one was selected) did not resolve in the order they are written on the card but in order of selection by user. 2015-04-11 12:08:09 +02:00
LevelX2
0fb7cf8317 * Added a deck hash tag that's shown at the start of the game log to be able to identify a deck. 2015-04-11 00:47:54 +02:00
LevelX2
c65adebc57 Fixed that to allow watchers of a game to see the hand cards of players did not work correctly. 2015-04-10 12:36:22 +02:00
LevelX2
c0db6dfdc8 Merge pull request #901 from bigzwine/fixcompileprobs
Fixed couple compile problems found in Eclipse
2015-04-10 01:06:54 +02:00
LevelX2
d3dba58358 * Fixed that continuous effects of copied cards with limited duration stop to work as the copied card stops to exist. 2015-04-10 00:39:06 +02:00
bigzwine
fb810b1774 Fixed couple compile problems found in Eclipse 2015-04-10 00:16:30 +03:00
LevelX2
7292a1625c [TPR] Added Dracoplasm. 2015-04-09 18:09:05 +02:00
LevelX2
cc67312850 Fixed a bug recenttly introduced to handling of triggered abilities . 2015-04-09 15:12:31 +02:00
LevelX2
b737cbfe24 * Necropotence - Fixed that the name of the exiled cards was shown in the log. 2015-04-09 14:53:24 +02:00
emerald000
5594516c01 [TPR] Added Dream Prowler, Kor Chant and Legerdemain. 2015-04-08 15:23:46 -04:00
LevelX2
04ce4c85c0 * Fixed some problems with transform triggering on the wrong card side. 2015-04-08 16:41:49 +02:00
LevelX2
fd8a18129b * Loyal Cathar - Fixed that dies triggered ability also triggered for the night side card. 2015-04-07 23:39:38 +02:00
LevelX2
2f09b2859c Some minor changes. 2015-04-07 16:46:10 +02:00
LevelX2
a58afbde4f Added Forecast test. 2015-04-07 16:12:33 +02:00
LevelX2
f62d3ac227 * Exploit - Fixed that Exploit also triggered if the creature with Exploit left the battlefield before the first ability of Exploit resolved. 2015-04-07 00:27:07 +02:00
LevelX2
389f2574ba Added Magmasaur, Mogg Infestation and Furnace Brood. 2015-04-06 08:48:55 +02:00
LevelX2
66cf690968 Fixed some bugs that prevent to select shroud or hexproof targets by not targeted effects (e.g. Proliferate). 2015-04-05 11:13:26 +02:00
LevelX2
03b8a22c43 * Fixed Wirewood Channeler and Harabaz Druid allowing any combinations of Colors instead if any one color. 2015-04-04 14:58:47 +02:00
LevelX2
a60ba1b20f Added Amplify Test. 2015-04-04 12:42:48 +02:00
LevelX2
44e58a9a35 Fixed some problems of Amplify keyword (not tested yet). 2015-04-04 09:58:09 +02:00
LevelX2
72b4849488 Fixed a bug of new handling of copied cards. 2015-04-04 09:57:45 +02:00
LevelX2
7bae8e395d * Self-Inflicted Wound - Fixed target handling. 2015-04-04 09:00:41 +02:00
LevelX2
96cea1e94c Merge pull request #875 from FenrisulfrX/amplify
- Added the 'Amplify' keyword
2015-04-04 08:52:19 +02:00
betasteward
18a4a98f1a moved copied cards to GameState 2015-04-03 13:37:11 -04:00
LevelX2
1c085b30e2 Merge origin/master
Conflicts:
	Mage/src/mage/abilities/effects/common/ReturnFromExileForSourceEffect.java
2015-04-03 16:53:50 +02:00
LevelX2
37a0c321b6 Merge origin/master
Conflicts:
	Mage/src/mage/abilities/effects/common/ReturnFromExileForSourceEffect.java
2015-04-03 16:53:09 +02:00
LevelX2
dbb9be6703 * Arashin Sovereign - Fixed that the player had no option to let the card go to the graveyard. 2015-04-03 16:28:40 +02:00
FenrisulfrX
f75c78cc7c - Added the 'Amplify' keyword
Also added Kilnmouth Dragon which uses the keyword.
2015-04-03 01:44:47 -03:00
LevelX2
788187fd10 * Yomiji, Who Bars the Way - Fixed that the return effect did not work. 2015-04-02 23:45:28 +02:00
LevelX2
2d274ec39a [TPR] Added Wood Sage, Vhat-Il Dal and Soltari Guerillas. 2015-04-02 08:35:54 +02:00
emerald000
061b600dd2 [TPR] Added Crashing Boars, Endangered Armodon and Recycle. 2015-04-01 15:15:00 -04:00
fireshoes
670be8eda7 [TPR] Added some additional black Tempest Remastered cards 2015-03-31 13:05:36 -05:00
betasteward
a878d4879b added optimization for simulations - don't construct Strings for messages that will never be used 2015-03-31 09:44:22 -04:00
fireshoes
0fbe4303ae Added set Tempest Remastered and reprints. Added Pit Trap. Updated latest Game Day, FNM, Buy-a-box, WMCQ, and Release promos. 2015-03-30 22:51:34 -05:00
LevelX2
9d85a26e12 Added some tests and some minor changes. 2015-03-30 17:20:04 +02:00
FenrisulfrX
bb9fcfa82a Fix Dragonloard Atarka
Fixes #852
2015-03-29 20:14:52 -03:00
LevelX2
918be66431 Merge pull request #847 from FenrisulfrX/alliedstrat
- Added Allied Strategies
2015-03-29 23:53:55 +02:00
LevelX2
dedbeab86b * Minor formatting. 2015-03-29 22:45:24 +02:00
LevelX2
0e64df5d93 * Fixed a bug that tap enchanted effect did not work because causing enchantment was already gone. Fixed a bug of SacrificeEffect of handling static filter. 2015-03-29 22:44:46 +02:00
betasteward
6405c8d2f0 move zoneChangeCounter to GameState - Card is now immutable 2015-03-29 08:30:31 -04:00
LevelX2
45aa5f675c * Update Gatherer Downloader. 2015-03-29 03:48:55 +02:00
FenrisulfrX
b8733339bf - Added Allied Strategies
Also modified DomainValue.java to support for retrieval of Domain of
target player.
2015-03-28 16:04:19 -03:00
LevelX2
e94a395b1d * Obscuring AEther - Fixed that the turn face down ability did not work. 2015-03-28 16:33:54 +01:00
fireshoes
4f63793578 Submitted Skeleton Shard (Planechase) and Wall of Deceit (Jace vs Chandra) 2015-03-28 09:30:28 -05:00
LevelX2
a3a21fd073 * Deadeye Navigator - Fixed that the return effect was always done independant from zone changes that happended. 2015-03-27 15:19:40 +01:00
emerald000
966e8d1698 Removed PostResolveEffect class. 2015-03-26 16:59:33 -04:00
LevelX2
0d84127146 Release 2015-03-14v5 2015-03-26 19:24:53 +01:00
LevelX2
ab661c44f0 * Necropotence - Fixed that the face down card going to hand was revealed in game log. 2015-03-26 08:25:35 +01:00
LevelX2
23f35e8ad1 * Chnaged Tiny Leaders handling of commander zone change replacement. 2015-03-26 00:14:21 +01:00
LevelX2
07fdd00fd1 * Some update to cards from pull requests. 2015-03-25 23:40:50 +01:00
LevelX2
16469bafe6 * Soulfire Grand Master - updated handling. 2015-03-25 17:13:34 +01:00
LevelX2
b382865e8d * Ashcloud Phoenix - Fixed that the dies triggered abilitiy worked if he died face down. 2015-03-25 15:13:46 +01:00
LevelX2
488e7a9290 * Implemented latest Commander rule changes concerning zone changes. 2015-03-25 13:58:01 +01:00
LevelX2
f1b279d650 * Added one more Morph test. 2015-03-25 00:30:03 +01:00
LevelX2
4b985b322f * Scroll of the Masters - Fixed activated ability (did add counter instaed of doing a boost until end of turn). 2015-03-24 23:00:32 +01:00
LevelX2
23d431a65a * CantBeCounteredControlledEffect - Fixed a bug that the counter source was not cheched correctly (e.g. it was possible to counter spells with blue counters after Autumn's Veil). 2015-03-24 22:46:52 +01:00
LevelX2
b2e27f17f1 * Spitting Image and Call the Skybreaker - Fixed wrong Retrace costs. 2015-03-24 21:51:20 +01:00
LevelX2
e62e2e605e Minor formatting. 2015-03-24 21:33:11 +01:00
LevelX2
80847655b3 * Fixed not working Raid condition. 2015-03-24 17:16:26 +01:00
LevelX2
bff6c45bc4 Added Cry of Contrition. 2015-03-24 16:57:44 +01:00
LevelX2
7f3ffbb7ed * Pyxis of Pandemonium - Fixed that the exiled permanents were not put to battlefield. 2015-03-24 16:55:53 +01:00
LevelX2
2a9af5ad99 Moved some postresolveEffects to the correct package. 2015-03-24 15:45:33 +01:00
LevelX2
d15d72ffbc Merge pull request #826 from FenrisulfrX/phyvscoa
Implement 6 Cards
2015-03-24 01:15:38 +01:00
FenrisulfrX
2b58766d42 Implement 6 Cards
Implemented 6 cards needed to add the Phyrexian deck from Phyrexia vs
coalition Duel Decks.
Cards Implemented:
* Hornet Cannon
* Phyrexian Battleflies
* Phyrexian Colossus
* Phyrexian Processor
* Phyrexian Totem
* Sanhuine Guard
2015-03-23 18:59:58 -03:00
betasteward
72ff6f27b3 changes to the way abilities are added to cards 2015-03-23 13:04:09 -04:00
LevelX2
65390e09a6 * Fixed handling of Singletons gained to face down creatures (fixes Cloudform giving Flying and Hexproof to enchented card). 2015-03-23 17:36:34 +01:00
LevelX2
a137ec1633 * Combat - Fixed a bug that creatures that have to block were not forced to block. 2015-03-23 16:50:32 +01:00
LevelX2
254d057218 * Brutal Hordechief - Fixed a bug that prevented controller from making block decisions. 2015-03-23 14:15:25 +01:00
LevelX2
98ab135488 * Cavern of Souls - Fixed a bug of the can't be countered handling. 2015-03-23 13:25:37 +01:00
LevelX2
e5437643c8 * Convoke - Fixed that it was not possible to pay with convoke mana costs containing no colorless mana. 2015-03-23 01:09:53 +01:00
LevelX2
1b90730aeb Fixed that to manifest an aura enchantments did not work correctly. 2015-03-23 00:03:09 +01:00
LevelX2
5915259e96 * Martyr of Sands - Fixed that a player got only a maximum of 3 life also if he tried to reveal more cards. 2015-03-22 22:03:59 +01:00
LevelX2
59293271a5 Changes to the reset handling of ManaSpentToCastWatcher. 2015-03-22 20:14:35 +01:00
LevelX2
740611119b * Mikaeus, the Unhallowed - Fixed that the given undying ability did not trigger. 2015-03-22 19:47:46 +01:00
LevelX2
b1427f6066 Fixed a bug where the expansion repository version was set. 2015-03-22 10:19:26 +01:00
LevelX2
c0689ec675 * Dynamic mana effects - Fixed that dynamic mana effects (e.g. Cabal Coffers, Elvish Archdruid) did not benefit from mana manipulation effects like Mana Reflection. 2015-03-22 09:47:37 +01:00
LevelX2
e4cfd917e7 * Some minor updates. 2015-03-20 18:34:20 +01:00
LevelX2
e09141b1fc * Some minor updates. 2015-03-20 18:31:44 +01:00
LevelX2
f6cb904288 * Manifest - Fixed that the name of the manifested card was shown in the game log. 2015-03-20 18:17:35 +01:00
LevelX2
0f37405480 * Deathmist Raptor - Fixed a bug that the ability to return it from graveyard did not trigger. 2015-03-20 18:07:35 +01:00
LevelX2
10b7791cd2 * Tiny Leaders Format - Fixed a bug that happened as you did not set the Leader name to the deck name. 2015-03-20 17:30:12 +01:00
LevelX2
5af6b6ca7a Fixed a bug that could lead to endless loops if cards where moved from library to graveyard. 2015-03-20 15:10:54 +01:00
LevelX2
050043c6b6 * Added logic that a player can order cards if more than one card goes simultanously to graveyard. 2015-03-19 15:54:08 +01:00
LevelX2
2d53caf197 Updated card content version. 2015-03-19 00:55:35 +01:00
LevelX2
aff5f9f2e7 [DTK] Some fixes to Dromoka's Command and Enduring Scalelord. 2015-03-19 00:29:36 +01:00
LevelX2
81d5d4145a [DTK] Added Death Wind, Dragon Hunter and Qarsi Deceiver. 2015-03-18 23:11:44 +01:00
LevelX2
cb8d19906a [DTK] Added Orator of Ojutai and Scale Blessing. 2015-03-18 21:55:48 +01:00
LevelX2
32eba22309 [DTK] Added 5 multicolor cards. 2015-03-18 15:59:16 +01:00
LevelX2
6b7565b097 * Grizzly Fate - Fixed that Beast instead of Bear tokens were created. 2015-03-18 01:26:07 +01:00
LevelX2
739b430a03 Some minor updates. 2015-03-18 01:19:03 +01:00
LevelX2
016737c73a [DTK] Added 12 black cards. 2015-03-18 00:33:39 +01:00
LevelX2
c8e65b51d5 [DTK] Added 8 black cards. 2015-03-17 17:28:51 +01:00
LevelX2
e713cfffea Fix to ra recently introduced bug of DontUntapInControllersNextUntapStepTargetEffect class. 2015-03-17 09:39:36 +01:00
LevelX2
a9a23026fc [DTK] Added 6 black cards. 2015-03-17 08:08:15 +01:00
LevelX2
5a991e591d [DTK] Added 8 blue cards. 2015-03-17 01:33:12 +01:00
LevelX2
147ad8f86c [DTK] Added 8 blue cards and some fixes. 2015-03-16 18:24:26 +01:00
LevelX2
0430cf63aa Fixed a recently committed bug of add counter logic. 2015-03-16 12:06:55 +01:00
LevelX2
325aab10a2 [DTK] 10 red cards (red complete) some minor chanes/fixes. 2015-03-15 18:56:37 +01:00
LevelX2
08f48b4164 Some minor changes and added framework functions. 2015-03-15 16:42:53 +01:00
LevelX2
beaa80f16e [DTK] Added 23 green cards. Some other fixes. Added handling of Fight events. 2015-03-14 16:19:09 +01:00
LevelX2
73cddda79c * It That Betrayed - Fixed a bug that sacrificing controlled but not owned permanents came back to the battlefield of the controller of It That Betrayed (fixes #796). 2015-03-14 10:56:22 +01:00
LevelX2
b4a0fd5920 Added a CantBeBlockedByCreaturesAttachedEffect. 2015-03-14 08:41:28 +01:00
LevelX2
f9eea60309 [DTK] Added Myth Realized. 2015-03-13 15:16:37 +01:00
LevelX2
8b2a428cb1 Merge origin/master 2015-03-13 10:20:31 +01:00
betasteward
9ad8530dee moved faceDown property from Card to CardState 2015-03-12 22:09:12 -04:00
LevelX2
4a5d9b758e * Fixed that exile costs were not applied if the exiled creature was not moved to the exile zone because of (e.g. commander) replacement effect. Exile costs are considered as paid now (117.11). 2015-03-12 17:42:19 +01:00
LevelX2
8afc1e24bb * Added missing Centaur token reference, get cantaur token by random. 2015-03-12 16:55:12 +01:00
LevelX2
0f61d2981b * Tiny Leader - changed subtype to no subtype. 2015-03-12 01:13:07 +01:00
LevelX2
aad8edd8cc * Tiny Leader - The commander cast X times is shown now, you can use deck name "Sultai" as default commander for UBG, check that the commander card can't be again in the deck or sideboard, sideboard can also be empty now, sideboard may not include the commander. 2015-03-12 01:11:31 +01:00
LevelX2
eec5406a00 Raised card and expansion content version number. 2015-03-11 21:11:21 +01:00
LevelX2
84e2ecb8ef * Some fixes to cardState handling concerning card rules. 2015-03-11 21:03:42 +01:00
LevelX2
f31c317675 Replaced all usages of EmptyEffect by InfoEffect. 2015-03-11 17:23:13 +01:00
LevelX2
23de61b433 * Fixed that manifested card went to exile face down (fixes #791). 2015-03-11 15:17:54 +01:00
LevelX2
e273481499 Some minor changes. 2015-03-11 15:02:52 +01:00
LevelX2
8d7087d859 Fixed initialisation of targetPointer in BoostEquippedEffect (fixes #790). 2015-03-11 13:24:11 +01:00
fireshoes
cb96db4151 [DTK] Added Dragonlord Atarka, updated TargetCreatureOrPlaneswalkerAmount to filter for opponent's controlled permanents. 2015-03-10 21:48:47 -05:00
betasteward
fe2cd395a6 moved info from CardImpl to CardState and PermanentImpl + created InfoEffect for displaying rule info on Card 2015-03-10 14:57:55 -04:00
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