Commit graph

437 commits

Author SHA1 Message Date
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
LevelX2
d959edb4b3 Added new method game.isOpponent() for faster opponent check. 2014-01-30 10:46:30 +01:00
LevelX2
19679c9f6e Some minor changes / formatting. 2014-01-28 13:48:40 +01:00
LevelX2
ad71ec6aad Set Version 1.3.0. 2014-01-25 15:55:39 +01:00
LevelX2
e490d6af61 Added cubes for Sealed and Daft Tournaments. Added a simple Swiss like tournament format. 2014-01-10 19:58:55 +01:00
LevelX2
2708916cd6 * Logging - Changed logging of gameStateEvaluator2. 2013-12-31 12:59:07 +01:00
LevelX2
148cc557f4 Fixed a spelling error in commander format check. 2013-12-27 16:40:42 +01:00
LevelX2
05cbd90fe2 * Commander - Added commander multiplayer format. Fixed commander damage win condition to only counting combat damage. Added some info to tooltip text of commander. 2013-12-23 17:14:56 +01:00
LevelX2
fa6e22ca6a Added logic to limit number of allowed attackers attacking defending player. 2013-11-30 23:29:38 +01:00
LevelX2
6d0b38c8ca * Commander - Fixed a NPE if change control effects are used during commander game. 2013-11-22 00:30:14 +01:00
LevelX2
b8af8106f6 Added ManaInAnyCombinationEffect and RemoveCountersForCostCondition and some minor formatting and additions. 2013-11-21 14:28:54 +01:00
LevelX2
aa6be2f4da * Commander - Allow activated abilities from command zone, card going back fom exile zone after commander mulligan are no longer face down in library. 2013-11-19 08:11:34 +01:00
LevelX2
33c6bf1385 Ability picker shows now the name of the object instead of {this] in ability text.. 2013-11-06 14:32:50 +01:00
LevelX2
0697801cdc * Commander - Fixed cost reduction for casting commander. 2013-11-01 17:03:33 +01:00
LevelX2
2c46929fff [C13] Added Command Tower, Homeward Path, Contested Cliffs, Marath Will of the Wild. 2013-10-31 17:30:30 +01:00
LevelX2
d094f291aa Pushed version to 1.2.0dev. 2013-10-26 13:01:31 +02:00
LevelX2
ba27dbf36e * Faerie Imposter - Fixed AI didn't handle target (TargetPermanent) correctly (fixes #360). 2013-10-20 14:21:54 +02:00
LevelX2
43da29da44 Fixed two possible NPE. 2013-10-12 22:57:44 +02:00
LevelX2
a2f1d08474 * removed some test debug messages. 2013-10-12 17:21:20 +02:00
LevelX2
4513c7f7c3 Created a ConstrucedEliminationTournament (only the server plugin yet). 2013-10-10 16:19:30 +02:00
LevelX2
d34779fa68 * Changed logging level back to info, changed level of a lot of messages to debug from info. Added check that certain AI players can't join a table with no appropriate format. 2013-10-09 15:22:40 +02:00
LevelX2
4f2f08840b * Fixed some functions which locked or stopped the game after a player conceded the game. 2013-09-25 20:42:00 +02:00
LevelX2
d2f83b1ade Added Theros block format. 2013-09-24 16:54:55 +02:00
LevelX2
eafa18a6e8 Fixed possible NPE in HumanPlayer. 2013-09-21 23:46:48 +02:00
LevelX2
acd52e2a61 Fixed possible NPE in HumanPlayer.announceXMana (Fixes #319). 2013-09-12 13:14:22 +02:00
LevelX2
a97d019ca5 Added info text to limited check, if deck has less than 40 cards. 2013-09-05 16:24:44 +02:00
LevelX2
e6c42edc4f Fixed false min target handling of computer player. Some minor changes and additions to framework. 2013-08-16 10:15:20 +02:00
Backfir3
ccc0bf4b6d Fix missing parameter in after Odric Master Tactician commit 2013-08-06 22:44:04 +02:00
LevelX2
0d37d1593b * Odric Master Tactician - Fixed that the game didn't leave the block phase controlled by the controller of Odric. 2013-08-06 18:26:49 +02:00
LevelX2
4a28881f71 Added as thought effect to let creatures block tapped. 2013-08-03 20:14:11 +02:00
Plopman
cf7b06c611 [Commander] Implement commander mulligan 2013-07-26 21:21:01 +02:00
Plopman
a8538885ab [Commander]Added alternative lose condition. (21 damages by commander) 2013-07-23 18:15:12 +02:00
LevelX2
7d0cf3cd8c Set version to 1.1.0 dev. 2013-07-21 22:52:25 +02:00
Plopman
15862b4fc5 [Commander] return Commander to command zone when it's exiled or put in graveyard 2013-07-20 11:53:17 +02:00
LevelX2
7c6666062e Fixed that AI can handle TargetDiscard or TargetCardInHand with MinNumberOfTargets > 1. 2013-07-18 13:19:44 +02:00
Plopman
d1ee8a7e9a [Commander] Move commander to command zone at the begging of the game 2013-07-17 20:38:07 +02:00
LevelX2
9838dea551 Added possibility to show tournament panel and watch tournament games (if allowed at tournament start) for spectators . 2013-07-16 17:39:02 +02:00
LevelX2
4721c6aaca Fixed handling of sacrifice Planeswalker or Legend permanent caused by new rule for AI choose target. 2013-07-15 19:56:01 +02:00
LevelX2
178b4cb158 Fixed random set for basic land definition. (Fixed issue #274) 2013-07-15 13:27:12 +02:00
LevelX2
bc9dca4d8a Fixed some handling to possible NPEs. 2013-07-15 00:53:30 +02:00
LevelX2
f8b81f7a52 [M14] Added 9 black cards. 2013-07-09 16:08:43 +02:00
LevelX2
5a8a7b19de Client add land set search uses now ExpansionRepository. 2013-07-07 18:23:31 +02:00
North
200a565a9d Merged DeckValidator interface with DeckValidatorImpl 2013-07-06 11:08:36 +03:00
LevelX2
9d5327da7a * Rag Dealer / Serene Reembrance - Fixed target handling for AI. 2013-07-04 08:26:26 +02:00
LevelX2
7b260c960b Added a quit match option. FFA game gets no more killed if host left mage or quitted match. 2013-07-02 22:15:49 +02:00
LevelX2
6505410512 Call leave inTwoPlayerDuel because for disconnect this was missing. 2013-07-02 17:02:40 +02:00
LevelX2
ef811ff0bf Improved state handling of tournament panel. 2013-07-01 20:26:55 +02:00
LevelX2
06163d6ac5 Adding Player state to TournamentPlayer and TournamentPanel. 2013-07-01 17:11:44 +02:00
LevelX2
63783d9fe2 * Tornament construction time - Fixed that the selected value was not used. 2013-06-29 17:52:19 +02:00
LevelX2
853810ce45 Added support for casting modal spells or activating modal abilities with more than one mode to choose. 2013-06-22 19:35:22 +02:00
magenoxx
42dd9d81b4 Timers (In progress) 2013-06-19 17:12:31 +04:00
North
0bb110be45 [refactor] moved enums from Constants class 2013-06-16 12:28:10 +03:00
LevelX2
5addb63757 * Changed indestructible to an ability according M14 rule change. Also fixed that for indestructible permanents the DESTROY_PERMANENT event was triggered what led to bugs with abilities like Totem Armor. 2013-06-15 17:57:01 +02:00
LevelX2
84df0f2c43 * Added tournament options for adjustable construction time and free mulligans
* Added duel options for free mulligans
2013-06-14 23:45:30 +02:00
LevelX2
ae6139f859 * The check if a card is legal to a format checks now if the card is legal if taken from other sets in case the set itself of the card is not legal normally (reprint). 2013-06-10 08:19:01 +02:00
LevelX2
9894593d4c Mulligan message shows the number of cards the player mulligans to. 2013-06-03 21:46:17 +02:00
LevelX2
5336d4c0f9 Pushed version to 1.0.3 dev. 2013-05-12 16:00:25 +02:00
LevelX2
6b38cd5b18 Mage Version 1.0.2 2013-05-11 23:06:30 +02:00
LevelX2
caff4ba2fe Changed a log level of AI log statement. 2013-05-11 20:48:03 +02:00
LevelX2
b352217e17 Some improvements to split card handling. Better display of tooltip of split cards, also added handling if not cast from hand. 2013-05-09 21:26:15 +02:00
LevelX2
d00e953ad9 Added Levacy to the construced formats. 2013-05-03 08:37:30 +02:00
jeffwadsworth
f6d97367fc - Added some Dragon Maze cards. 2013-05-02 16:37:21 -05:00
jeffwadsworth
ad99fcad23 - Added some Dragon Maze cards. Improved AI attacking with flying creatures. 2013-05-01 16:00:49 -05:00
LevelX2
ae350f81a3 Updated formats with banned and unbanned cards. 2013-05-01 20:43:35 +02:00
jeffwadsworth
4feb0638bd - Added Ruric Thar, the Unbowed. Little fix. 2013-05-01 11:15:53 -05:00
jeffwadsworth
111f198f3d - Added some cards. AI will no longer attack with creatures at 0 power. 2013-05-01 10:27:48 -05:00
LevelX2
2fce670024 Fixed a bug that AI did not choose a creature card in her graveyard if opponent casts Exhume. 2013-04-24 00:29:37 +02:00
North
a3411f2486 [cleanup] removed unused imports 2013-04-19 20:01:10 +03:00
LevelX2
1e5100e0d6 Added the logic, that one continious effect in game state can be connected to multiple abilities. This fixes issue #198 and #196. 2013-04-17 23:44:50 +02:00
LevelX2
8b2c3e75e1 Some minor changes to game classes. 2013-04-15 17:56:06 +02:00
LevelX2
f644ffe041 Changed color of frame of avatar for active player to green again. Checked that a player of a game can't also watch his own game. Added a match score to the start of the game log. Changed the color of the Turn [X] message. Tips and join messages during a game are displayed in the chat panel instead the game log panel. Display of the player name when hovering over the avatar is more vertical centered. 2013-04-07 21:29:27 +02:00
Plopman
ba4455e5cb Fixed select best card (ComputerPlayer) 2013-04-06 18:23:53 +02:00
LevelX2
48f1560cb8 Added new AsThoughtEffectType to reveal face down cards (not a perfect solution I know, but better as using the cast type. If someone has a better idea to handle this, I'm open). 2013-04-06 00:04:21 +02:00
LevelX2
de20fcb5cc [minor] formatting 2013-04-02 13:46:43 +02:00
magenoxx
97acebacdd Pumped version to 1.0.2.dev 2013-04-01 16:00:30 +04:00
LevelX2
5afb189315 Added modern format to the constructed formats. Updated list of banned cards of constructed formats. 2013-03-31 19:14:33 +02:00
magenoxx
29b84e0d92 Closed #169: Make it possible to untap lands 2013-03-29 20:35:16 +04:00
magenoxx
05191e8793 Closed #168 : Enhance priority hot keys 2013-03-29 17:18:12 +04:00
LevelX2
402f7fffd9 Tournaments status is updated now and if tournament finished, it's moved to the lower finished matches view. 2013-03-27 22:31:15 +01:00