Commit graph

615 commits

Author SHA1 Message Date
LevelX2
488e7a9290 * Implemented latest Commander rule changes concerning zone changes. 2015-03-25 13:58:01 +01:00
fireshoes
9fb1acbf31 Updated Duel Commander and Pauper banlists. Added Lady Sun and Coastal Wizard. Added DTK to Khans of Tarkir block constructed format. 2015-03-23 23:13:01 -05: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
78df43fd30 Fixed a sideboarding bug of Tiny Leaders Format (fixes #807). 2015-03-19 00:54:04 +01:00
betasteward
9ad8530dee moved faceDown property from Card to CardState 2015-03-12 22:09:12 -04: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
2d1755be2e Readded uninteneded from pom-xml removed project references again (fixes #787). 2015-03-11 11:15:42 +01:00
LevelX2
6b8493d9f8 * Changed all occurances of unblockable to can't be blocked. 2015-03-08 21:54:36 +01:00
fireshoes
b1a88011ab [DTK] Updated mtg-cards-data.txt for 3/3 spoilers and added Dragon Fodder, Evolving Wilds, and Dragonlord's Servant. [CUBE] Added Legacy Cube 2015 2015-03-04 12:09:03 -06:00
LevelX2
6b0f6be574 Fixed spelling bug of import mage.abilities.effects.common.continuous package. 2015-03-03 00:37:39 +01:00
LevelX2
570ed36cd8 Some minor changes. 2015-03-02 08:35:00 +01:00
LevelX2
7ce1e6de19 * Some minor changes. 2015-03-01 17:22:39 +01: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
0a0a399259 Add Sideboard
Allows a deck to have a sideboard.  The player must have saved the deck
with the CARDNAME of their commander in the NAME field of the Deck
Editor to have it process as valid.
2015-03-01 03:12:25 -08:00
JRHerlehy
8a6da4abe3 Allowing Sideboarding
Tiny Leaders allows sideboarding.  Turned on sideboarding option.
2015-03-01 02:31:56 -08:00
JRHerlehy
983cb571e7 Fixed Tiny Leaders Duel Type
Fixed missing class access level for TinyLeadersDuelType
2015-03-01 01:34:49 -08:00
JRHerlehy
6e95e5ef70 Removed pushed target folder from TinyLeadersDuel 2015-03-01 01:32:15 -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
11fb2412cb Fixed a bug of AI target selection that caused endless loops during build of test project. 2015-02-27 15:18:38 +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
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
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
0c73076895 * Added AlternateManaPaymentAbility interface and handling. 2015-02-20 02:15:22 +01:00
LevelX2
c6d3a8247d * Holiday Cube 2014 - Removed additinal blank in name of Hero of Oxid Ridge that prevented the use of the card in the cube. 2015-02-15 23:14:32 +01:00
LevelX2
ef147bc80c * Fixed a possible endless loop while player left game during damage distribution. 2015-02-12 12:16:56 +01:00
LevelX2
0cda1f7731 * Fixed spelling error for Fire // Ice card of Holiday Cube 2014. 2015-02-08 09:54:23 +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
LevelX2
dd54269216 * Fixed handling of Split cards (fixes #670). 2015-02-03 00:05:30 +01:00
LevelX2
19d71aaf84 * AI PLayer - Fixed a problem with targets of Venser, Shaper Savant. 2015-01-31 10:00:16 +01: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
fireshoes
e03e613214 Updated banned lists 2015-01-19 14:22:10 -06:00
LevelX2
bd6753da0b * Duel Commander - Fixed that for duel commander muliplayer games the specific (e.g. starting life) duel commander rule changes did not take place. 2014-12-31 09:52:48 +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
fireshoes
086f860396 Added Fate Reforged set, Valorous Stance FRF card, KTK Block Constructed option, added missing card to Holiday 2014 Cube 2014-12-21 19:57:23 -06:00
LevelX2
4373a33b73 * Holiday Cube 2014 - Fixed year in name, added missing card. 2014-12-18 08:39:35 +01:00
LevelX2
b2586a653f * Multiplayer Commander - Fixed that the starting player wrongly skipped his draw step. 2014-12-16 13:09:48 +01:00
fireshoes
218e044804 Added Holiday Cube 2014 and some new cards 2014-12-12 13:58:03 -06:00
LevelX2
2af52cfd3a [C14] 11 white cards + 1 Artifact + white deck list + some minor fixes to framework and other cards. 2014-12-01 16:59:36 +01:00
LevelX2
bda59fafcf * Fixed possible exception during choosing replacement effect resolve order. 2014-11-26 12:29:42 +01:00
LevelX2
67479bb5a4 * Fixed wrong timer handling while other player controlled a player's turn. Attackers now marked with blue frame. Playable cards have a violet frame. If a player has to select cards from hand, the possible cards are marked yellow now. Discard of multiple cards now marks already selected cards and happens in one selection. 2014-11-26 01:48:00 +01:00
LevelX2
7e145d2cfd * Added possibility to allow other players to see hand cards of player. 2014-11-24 23:03:21 +01:00
LevelX2
c22b54d262 *Draft - Non hidden picked cards go to the deck. Hidden cards to sideboard. 2014-11-23 18:43:31 +01:00
LevelX2
97412e3e9e * Started reworking netmana to also handle mana sources that could only produce 2-4 colors. Not finished yet. 2014-11-17 17:37:02 +01:00
LevelX2
a2484cc6d9 Added F10 to skip priority while the stack resolves. 2014-11-16 08:59:59 +01:00
LevelX2
8bb2868dfa * AI - Fixed that the AI used actions with 0 costs endless (e.g. Chimeric Idol). 2014-11-11 15:40:51 +01:00
LevelX2
8d76836eb6 Added Profane Command, Hallowed Spiritkeeper, Song of the Dryads, Phantom Centaur, Freyalise Llanowar's Fury. 2014-11-10 08:29:04 +01:00
LevelX2
04ba280be1 * Cube - Added The Peasant's Toolbox cube. 2014-11-08 17:20:36 +01:00
LevelX2
d7f100b24b * Added "Duel Commander" format (fixes #436). 2014-11-08 01:33:29 +01:00
LevelX2
751365124e * Commander - Players no longer go to a sideboarding phase during caommander matches. 2014-11-07 14:24:07 +01:00
LevelX2
f1b063f339 * Fixed commander format check. It ignores now mana symbols of reminder text like used for Extort (Fixes #553). 2014-11-05 14:55:30 +01:00
LevelX2
5ac9e5c5db * Fixed wrong card names of MTGO Legacy Cube and Ben's Cube. 2014-11-05 00:39:28 +01:00
LevelX2
9b6bc80f34 Added MTGO Legacy Cube. 2014-11-03 22:31:13 +01:00
LevelX2
8426816b09 * Some changes to table and match view. 2014-11-01 14:24:23 +01:00
LevelX2
1396760d5e * Fixed a problem that prevented cards from beeing marked as choosable in select card panel after the changes made for displaying resized counters. 2014-10-31 18:34:41 +01:00
LevelX2
df71237f46 * Added logic to auto select replacement effects. Some changes to counter size and font size handling. 2014-10-30 20:40:23 +01:00
LevelX2
4bbc733496 * Cubes - Added cube from www.mtgcube.com. 2014-10-29 08:58:12 +01:00
LevelX2
473204d713 *Cubes - Added Ben's cube. 2014-10-29 01:38:04 +01:00
LevelX2
2c164af920 * Booster draft swiss - Fixed a bug that the draft object was not set to the tournament object. 2014-10-25 08:58:39 +02:00
LevelX2
c760fba685 * Updated commander banned list (as September 12, 2014). 2014-10-22 15:14:10 +02:00
LevelX2
bdd163080d * Draft - Show draft time and draft progress. Show game threads and ma games. Fixed a problem with AI player and password. 2014-10-12 22:37:39 +02:00
LevelX2
5ccc1c91ae * Tournaments - Added handling for constructed formats and password protection. 2014-10-12 04:19:28 +02:00
LevelX2
0a23fe1e8a * Skip phase of preferences will only be applied if the stack is empty. 2014-10-10 14:25:44 +02:00
LevelX2
7f46323f67 * Added F7 to skip until next main phase. Added some preference options to skip handling. Clicking on phase bar opens now phase bar preferences. 2014-10-05 14:33:47 +02:00
LevelX2
b3b51f9f1e * AI added little passivity penalty for passing turn to get AI more active. 2014-10-03 12:07:59 +02:00
LevelX2
f7535505dd * Allow deselection of target cards (eg. in graveyard using Delve). 2014-10-03 12:07:20 +02:00
LevelX2
140ffb256a * Fixed Standard Format selection. Client used fixed date. Check on deck validator used wrong month (1.11 insted of 1.10). 2014-10-02 16:59:25 +02:00
LevelX2
f3ea64e27c * Changed handling of phases to stop to server based handling. 2014-09-25 00:33:58 +02:00
LevelX2
aa842efacc Added F5 button to skip priority until end step of opponent. Added PlayerAction handling. 2014-09-24 16:55:51 +02:00
LevelX2
17acc9f97d * Fixed that a player could wrongly not be chosen for not targeted effect, if the player had hexproof. 2014-09-22 22:27:10 +02:00
LevelX2
08b26ae57a * Deflecting Palm - Fixed that damage dealing did not work if the source was a spell. 2014-09-21 09:41:01 +02:00
LevelX2
da64b8757a * Pauper Format - Allowed basic lands to be included in decks. 2014-09-07 02:33:36 +02:00
LevelX2
cb6cc62ed4 If match timer is used, the AI consumes now also time for their priority action. Some minor changes to Gamemanager. 2014-09-03 09:49:44 +02:00
LevelX2
dcdbc10187 Fixed some effects that did target doesn't untap next untap step not handle quite correctly. 2014-08-26 16:59:37 +02:00
LevelX2
944de8140c * Added possibility for choose method to deselect cards. 2014-08-19 16:36:52 +02:00
LevelX2
d46b4a7248 Fixed a bug of computer player handling TargetCreatureOrPlayerAmount. 2014-08-18 23:52:35 +02:00
magenoxx
ffa987755b Added using RuleModification effect and setting targetAbility for triggered abilities 2014-08-18 19:42:29 +04:00
LevelX2
d02f272bca * Fixed that attacker has not always to assign all damage to multiple blockers. Improved AI behaviour of assigning damage to multiple blockers. Tries to kill blocker if possible now. 2014-08-18 00:46:45 +02:00
LevelX2
25180e232e * AI - Added missing handling for TargetCardInExile. 2014-08-17 22:32:13 +02:00
LevelX2
f633d35bfd * Wall of Roots - Fixed that Wall could not be used after beeing exiled and returned with Momentary Blink. 2014-08-16 19:27:43 +02:00
magenoxx
de6d1bf46b Asserting action count in tests. minor changes. 2014-08-15 10:52:37 +04:00
LevelX2
797ee3d945 Some minor logging and comment changes. 2014-08-13 16:58:19 +02:00
Quercitron
f93624f827 Add ability to Cost.canPay method parameters 2014-08-10 21:34:17 +04:00
LevelX2
9ae2b5594e Merge pull request #495 from dustinconrad/master
Use dependency management to use common versions of log4j and junit
2014-08-10 02:16:31 +02:00
LevelX2
de366fe835 * Commander - Fixed that Snow-Covered lands were restricted to 1. 2014-08-10 02:08:19 +02:00
Dustin Conrad
809d61d5ea Use dependency management to use common versions of log4j and junit in all the projects. 2014-08-09 19:38:34 -04:00
LevelX2
2ca945fabf Some more changes concerning ThoughtAsEffects. 2014-08-09 11:48:40 +02:00
LevelX2
471c5bed4a * Pauper - Added pauper format. 2014-08-07 17:16:42 +02:00
LevelX2
e787132007 * Updated restriced/banned lists of different formats. 2014-08-06 09:47:59 +02:00
LevelX2
3aab091492 Some changes to client and server logging messages. 2014-08-04 17:21:14 +02:00
LevelX2
cbb6117b8e Replaced some replacement effects with restriction effects. Added new method to restriction effect. Improved canAttack methods (not finished yet). 2014-08-01 15:59:59 +02:00
LevelX2
1a1fc09221 * Fixed a bug that allowed to apply damage prevention replacement effects under certain circumstances multiple times to the same event. 2014-07-31 15:16:48 +02:00
LevelX2
1f51d243ec * Finished to change ReplacementEffects for UNTAP event to ContinuousRuleModifyingEffect. 2014-07-29 17:45:48 +02:00
LevelX2
ea1a098300 * Spellskite - Fixed that target could wrongly not be changed to spellskite in some cases. 2014-07-29 17:44:42 +02:00
LevelX2
c8d76cdaaf * Added Dream Halls and Curse of chain (and what was neccessary to get Dream Hall costs to work). 2014-07-27 11:22:22 +02:00
LevelX2
c3a5476bd4 * MTGOMarchCube2014 fixed two card name spelling mistakes. 2014-07-27 02:15:24 +02:00
LevelX2
25e2fb59e1 Support of play_land event for get playable cards. 2014-07-26 15:01:17 +02:00
magenoxx
65a0c9fc79 [UI] Displaying creatures that can attack 2014-07-18 16:05:21 +04:00
Quercitron
e5b2b39701 Make order of parameters the same for methods player.damage and permanent.damage 2014-07-18 02:11:11 +04:00
magenoxx
60d04e2614 [UI] Showing choosable cards in dialog - Issue#456 2014-07-15 16:31:41 +04:00
LevelX2
9609480109 * Cruel Ultimatum - Fixed that wrongly creatures in all graveyards could be selected. 2014-06-29 13:35:28 +02:00
Quercitron
13b8cad131 Change handling of minNumberOfTargets and required status 2014-06-29 02:45:18 +04:00
LevelX2
d84076ba40 * Added 28 cards from Vintage Masters. 2014-06-27 13:41:28 +02:00
LevelX2
513b012dc0 * Fixed draw handling. Fixed concede handling. Fixed message generation for game end view. Added some debug messages. 2014-06-25 01:34:11 +02:00
LevelX2
bcf620a459 * Combat - Creatures forced to attack can no longer be removed from attack by using the undo button (e.g. Bident of Thassa). 2014-06-20 14:45:35 +02:00
LevelX2
7d2b1c076a * Combat - Creatures forced to attack can no longer be removed from attack by using the undo button (e.g. Bident of Thassa). 2014-06-20 14:19:03 +02:00
LevelX2
b360bb1528 Removed redundant remove user from chat call and some formatting. 2014-06-16 07:48:15 +02:00
Quercitron
9629c3f0f5 Modify implementation of Target's required status 2014-06-15 19:23:30 +04:00
Quercitron
f2114f4701 Fix build for Player AI projects 2014-06-13 20:21:07 +04:00
Quercitron
250909a464 Make required status of target based on the type of ability 2014-06-12 23:35:56 +04:00
North
9324e93868 [refactor] removed generic parameter from Game classes 2014-06-03 12:33:02 +03:00
North
1867a150c1 [refactor] removed generic parameter from Player 2014-06-03 11:19:49 +03:00
LevelX2
77fb744991 Set for simulated games of the AI the simulation flag (please report if this causes any problems). 2014-06-02 08:32:22 +02:00
LevelX2
21b340e313 * Theros block format - Fixed wrong set code for Journey into Nyx. 2014-05-30 23:14:36 +02:00
LevelX2
2b59a6faae Ability picker is shown now for only one ability if preference setting is on and ability has no mana costs or is no play land ability. 2014-05-30 20:24:00 +02:00
LevelX2
c13f7a2115 * Mana pool handling - Fixed bug where wrong playerId was used. Fixed that menu check state is the same for all GamePanles of client. 2014-05-27 16:54:38 +02:00
LevelX2
d9e4e99a0f Some changes to manual mana pool handling. 2014-05-27 08:37:16 +02:00
LevelX2
8087a07a9c * AI Player - Fixed a bug that AI did not care about existing filter criterias for choosing cards from own hand. 2014-05-26 16:57:36 +02:00
LevelX2
2652316421 Some changes to handling of triggered effects and player response. 2014-05-25 13:53:32 +02:00
LevelX2
71fb7bf25b Added context menu to switch between manual and automatic usage of the mana in mana pool. Manual usage is done by clicking on the mana symbol in the player panel. Still some fine tuning to do. 2014-05-24 02:56:35 +02:00
LevelX2
8354f4f392 Fixed some spelling errors in cube card lists. 2014-05-17 18:13:58 +02:00
LevelX2
83bf215bc9 Fixed some spelling errors in cube card lists. 2014-05-17 18:13:23 +02:00
LevelX2
76ce168436 * Deck editor - Changed wrong reference to images. 2014-05-08 22:20:59 +02:00
LevelX2
473c9e207b Fixed (probably) the player1 concedes but other player2 wins. Fixed that if player runs out of timer time or player lose of beeing idle, the match will end correctly. 2014-05-01 19:34:52 +02:00
LevelX2
abfe517c17 * AI player - Fixed a problem that AI uses Sphinx of Jwar Isle ability in an endless loop. 2014-04-30 07:15:01 +02:00
LevelX2
915651335a Fixed that in tournament a automatically generated deck will be submitted if player doesn't submit a deck in time (fixes #421). 2014-04-29 17:32:24 +02:00
magenoxx
27dbcf2d6c Unhinged lands (Issue#416) 2014-04-25 18:10:33 +05:30
LevelX2
0523905cc6 AI - Added code to handle TargetSpellOrPermanent (not smart). 2014-04-22 16:37:21 +02:00
LevelX2
cf4913ae96 * If an abilit yhas only a pay life cost, the ability picker dialog is shown if the prefence option to ability picker for abilities without costs is activated. 2014-04-14 17:32:55 +02:00
LevelX2
93b968d92a * Desecration Demon - Made AI not using the sacrifice ability any more. 2014-04-06 17:24:44 +02:00
LevelX2
73885ab01d * Iona, Shiel of Emeria - Added choice information to card tooltip. 2014-04-04 08:39:19 +02:00
LevelX2
f5ff18acfa * Cube - Added "MTGO Cube March 2014" cube. 2014-03-29 20:44:36 +01: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
05cfa23931 * Player Hexproof - Fixed that the Player Hexproof prevented that the player could be attacked. 2014-03-25 23:57:07 +01:00
LevelX2
ac93732b1a * Goblin Welder - Fixed that second target of Goblin Welder was not handled by AI player. 2014-03-24 16:03:16 +01:00
LevelX2
27d441de0a Minor changes to AI logging. 2014-03-24 08:33:07 +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
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
e9a301da3c Added a mono blue draft cube. 2014-03-17 16:57:11 +01:00
LevelX2
577b431029 * AI player - Fixed a bug that sometimes valid targets were not taken into account. 2014-03-15 17:44:56 +01:00
LevelX2
3dde0bab89 * Fixed AI announcing value for non mana variable costs. 2014-03-10 08:17:38 +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
8d2f4cc9ac * Draft - Added "Quit Tournament" button to draft panel. Minor formatting. 2014-02-28 17:47:27 +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
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
67e25d43bd * Finished changes for new preference option to force showing ability picker for 0 mana spells or abilities with only tap costs. 2014-02-12 20:52:33 +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
ed64a9ff49 * Minor formatting. 2014-02-11 00:39:31 +01:00
LevelX2
b28d389e50 * Banned list - Added changes for 2014-02-07- 2014-02-03 07:46:05 +01:00