Commit graph

249 commits

Author SHA1 Message Date
LevelX2
9c97953b6b Added some font color to object and player names output to game logging and feedback area. 2015-05-09 21:18:00 +02:00
Nathaniel Brandes
2f476b7c53 Cleanup sets.
This is an extensive renaming of sets to their correct names. "Duel
Decks" and "Not Standard Legal" have been merged into a "Supplemental"
set type. MTGO-only sets have been put into their own set type, just
like magiccards.info. Supplemental sets now have a "block" which is the
block that they have under magiccards.info, for easier organization. The
deck builder on the client now relies on an autogenerated list instead
of a hardcoded one.
2015-05-03 20:07:13 -07:00
LevelX2
8686f4f777 * Fixed a bug that the AI did for target selection not check correctly players with hexproof ability. 2015-05-02 09:47:38 +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
6b0f6be574 Fixed spelling bug of import mage.abilities.effects.common.continuous package. 2015-03-03 00:37:39 +01:00
LevelX2
7ce1e6de19 * Some minor changes. 2015-03-01 17:22:39 +01: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
19d71aaf84 * AI PLayer - Fixed a problem with targets of Venser, Shaper Savant. 2015-01-31 10:00:16 +01:00
LevelX2
8d8a2074f0 * Lion's Eye Diamond - Fixed that it now only can be cast at the time an instant spell could be cast. 2014-12-27 03:51:10 +01:00
LevelX2
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
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
f3ea64e27c * Changed handling of phases to stop to server based handling. 2014-09-25 00:33:58 +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
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
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
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
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
25e2fb59e1 Support of play_land event for get playable cards. 2014-07-26 15:01:17 +02:00
Quercitron
e5b2b39701 Make order of parameters the same for methods player.damage and permanent.damage 2014-07-18 02:11:11 +04: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
Quercitron
f2114f4701 Fix build for Player AI projects 2014-06-13 20:21:07 +04:00
North
1867a150c1 [refactor] removed generic parameter from Player 2014-06-03 11:19:49 +03: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
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
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
LevelX2
0523905cc6 AI - Added code to handle TargetSpellOrPermanent (not smart). 2014-04-22 16:37:21 +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
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
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
1f3687cc86 Switched to binary/source format java 1.7. 2014-02-18 17:35:32 +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
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
b8af8106f6 Added ManaInAnyCombinationEffect and RemoveCountersForCostCondition and some minor formatting and additions. 2013-11-21 14:28:54 +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
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
a2f1d08474 * removed some test debug messages. 2013-10-12 17:21:20 +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
LevelX2
4a28881f71 Added as thought effect to let creatures block tapped. 2013-08-03 20:14:11 +02:00
LevelX2
7d0cf3cd8c Set version to 1.1.0 dev. 2013-07-21 22:52:25 +02:00
LevelX2
7c6666062e Fixed that AI can handle TargetDiscard or TargetCardInHand with MinNumberOfTargets > 1. 2013-07-18 13:19:44 +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
5a8a7b19de Client add land set search uses now ExpansionRepository. 2013-07-07 18:23:31 +02:00
LevelX2
9d5327da7a * Rag Dealer / Serene Reembrance - Fixed target handling for AI. 2013-07-04 08:26:26 +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
North
0bb110be45 [refactor] moved enums from Constants class 2013-06-16 12:28:10 +03: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
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
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
Plopman
ba4455e5cb Fixed select best card (ComputerPlayer) 2013-04-06 18:23:53 +02:00
magenoxx
97acebacdd Pumped version to 1.0.2.dev 2013-04-01 16:00:30 +04: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
32dff5ae72 Added replacement of {this} and{source} for selection of replacement effect order. 2013-03-23 16:40:15 +01:00
LevelX2
9450074b70 Changed AI X costs handling according human handling. Fixed AI handling of modal spells. Changed some AI setting. Changes to AI lgging. 2013-03-14 23:55:14 +01:00
LevelX2
aa0290fd32 Set Version to 1.0.1 2013-03-10 11:40:56 +01:00
North
a327668660 fixed possible NPEs 2013-03-02 18:02:09 +02:00
magenoxx
5577d5b3a8 Changed version from 0.10.1 to 1.0.0 2013-02-26 14:11:00 +04:00
LevelX2
8597952af2 Fixed a bug of handling TargetControlledPermanent. Improved handling of TargetPermanent to choose also multiple targets if optional and useful (e.g. Azorius Justiciar). 2013-02-22 16:04:23 +01:00
LevelX2
0af121c3e4 Some more changes to logging of ComputerPlayer. 2013-02-22 08:40:32 +01:00
LevelX2
1f3dea13af Some formating and logging changes to ComputerPlayer. 2013-02-20 17:35:30 +01:00
LevelX2
58db10296a Imporved targeting for ComputerPlayer. 2013-02-17 01:09:46 +01:00
LevelX2
1c120c5f41 Added missing target handling of TargetDefender to ComputerPlayer. 2013-02-15 00:25:01 +01:00
LevelX2
58a05970e8 Fixed a bug for AI target handling of TargetCardInHand. 2013-02-14 10:53:42 +01:00
LevelX2
c375d80682 Fixed some missing target handling for ComputerPlayer. 2013-02-12 17:10:23 +01:00
LevelX2
e96203b10b Added for computer player missing handling of choosing TargetCardInGraveyard. This fixes issue #57. 2013-02-06 15:41:00 +01:00
LevelX2
fcd24572dd Computer generated decks for tournaments use now also appropriate basic lands for the cards included in the deck. 2013-02-06 00:50:00 +01:00
LevelX2
250bb8a705 Changed computer choose choice to prevent for NPE and choose a random choice instead always the first. 2013-02-04 23:31:20 +01:00
LevelX2
176210dc8d Added some simple logic for AI to choose a creature type. 2013-01-16 23:42:37 +01:00
Loki
aa31ef23d3 bump version to 0.10.1 2012-12-28 12:48:26 +13:00
North
f0b32e7ca3 Removed unused imports 2012-12-20 00:26:21 +02:00
Loki
f017ab903c version bump to 0.10.0 2012-11-15 22:47:15 +13:00
North
08815ffb88 [CardRepository] Replaced findCard methods from Sets and ExpansionSet 2012-10-22 23:48:52 +03:00
magenoxx
a3b99c7ff0 Fixed AI exception for TargetCardInOpponentsGraveyard 2012-09-07 20:48:44 +04:00
Loki
46ec86b54c 0.9.2 dev 2012-09-04 21:24:44 +12:00
Loki
85b31df2d5 Bump version to 0.9.1dev 2012-08-14 15:28:06 +12:00
magenoxx
0e0f90d29d [draft] M13 draft picks 2012-07-25 20:29:25 +04:00
North
5d0a832642 cleaned pom files and updated sqlight dependency 2012-07-19 21:15:09 +03:00
magenoxx
23a75c39ba [M13] Odric Master Tactician 2012-07-18 20:45:39 +04:00
magenoxx
b2cd3e75bd changed version from 0.8.7.dev to 0.9.0.dev 2012-07-18 15:59:07 +04:00