Commit graph

604 commits

Author SHA1 Message Date
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
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
LevelX2
32dff5ae72 Added replacement of {this} and{source} for selection of replacement effect order. 2013-03-23 16:40:15 +01:00
LevelX2
8cf2514edb [minor] formating 2013-03-17 16:10:48 +01:00
LevelX2
dcacb90ba9 Optimized the AI-ScoringSystem for enchantments. 2013-03-15 16:00:44 +01:00
LevelX2
65a7049d02 Optimizes optimizeOptions of AI. 2013-03-15 15:58:44 +01:00
LevelX2
ee4b203ace Fixed compile error after AI update. 2013-03-15 10:33:43 +01:00
magenoxx
a017217574 Fixed compile error 2013-03-15 13:24:29 +04:00
LevelX2
70a8ede4d5 Merge changes. 2013-03-15 00:04:29 +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
magenoxx
3205cc867f Code and tests for Issue#156: Make smarter dual lands mana choose 2013-03-14 18:31:31 +04:00
LevelX2
8759db2fd6 [minor] formating. 2013-03-12 21:55:32 +01:00
LevelX2
cb43a58290 Some changes to AI logging. 2013-03-12 17:31:22 +01:00
North
a7a565bb8f [minor] access modifer order 2013-03-10 14:53:02 +02:00
LevelX2
aa0290fd32 Set Version to 1.0.1 2013-03-10 11:40:56 +01:00
LevelX2
88b2b9546a [minor] changes to logging 2013-03-06 17:21:12 +01:00
North
a327668660 fixed possible NPEs 2013-03-02 18:02:09 +02:00
North
5f6f1c7528 [minor] removed unused imports 2013-03-02 18:02:02 +02:00
magenoxx
5577d5b3a8 Changed version from 0.10.1 to 1.0.0 2013-02-26 14:11:00 +04:00
LevelX2
0aa218f6ea Minor changes to logging of ComputerPlayer. 2013-02-26 08:28:36 +01: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
d5989b32fd Minor changes to the logging of ComputerPlayer. 2013-02-21 17:05:35 +01:00
LevelX2
f75575f99b Samll changes to ComputerPlayer logging, FromZone Pick for CardImpl added. 2013-02-21 01:22:10 +01:00
LevelX2
768cf365b9 Some more changes to the logging messages of ComputerPlayer. 2013-02-21 00:07:43 +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
ca2480dda0 Added AI ability values for Evolve and Extort. 2013-02-15 00:26:41 +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
Plopman
4833b379df Added Commander DeckValidator 2013-01-18 17:30:27 +01:00
LevelX2
176210dc8d Added some simple logic for AI to choose a creature type. 2013-01-16 23:42:37 +01:00
Backfir3
ef54888e01 Commander Game. Added placeholder game plugin
- modified players life amount
- updated .gitignore
2013-01-15 22:00:37 +01:00
LevelX2
3b948a1e70 Added GTC (gatecrash) to some objects and lists. 2013-01-03 20:31:24 +01:00
jeffwadsworth
71d01ce9e5 - Another fix for AI blocking. This should work better. 2012-12-31 12:26:27 -06:00
Loki
aa31ef23d3 bump version to 0.10.1 2012-12-28 12:48:26 +13:00
jeffwadsworth
9ac5a1d47e - Simplified blocking. Freezes should no longer occur. 2012-12-23 21:12:44 -06: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
LevelX2
8ccca932c1 Added some more block formats for deck validation. Sort list. 2012-11-14 07:51:24 +01:00
jeffwadsworth
8dcfead462 - Attempt to fix the AI attacking with your creatures. Small enchancements to AI attacking. 2012-11-08 11:57:13 -06:00
jeffwadsworth
ad035f1e47 - Blocking by the AI should no longer freeze. Please post any errors. Small attack AI adjustments. 2012-11-07 14:58:26 -06:00
North
f64149971a Merge branch 'CardRepository' 2012-11-05 19:37:51 +02:00
North
25cd490be3 [CardRepository] moved Sets, DeckImporter and CardRepository to Mage Framework 2012-11-04 12:52:02 +02:00
jeff
1d7e9e55be - AI will now block and attack a little more sanely. The sim methods are not working right now, so they were commented out. 2012-11-03 21:34:32 -05:00
North
08815ffb88 [CardRepository] Replaced findCard methods from Sets and ExpansionSet 2012-10-22 23:48:52 +03:00
LevelX2
7c44b16504 AbilityPicker shows abilities now always in the order they were defined on the object. 2012-10-10 20:43:18 +02:00
LevelX2
2ff4dcd283 Minimal numer of players for sealed elimination tournament set to 2, so one can match with only one other player. 2012-10-07 02:44:34 +02:00
LevelX2
76233a4252 Modes are now sorted in the order they are added in the card. For rules text and when a player chooses a mode. 2012-10-07 02:41:58 +02:00
magenoxx
a3b99c7ff0 Fixed AI exception for TargetCardInOpponentsGraveyard 2012-09-07 20:48:44 +04:00
North
7e5b677647 Added UnblockableSourceEffect; Unblockable isn't Singleton anymore 2012-09-07 00:38:24 +03:00
North
204d2410a1 Reimplemented Indestructable using a replacement effect 2012-09-05 00:01:08 +03:00
Loki
46ec86b54c 0.9.2 dev 2012-09-04 21:24:44 +12:00
magenoxx
1454cbb3c8 Fixed Issue#39: Vile Rebirth or Revive always fizzles when cast by AI 2012-08-31 14:31:13 +04:00
magenoxx
cc4d772483 Fixed Issue#53: AI casts Rancor, but Rancor goes to graveyard 2012-08-31 13:46:29 +04:00
North
73642f6649 Added default configuration for ai-ma.
Now it can be loaded as runtime dependency.
2012-08-26 18:55:23 +03:00
Loki
85b31df2d5 Bump version to 0.9.1dev 2012-08-14 15:28:06 +12:00
magenoxx
c97d5e8a35 AI enhancements 2012-08-03 16:53:01 +04:00
magenoxx
eefedc03b9 [AI] enhanced targeting. card fixes 2012-07-29 10:31:46 +04:00
magenoxx
2200fb8572 [AI] Improvements on repeating actions 2012-07-29 08:56:35 +04:00
magenoxx
f452d472b5 fixed module name fpr ai-draftbot 2012-07-27 15:43:04 +04:00
magenoxx
1eb230e236 Fixed Issue#29: It is possible to cancel creature attack even if it must attack 2012-07-26 18:47:04 +04:00
magenoxx
0e0f90d29d [draft] M13 draft picks 2012-07-25 20:29:25 +04:00
North
987e28cef3 [M10] Mirror of Fate 2012-07-23 23:53:24 +03:00
North
d773ed3d13 [filters] Replaced EvilTwin filter with predicate
This commit also touches the targeting system. Changes were made for consistency.
2012-07-21 23:18:17 +03: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
magenoxx
c304812770 Debug logging for Issue#19 2012-07-18 13:57:54 +04:00
magenoxx
fce6756d77 Skipping attack declare if skipped turn. Made F4 and F9 working on declare attackers and blockers phases 2012-07-18 10:44:08 +04:00
magenoxx
ed0af0faee Added skip-all-turns-and-actions feature. Bound to F9. 2012-07-18 10:15:50 +04:00
North
4563e518a6 [filters] Replaced TargetController condition with Predicate 2012-07-16 20:55:58 +03:00
North
d66c172952 [filters] Refactored FilterAbility to use Predicates
FilterAbility isn't used anywhere. I only noticed after I finished rewriting it. I'll keep the class in the repository just in case someone would need it.
2012-07-15 16:58:01 +03:00
magenoxx
235b262618 removed .iml file. updated gitignore[A 2012-07-08 06:59:19 +04:00
North
e4438072c2 [refactoring][minor] formatting 2012-07-04 23:58:22 +03:00
magenoxx
96c09e940c format 2012-06-29 20:31:25 +04:00
magenoxx
5541fe4163 updated version from 0.8.6.r5 to 0.8.7 2012-06-29 14:56:13 +04:00
magenoxx
ebd92b2a3c CHANGE_COLOR and COLOR_CHANGED events 2012-06-29 13:00:44 +04:00
magenoxx
354b07d50e Draft bot - only draft picks, will be auto eliminated and doesn't participate in tournament 2012-06-28 19:32:32 +04:00
magenoxx
b5032226f4 Showing already chosen cards in choice dialog 2012-06-27 18:44:03 +04:00
magenoxx
d344d2315d mistype on previous commit 2012-06-27 16:18:44 +04:00
magenoxx
e702329003 Increased planeswalker card value for AI 2012-06-27 16:16:53 +04:00
magenoxx
ead0106d65 Fix strange rebase 2012-06-20 11:22:37 +04:00
magenoxx
e90ce893c5 Changes in state evaluation (permanents more valuable). Fix in combat blocking. 2012-06-20 11:19:22 +04:00
North
239a4fb100 [refactoring][minor] Replaced all tabs with four spaces. 2012-06-19 23:50:20 +03:00
magenoxx
77ecea1253 Combat NPE fix for mad ai 2012-06-17 13:12:36 +04:00
magenoxx
be06cb7790 Removed .iml files 2012-06-14 19:49:57 +04:00
magenoxx
5be6f78d59 Adding writting amount of mana payed for {X} cost 2012-06-12 10:38:39 +04:00
magenoxx
7445876ec5 Fixed AI target choosing. +1 test passed. 2012-06-03 18:41:58 +04:00
magenoxx
4e0a5c65e3 Fixed AI attacking not causing attack triggers 2012-05-29 09:09:38 +04:00
magenoxx
12b21abe52 changed version from 0.8.5 to 0.8.6 2012-05-25 19:04:40 +04:00
magenoxx
32e29392d2 [AVR] Second Guest + tests. Refactored filters. 2012-05-24 09:01:31 +04:00
magenoxx
a47b8c25df Various fixed. +3 tests passed. 2012-05-24 00:24:01 +04:00
magenoxx
29b7f9ab9b Fix. +2 tests passed. 2012-05-23 21:45:37 +04:00
magenoxx
082a1fcb64 minor changes 2012-05-22 19:21:03 +04:00
magenoxx
3822e0d09b Soulbond keyword 2012-05-17 09:51:08 +04:00
magenoxx
aa224dee2f Fixed NPE in mad ai 2012-05-09 11:24:49 +04:00
magenoxx
fa0e623120 changed version from 0.8.4 to 0.8.5 2012-05-07 07:50:07 +04:00
Loki
95e4ef4ff8 [mad ai] removed dynamic aggression calculation for now. doesn't work correctly 2012-05-06 23:40:38 +03:00
magenoxx
537c326789 [load] loading testing: added simple test for starting game by two players 2012-04-30 18:56:36 +04:00
magenoxx
655a84a65f [mad ai] more code for attack 2012-04-12 20:48:21 +04:00
magenoxx
f0be9c35d7 Moved skipping initial shuffling to game options. 2012-04-07 11:52:31 +04:00
magenoxx
deb6533bd8 [mad ai] emulating block declaration. safe block. (in progress) 2012-03-26 22:04:31 +04:00
BetaSteward
e859e142fa 2 DKA 2012-03-26 08:55:30 -04:00
magenoxx
523481b5a2 Added additional parameter for effect outcome. Updated choosing permanents for AI. 2012-03-26 10:59:04 +04:00
magenoxx
3875c1f7c0 Changed component version from 0.8.3 to 0.8.4 (dev) 2012-03-25 12:16:46 +04:00
magenoxx
0d8c533542 [mad ai] blocking (in progress) 2012-03-21 22:52:04 +04:00
magenoxx
d3080aa66f [mad ai] CombatUtil 2012-03-16 12:09:34 +04:00
magenoxx
f5acfcc58a [mad ai] migrating to static attack\block algorithm 2012-03-15 20:37:02 +04:00
BetaSteward
12027369a5 DKA - IncreasingVengeance 2012-02-29 13:35:34 -05:00
BetaSteward
68391a7522 fixed some NPE's and other errors 2012-02-23 15:26:57 -05:00
BetaSteward
48f5a469d4 fixes for monte carlo ai 2012-02-13 09:05:01 -05:00
Loki
e61ad860b1 remove project file 2012-02-08 13:01:13 +04:00
BetaSteward
6205ebaeb9 fixed Liliana Of The Veil npe when targeting tokens + added choose pile dialog 2012-02-07 15:15:47 -05:00
BetaSteward
d813283c19 adding back recent changes - not quite sure how I managed to revert all this 2012-02-02 23:48:25 -05:00
BetaSteward
1d32f49fd0 modified triggered abilities, continuous effects and zones 2012-02-02 23:27:23 -05:00
BetaSteward
fe0c5e48e9 cache already rated cards if not drafting or constructing 2012-02-02 23:01:56 -05:00
Loki
f793664aba remove invalid autogenerated card 2012-01-30 12:13:11 +04:00
BetaSteward
d641a6de72 update MCTS + removed from config.xml 2012-01-27 21:40:33 -05:00
BetaSteward
7fce6c552d fixes + optimizations + updates to monte carlo ai 2012-01-24 22:51:31 -05:00
BetaSteward
23616432e4 fixed ConcurrentUpdateException with multi-threaded ai 2012-01-24 22:50:18 -05:00
BetaSteward
377dd54fca single-threaded monte carlo + some fixes 2012-01-16 18:55:35 -05:00
BetaSteward
dfffdfcf8c latest monte carlo ai - has a memory leak 2012-01-10 21:29:53 -05:00
magenoxx
4d9493a256 Update jars. BugCantFindCardInLibrary now works. 2011-12-26 18:49:32 +04:00
Loki
0980ca5948 fix deadloop (need testing) 2011-12-26 17:52:52 +04:00
magenoxx
eb0bc89597 Tree optimizers. Fixed Issue 420. 2011-12-26 12:52:31 +04:00
magenoxx
d004525027 Test for equip ability. 2011-12-24 20:15:03 +04:00
magenoxx
cdb9cd69ff Now AI will use all abilities without paying attention to effect outcome.
This fixes ObNixilistheFallenTest.
2011-12-24 19:25:28 +04:00
magenoxx
53e9d2752b Fixed combat actions in MAD AI. Updated tests. 2011-12-24 18:45:13 +04:00
magenoxx
dc2ebdd16d Some tests fixes. Returned back checking for repeated action with the fix. 2011-12-24 12:34:00 +04:00
magenoxx
af05af7050 Fixed Issue 441. 2011-12-11 15:53:34 +04:00