Commit graph

2651 commits

Author SHA1 Message Date
LevelX2
93b968d92a * Desecration Demon - Made AI not using the sacrifice ability any more. 2014-04-06 17:24:44 +02:00
North
7f2a2ca0a3 removed dependency to trove4j (only used in DeckBuilder) 2014-04-05 21:55:35 +03:00
LevelX2
f49235a34f * Suspend - Fixed that cards with suspend but without costs (e.g. Living End) could be cast for no costs (without Suspend). 2014-04-05 16:18:43 +02:00
LevelX2
6a827fcce8 * Echo ability - Fixed that echo had not to be paid if permanent came into play by other abilities (e.g. Living End). 2014-04-05 16:17:33 +02:00
LevelX2
a4f73a9fde * Golgari Thug - Fixed that card in graveyard was not a mandatory target. 2014-04-05 03:13:27 +02:00
LevelX2
5af7a444d3 * Some formatting. 2014-04-05 02:52:56 +02:00
LevelX2
2d4b1a4619 * Some formatting and a additional Cloudshift test. 2014-04-05 02:52:24 +02:00
LevelX2
d031b93fd4 * Fixed a bug that prevented most continuous effects from recognizing if a permanent made zone changes and so the permanent was considered as a valid target even if the permanent changed zones (e.g. was Cloudshifted). 2014-04-05 02:51:11 +02:00
LevelX2
042552aa1e * Sacrifice cost - Fixed a bug that made wrongly sacrificing invalid, because sacrificed permanent did not go to graveyard (e.g. Rest in Peace in play). 2014-04-05 02:46:21 +02:00
LevelX2
816812f695 * Dredge - Added log info about a successful dredge action. 2014-04-05 02:44:27 +02:00
LevelX2
cefd33b2f1 * Soulbound - Added log info about a successful soulbound action. 2014-04-05 02:44:06 +02:00
LevelX2
87dd02ecfc Added Darien, King of Kjeldor, Captain Sisay, Howltooth Hollow, Blackmail, Cao Cao, Lord of Wei and Diaochan Artful Beauty. 2014-04-04 16:44:19 +02:00
LevelX2
73885ab01d * Iona, Shiel of Emeria - Added choice information to card tooltip. 2014-04-04 08:39:19 +02:00
LevelX2
84f25d72d3 Fixed a possible problem with continuous effect and Mage Singletons. 2014-04-03 15:08:07 +02:00
LevelX2
e5d0de7328 Renamed DrawCardController to DrawCardSourceController. Missing Renames. 2014-04-03 15:07:06 +02:00
LevelX2
d22153362f * Split Second - Fixed a bug that if more than one split second card was in the game, the zone of the owning card ould not be retrieved correctly. 2014-04-02 20:54:09 +02:00
LevelX2
fd51fc8216 * Added Brion Stoutarm and Patrician's Scorn. 2014-04-02 00:33:56 +02:00
LevelX2
85a3864140 Merge origin/master 2014-04-01 17:34:56 +02:00
LevelX2
a558c052ef Added Myr Servitor, Salvaging Station, Porphyry Nodes, and Gaea's Blessing. 2014-04-01 17:33:58 +02:00
LevelX2
98eb510228 * Runed Halo - Fixed a bug that controlling player had protection from every name. 2014-04-01 17:32:15 +02:00
LevelX2
6bc5cf538b Renamed DrawCardController to DrawCardSourceController. 2014-04-01 13:39:42 +02:00
LevelX2
de2a8b66b6 * Discard - Fixed a bug that forced palyer to discard the complete hand instead of the defined amount if discarded card was exiled instead of put into graveyard (e.g. Leyland of the Void and Blighting). 2014-04-01 13:03:38 +02:00
LevelX2
cb018dd0f0 * Changed tournament result genration and disconnect time formatting. 2014-04-01 00:07:49 +02:00
LevelX2
455cca0795 Minor changes to tool tip text generation and token image loading. 2014-04-01 00:06:52 +02:00
LevelX2
b0e32a275d Reworked tournament result string generation. 2014-03-31 15:30:01 +02:00
LevelX2
9ff5bcbd92 Improved reconnect and tournament handling. Reconnect time is now shown for disconneted players on player list and tournament panel. You can now reconnect (during 3 minutes) to a tournament also if meanwhile new game (after sideboarding ended) or round was started. Conceding the complete match in a tournament can no longer result in a draw, if you won games before. Quitting a tournament does now always end all active games of that quitting player. 2014-03-31 02:24:59 +02:00
LevelX2
b5ef4a7f45 * Attacking Planeswalker - Fixed a bug that it was not able to attack a planeswalker that had hexproof. 2014-03-29 17:46:12 +01:00
LevelX2
663d05b866 * Zombie Token - Fixed that token image is always shown. 2014-03-29 02:04:14 +01:00
LevelX2
054973f821 Merge origin/master 2014-03-28 23:31:05 +01:00
LevelX2
560e60430c * Vedalken Shackles - Added missing mana cost to activate. 2014-03-28 23:29:57 +01:00
LevelX2
f7a48d9a0a * Game log - Some minor changes to game log output. 2014-03-28 15:06:31 +01:00
LevelX2
ea498413cf * Fixed a bug of CanBlockOnlyFlyingAbility that prevented other creatures with flying on the battlefield to block (Gloomwidow, Scrapskin Drake, Stormbound Geist, Skywinder Drake, Cloud Elemental, Cloud Sprite, Vaporkin, Welkin Tern). 2014-03-27 20:08:16 +01:00
LevelX2
c40dd7fb4b * Select card window - Fixed a bug that the window (also if reqiured) was closed, if you clicked on the frame of the window (e.g. to resize). Now the window is not closed in this case and can also be resized (fixes #100). However if the target is not set to required, the window is not modal and clicking anywhere beside the window, will still close the window without having made a selection. 2014-03-27 17:05:29 +01:00
LevelX2
a229d4d260 * Flashback ability - Fixed that flashback abilities with non mana costs (e.g. Cabal Therapy) added the costs wrongly again as additional costs to the tooltip text of the card. 2014-03-27 13:33:12 +01:00
LevelX2
ad6898ca54 * Warren Weirding - Fixed that created tokens got haste ability wrongly permanent instead only util end of turn. 2014-03-27 13:31:33 +01:00
LevelX2
16bc70576a * Fixed a problem that abilities of cards could not be cast /played / activated if they had no mana costs (e.g. Cabal Therapy and Crucible of Worlds). 2014-03-27 01:11:33 +01:00
LevelX2
0009797a68 * Editor / Add Lands - Fixed that sets could be selected, that doesn't have all type of basic lands. So sometimes it was not possible any type of basic land to add to the deck for sealed / draft match. 2014-03-27 00:03:42 +01:00
LevelX2
601d1be24f Added Tidespout Tyrant, Shallow Grave, Xantid Swarm, Goblin War Strike, Wound Reflection, Children of Korlis and Sneak Attack. 2014-03-26 16:58:55 +01:00
LevelX2
0afcaa5455 * Bushido - Fixed a bug that for bushido X (Fumiko, the Lowblood) , the value was not locked in as bushido ability resolved (still a problem with X and Takeno, Samurai Gernal left). 2014-03-26 08:33:35 +01:00
LevelX2
d5148afaeb * Sormtide Leviathan - Fixed that the Islands could not produce U mana. Fixed bug in the attack restriction effect. 2014-03-25 23:59:17 +01:00
LevelX2
8c7dcf275e * Player Hexproof - Fixed that the Player Hexproof prevented that the player could be attacked. 2014-03-25 23:55:08 +01:00
LevelX2
9a443aa056 Added Fist of Suns and Haze of Rage. 2014-03-25 16:43:48 +01:00
LevelX2
624fde3d8b Some conditions renamend. 2014-03-25 16:42:07 +01:00
LevelX2
4433f46dfd * Prowl Ability - Fixed a bug in tooltip txt generation. 2014-03-25 16:19:35 +01:00
LevelX2
294567ec3e * Cycling effects - Added missing reveal effect, added missing reminder text. 2014-03-25 16:19:10 +01:00
LevelX2
9de2736e9a * Storm - Added reminder text to tooltip text. 2014-03-25 16:16:58 +01:00
LevelX2
e7de690081 Added Spawnwrithe. 2014-03-25 08:37:50 +01:00
LevelX2
3eb50bf1c2 Added Sword of the Meek, Venser, Shaper Savant and Humility. 2014-03-25 00:01:28 +01:00
LevelX2
3847f15e05 Added Llawan, Cephalid Empress. 2014-03-24 08:31:27 +01:00
LevelX2
6c924edd7a * Variable loyality payment - Fixed a bug that the -X payment of loyality counters was added insted subtracted. Prevented the possibility to announce x loyality counter payment, if already one planeswalker ability was used this turn. 2014-03-23 19:49:11 +01:00
LevelX2
5624e1edfb Added Envelop, Back to Basics and Chains of Mephistopheles. 2014-03-23 18:56:07 +01:00
LevelX2
2df8da0685 Added Hide//Seek, Mesmeric Orb and Shelldoch Isle. 2014-03-23 17:57:48 +01:00
LevelX2
c72b87a446 * Counterbalance - Fixed that the counter effect did not correctly work. 2014-03-23 09:06:58 +01:00
LevelX2
de12dce50c * Free for all - Fixed a bug that controller of a spell was sometimes affected by effects that should only be applied to opponents (e.g. Mogis, God of Slaughter's triggered ability). 2014-03-23 07:57:34 +01:00
LevelX2
6993d7f725 Added Keen Sense. 2014-03-22 09:29:53 +01:00
LevelX2
643f864f74 * Fixed possible null pointer exception for EntersBattlefieldAllTriggeredAbility. 2014-03-21 21:41:30 +01:00
LevelX2
74285be8a4 * Spell Pierce - Fixed bug that caused "java.lang.ClassCastException: mage.filter.predicate.ObjectPlayer cannot be cast to mage.filter.predicate.ObjectSourcePlayer" error. 2014-03-21 17:45:10 +01:00
LevelX2
63b8890287 Fixed that creatures or enchantments with triggered abilities that should trigger only once as they or the enhcanted creature blocks (also multiple creatures e.g. Guardian of the Gateless) really only trigger once. They triggered wrongly per blocked creature before. 2014-03-21 14:47:17 +01:00
LevelX2
ccd91f0657 * Combat blocking - Fixed that blocking of multiple attackers by one creature did not work (e.g. for Guardian of the Gateless). 2014-03-21 14:43:19 +01:00
LevelX2
a079727608 * Electropotence - Fixed that it did not trigger for tokens and mana payment is now during resolution as it should be. 2014-03-21 14:40:55 +01:00
LevelX2
79b319777f Some clean up of the lose life framework effects. 2014-03-20 13:42:46 +01:00
LevelX2
8a76d52ab4 * Added 5 red BOK cards. 2014-03-20 00:59:18 +01:00
LevelX2
7a2bc8b0ef Minor formatting and changes. 2014-03-20 00:58:33 +01:00
LevelX2
87c0576549 Fixed that modes of modal spells resolved also if all targeted modes of a spell had no more legal targets and there were targeted modes (fixes #385). Should also fix same problem for parts of a fused spell. Added test for Cryptic Command. 2014-03-19 16:44:57 +01:00
LevelX2
1856df8987 Minor formatting and game log changes. 2014-03-19 13:51:44 +01:00
LevelX2
9b82be530d * Thoughtseize - Fixed that game lock could happen if target player had no non land cards on hand. 2014-03-19 08:29:17 +01:00
LevelX2
dc881d3330 Minor changes to logging and formatting, token usage, flip handling. 2014-03-17 16:58:59 +01:00
LevelX2
20453be5ff * Game logging - Added target information to log of triggered ability. 2014-03-17 16:57:55 +01:00
LevelX2
2f8ac76417 * Game log - triggered abilities are now logged as they go to stack. Some minor formatting. 2014-03-17 08:37:54 +01:00
LevelX2
4232a3b7f1 Fixed the "can only block flying creatures effect" (e.g. Varporkin). It was implemented as replacement effect instead of restriction effect which leads to dead locks in combat if it was forced to block a non flyer. 2014-03-16 10:05:20 +01:00
LevelX2
95b39bd44c Fixed a bug in table cleanup that prevented removing of canceled tables (not started yet) from the list of tables. 2014-03-16 00:36:36 +01:00
LevelX2
e103ddfd4b Some minor formatting. 2014-03-15 17:44:08 +01:00
LevelX2
89fe41379a Fixed a bug recently added to ExileSourceEffect. 2014-03-15 14:04:06 +01:00
LevelX2
d1082293a8 Fixed that Haste effects given to Obzedat on enters the battlefield stayed after going back to hand and recasting of it. 2014-03-14 15:05:36 +01:00
LevelX2
dc0d5a4bc8 Reversed some formatting changed that led to casting errors. 2014-03-14 14:43:54 +01:00
LevelX2
09b7e7baea * Minor formatting. 2014-03-14 14:00:29 +01:00
LevelX2
317d07215c * Game log - Added info to log if player loses life. 2014-03-14 13:57:19 +01:00
LevelX2
47af2cab75 * Delver Of Secrets - Fixed that the Reveal and to ask player did not happen during the resolving of the abilitys effect. Added info about transformation to log. 2014-03-14 13:56:30 +01:00
LevelX2
9ca014b10e * Whip of Erebos - Fixed a bug that if target creature already left battlefield, the card was still moved to general exile zone (causing problems with Obzedat, Ghost council). 2014-03-13 17:10:57 +01:00
LevelX2
eae5b7c61e Some minor changes to framework and existing cards. 2014-03-13 15:45:26 +01:00
LevelX2
88aca77695 * Split cards - The images of split cards are now rotated in the enlarged image view (moueswheel up/down). 2014-03-13 00:20:37 +01:00
LevelX2
4a2a40ae2d Minor formatting. 2014-03-12 17:41:56 +01:00
LevelX2
f64ed10fac * Game log - Uses term choosing instead of targeting for non targeted selections. 2014-03-12 17:40:02 +01:00
LevelX2
1e7cfa086b * Cavern of Soul - Fixed a bug that caused that every spell could not be countered that was cast using the first (colorless) mana ability (fixes #391). 2014-03-12 15:53:27 +01:00
LevelX2
507a9e8016 Removing of permanents handling for a player that leaves the game changed to avoid ConcurrentModificationException (fixes #393). Some formatting. 2014-03-12 08:35:31 +01:00
LevelX2
aedcccc269 Minor formatting and text changes. 2014-03-11 16:47:05 +01:00
LevelX2
27c8f8fd47 Added new SpellCostReductionSourceEffect to implement conditional source spell cost reductions. 2014-03-11 16:40:50 +01:00
LevelX2
cabe33395c Added new attribute ability word to ability to simplify rule text generation. 2014-03-11 16:39:01 +01:00
LevelX2
63eae70d63 * Minor fix to rebound ability. Some formatiing. 2014-03-11 00:34:52 +01:00
LevelX2
d8236a8d3a * Fixed that ThoughtAs effects could be used by any player instead of only the controller of the effect. (Fixes e.g. that Misthollow Griffin could be cast by any player from exile). 2014-03-11 00:14:56 +01:00
LevelX2
401d65a17e * Changes to image handling of copied permanents (image is more often shown now). 2014-03-09 22:09:00 +01:00
LevelX2
7ebb8a9cbe * Reworked non mana costs with variable amount. The values have now to be announced before targeting. Fixed some wrong implementations (Firestorm, Myr Battlesphere, Skeletal Scrying). 2014-03-09 19:47:31 +01:00
LevelX2
59d907c981 * Improved handling of enlarged images. Added mode to show other side of flip and transform cards. Added icon for copied cards and possibility to show enlarged original or copied card. 2014-03-06 21:51:51 +01:00
LevelX2
85e90881c1 * Simplified flip handling. Flip continiuous effect has now time stamp of time the card flipped so it works with copied cards. 2014-03-06 21:46:33 +01:00
LevelX2
85096a9990 * Yomiji, Who Bars the Way - Fixed a NPE bug of the triggered ability. 2014-03-03 18:23:32 +01:00
LevelX2
d896127e7a * Living Weapon - Fixed that the token image was not used. 2014-03-02 23:22:14 +01:00
LevelX2
3cf7fd33ed * Elves vs. Goblins - Added missing cards and exmple decks. 2014-03-01 16:17:49 +01:00
LevelX2
8d2f4cc9ac * Draft - Added "Quit Tournament" button to draft panel. Minor formatting. 2014-02-28 17:47:27 +01:00
LevelX2
e4a1f70057 * Hideaway - Fixed wrong timing restrictions of playing the with hideaway exiled card. 2014-02-28 13:41:28 +01:00
LevelX2
8fa23501ee * Polis Crusher - Fixed that it can't be the target of enchantments.
* Polis Crusher - Fixed that the targeted enchantment of it's second ability was chosen too late during resolution.
2014-02-27 16:42:44 +01:00
LevelX2
25994e8910 * AlternativeCost - Fix to rule text generation. 2014-02-27 08:59:35 +01:00
LevelX2
664a506dba Delete unused object. 2014-02-26 23:28:30 +01:00
LevelX2
02338d5e9e Fixed spells with alternative casting costs. 2014-02-26 23:28:08 +01:00
LevelX2
bceef0ec48 * ReturnFromGraveyardToBattlefieldTargetEffect fixed that the target creature came back always under the owner control instead of under control of the controller of the effect (fixed cards: Fated Return, Rise from the Grave, Nighteyes The Desecrator, Debtors' Knell, Grim Return, Ashen Powder, Beacon of Unrest, Reanimate). 2014-02-26 16:54:46 +01:00
LevelX2
48efe70625 Renamed and improved ActivateOncePerTurnActivatedAbility to LimitedTimesPerTurnActivatedAbility- 2014-02-26 12:38:09 +01:00
LevelX2
9b10da0551 Some minor changes/formatting. 2014-02-26 12:34:58 +01:00
LevelX2
fe2ff3cc35 Renamed HasCounterCondition to SourceHasCounterCondition. 2014-02-26 12:31:21 +01:00
LevelX2
2520644e2c * Murkfiend Liege , Prophet of Kruphix, Quest for Renewal - Changed the untap effects from a triggered ability to a continious rule changing effect not going to stack. 2014-02-25 17:50:15 +01:00
LevelX2
13d39326e0 Added Elves vs. Goblins, Jace vs. Chandra, Divine vs. Demonic and Garruk vs. Liliana as sets and the already implemented cards fo this sets. 2014-02-25 03:06:17 +01:00
LevelX2
b072ee9eaa * Duel Deck: Elspeth vs. Tezzeret - Added the missing cards. Added Zur the Enchanter. 2014-02-25 03:03:50 +01:00
LevelX2
ad2c062552 * Added Fumiko, the Lowblood- 2014-02-25 03:02:24 +01:00
LevelX2
3c7b414ee6 * Fixed alternate casting costs of shoal spells (e.g. Blazing Shoal). 2014-02-23 17:39:37 +01:00
LevelX2
de21b60484 * Fixed move to exile method of player. Fixes the alternat cost problem of force of will and Contagion. 2014-02-21 19:14:44 +01:00
LevelX2
786fc03044 * Fixes to handling of AlternateCostSourceAbility for multiple costs (not finished yet). 2014-02-21 15:04:09 +01:00
LevelX2
8491b5b90b * Cleanup of server memory handling - removed memory leaks for Chat, Player, Match, Game etc. 2014-02-21 01:13:27 +01:00
LevelX2
c7289a3810 * Some formatting. Some cleanup for server memory handling. 2014-02-20 17:49:21 +01:00
LevelX2
2b2594d993 * Tournament - Show players of tournament sorted by their tournament points. 2014-02-20 15:03:14 +01:00
LevelX2
493729438f Added Reanimate and Debtor's Knell. 2014-02-19 17:28:33 +01:00
LevelX2
c36045b1b6 Added/changed some move methods for cards of player. 2014-02-19 17:27:46 +01:00
LevelX2
a0ef96e975 * Pyromancer Ascension - Fixed that the triggered ability that copies a spell also works, if the spell that was copied left the stack (e.g. countered) before the ability resolves. 2014-02-19 08:21:57 +01:00
LevelX2
c12fb572f7 * Fixed the trace for Intimidate. 2014-02-19 08:18:48 +01:00
LevelX2
42a8029c2d * Minor change at TraceUtil. 2014-02-19 00:56:45 +01:00
LevelX2
d48d44dd56 Minor formatting. 2014-02-18 17:36:10 +01:00
LevelX2
1f3687cc86 Switched to binary/source format java 1.7. 2014-02-18 17:35:32 +01:00
LevelX2
7dec7dc307 Renamed Live to Life. 2014-02-18 17:11:15 +01:00
LevelX2
238e31dcac Added GainLiverPlayersCost and GainLiveOpponentCost. 2014-02-18 14:41:00 +01:00
LevelX2
a7b7a88bde Added PlayerCanGainLifePredicate. 2014-02-18 14:40:10 +01:00
LevelX2
6049a69348 Added generic AlternateCostSourceAbility. Some adjustments to alternate cost handling. 2014-02-18 14:39:33 +01:00
LevelX2
4e5de2b7f9 * Tournament handling - Finished pairing are updated now to tournament players list immediately. 2014-02-17 00:41:40 +01:00
LevelX2
ce967ee88c Added 5 cards (Sylvan Library, Tsabo's Web, Sylvan Safekeeper, Null Rod, Peacekeeper). Minor formatting. 2014-02-16 17:42:05 +01:00
LevelX2
f2736807f3 * Fixed a bug that occured if a copied spell was countered and should be moved to another zone as graveyard. 2014-02-16 10:24:58 +01:00
LevelX2
4cad29f50a * Added gain life info to game log. 2014-02-16 01:51:15 +01:00
LevelX2
d97d697a53 * Fixed a problem with SacrificeSourceTriggeredAbility that did not Trigger because source is no more on the battlefield. 2014-02-15 22:32:54 +01:00
LevelX2
a0346109a2 * Changed block requirment checking so that block lock is less probable. 2014-02-15 09:28:06 +01:00
Jeff
f01692f804 - Added some requested cards. 2014-02-14 17:19:26 -06:00
LevelX2
b10ad8e663 * Game log - The announced value for X costs is now posted to the log at a later point in time to avoid posting canceled announcements. 2014-02-14 15:13:59 +01:00
LevelX2
2eebdb3b5b Fixed a recently committed bug that added cardType and subtype of tokens cumulative on each permanent reset. 2014-02-14 15:11:36 +01:00
LevelX2
c59c182cab Added SkipUntapAllEffect and used it for appropriate cards. 2014-02-13 17:12:40 +01:00
LevelX2
ee76ccfee4 Added option that AbilityPicker is forced to show if ability or spell has no or only tap cost (not finished yet). 2014-02-12 17:18:06 +01:00
LevelX2
81eaac46c7 * Added new preference option to enable sound in game and other sounds separately. 2014-02-12 08:35:27 +01:00
LevelX2
8e3ca7e5ca Added CantAttackControllerAttachedEffect. Minor formatting. 2014-02-11 17:28:59 +01:00
LevelX2
acdabbaaac Set the correct TimingRule for Spells != Instants, some minor changes to can be cast checks (missing class). 2014-02-11 16:11:45 +01:00
LevelX2
aa359cd1b6 Set the correct TimingRule for Spells != Instants, some minor changes to can be cast checks. 2014-02-11 15:53:35 +01:00
LevelX2
753ada0a01 * Fixed a cleanup problem that locked the game at game end. Minor formattings and cleanup additions. 2014-02-11 00:38:10 +01:00
LevelX2
efb664c743 * DestroyTargetEffect - Fixed wrong source reference given to permanent.destroy method. 2014-02-10 13:04:07 +01:00
LevelX2
1131a84892 * Moved concede messages before execution, so the order in the log is more logical. 2014-02-09 17:13:16 +01:00
LevelX2
0d1921d8cb * Added target replacement check to canBeTargeted check of permanent to get correct possible targets (fixes #381). 2014-02-09 11:22:33 +01:00
LevelX2
9fcfb8527a * Changed handling of search library limiting effect. 2014-02-09 11:20:20 +01:00
LevelX2
3b03a0500a * Fixed some library search effects that didn't sort the library and didn't take search limitations into account (Aven Mindcensor) 2014-02-09 00:21:43 +01:00
LevelX2
c1685b518c * Fixed a bug of defenders that have "can attack as though it didn't have defender" abilities. If the abilitiy was triggered it was applied to all defenders. 2014-02-08 20:20:28 +01:00