Commit graph

259 commits

Author SHA1 Message Date
LevelX2
19679c9f6e Some minor changes / formatting. 2014-01-28 13:48:40 +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
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
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
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
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
North
a327668660 fixed possible NPEs 2013-03-02 18:02:09 +02: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
North
f0b32e7ca3 Removed unused imports 2012-12-20 00:26:21 +02: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
magenoxx
0e0f90d29d [draft] M13 draft picks 2012-07-25 20:29:25 +04:00
magenoxx
23a75c39ba [M13] Odric Master Tactician 2012-07-18 20:45:39 +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
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
North
239a4fb100 [refactoring][minor] Replaced all tabs with four spaces. 2012-06-19 23:50:20 +03: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
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
3822e0d09b Soulbond keyword 2012-05-17 09:51:08 +04:00
magenoxx
537c326789 [load] loading testing: added simple test for starting game by two players 2012-04-30 18:56:36 +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
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
BetaSteward
6205ebaeb9 fixed Liliana Of The Veil npe when targeting tokens + added choose pile dialog 2012-02-07 15:15:47 -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
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
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
1b9f75f29b Several fixed in AI targeting. Fixed Issue 371. 2011-11-06 12:54:08 +03:00
BetaSteward
7c69bc6f30 fixes + optimizations + allow games to be paused and resumed 2011-11-02 21:39:03 -04:00
BetaSteward
517a0cae26 optimizations + some fixes - mostly for monte carlo simulations 2011-10-25 15:17:42 -04:00
Loki
db30dbd5d6 fix server build 2011-10-23 18:49:32 +04:00
maurer.it
ed2724fce7 [FIX] The third half of the fix for issue 302 (still testing). 2011-10-21 08:07:21 -04:00
magenoxx
4c9574bd97 Fix for AI chooseTarget. 2011-10-12 17:30:32 +04:00
magenoxx
82dcb53cb9 Target refactoring. Fixed Issue 273. 2011-10-08 12:46:34 +04:00
magenoxx
bf1a49dd0b Sending user data. Sending avatar to server on connect. 2011-09-07 21:18:58 +04:00
North
66fe17a0e2 AI can play the effect of Sphinx of Uthuun now. 2011-08-27 18:10:06 +03:00
North
d48bcf6d06 Fixed AI choosing target with maxNumberOfTargets > 1.
Fixed chooseMode to return the first mode.
Refactored a bit.
2011-08-27 17:00:28 +03:00
BetaSteward
2e0662e295 cleanup 2011-08-19 22:19:09 -04:00
magenoxx
5018d88140 [ai] Fixed targeting opponents. Added additional type for removal spells (Outcome.DestroyPermanent). 2011-08-18 12:42:03 +04:00
magenoxx
a86d7cb762 Now AI would try to counter pick in draft very good cards out of chosen colors. 2011-08-18 11:29:10 +04:00
magenoxx
02e09831ad Now AI would try to get removal spells (getting additional points for them). 2011-08-18 11:07:21 +04:00
magenoxx
6e911e88fe Updated weight for card rating using by ai. 2011-08-17 08:22:00 +04:00
BetaSteward
ac5e4c0fec added duration to BecomesCreatureSourceEffect + refactored some cards 2011-08-09 22:41:24 -04:00
magenoxx
d33bf20bf0 Attackers sorting, Blocking groups - rule 509.3. Fixed Issue 195. 2011-08-02 21:32:05 +04:00
Loki
053c3a76e6 fix formula 2011-07-31 23:07:39 +03:00
Loki
5f74002205 picks file parsing and new cards ratings 2011-07-31 21:54:35 +03:00
BetaSteward
14d863a8f2 added modal abilities + Slagstorm 2011-07-20 13:42:27 -04:00
magenoxx
e8b228af1f Fixed Issue 122. Also fixes issue with searching cards with no actual option. 2011-07-06 08:55:32 +04:00
magenoxx
370d042858 Fixed MasterOfTheWildHunt, now target controller gets custom message while selecting targets to response. 2011-06-26 15:32:02 +04:00
BetaSteward
4dc0c33819 fixed issue 142 - damage assignment order now works with tokens 2011-06-17 23:41:32 -04:00
BetaSteward
f1558a255a implemented Damage Assignment Order 2011-06-16 23:02:24 -04:00
magenoxx
d5c4ac371a Now Planeswalkers use counters for loyalty. Fixed Issue 69. 2011-05-15 16:42:45 +04:00
BetaSteward
aed200bc11 improved AI targetting 2011-03-31 23:34:16 -04:00
BetaSteward
86d2086b70 added missing targeting cases 2011-03-14 21:57:27 -04:00
magenoxx
99735b368b New testing frameworks for cards. BurntheImpure test. 2011-03-10 15:27:15 +03:00
magenoxx
196f7a32d8 ComputerPlayer.#chooseTarget - needs to be implemented. 2011-03-08 12:07:52 +03:00
maurer.it
68fb0e9e3f merge. 2011-02-27 21:28:14 -05:00
maurer.it
103eb61051 Possible fix for Arc Trail Targetting. 2011-02-25 16:40:55 -05:00
BetaSteward
1945538041 added X cost options to AI 2011-02-24 22:01:04 -05:00
magenoxx
f1472d1fa4 Merge 2011-02-23 10:59:30 +03:00
magenoxx
3a11c59486 Fixed playXMana (no X=0, put everything to X). updated first scenario. 2011-02-23 10:50:42 +03:00
BetaSteward
17f87daf5a fixed issue with default AI playing unplayable spells 2011-02-22 21:40:25 -05:00
magenoxx
98ee9ff0c2 [mad ai] Critical AI fixes. Sync with Steward recent changes. New test command for lifes. New test scenarios. 2011-02-19 16:52:13 +03:00
BetaSteward
659f790325 AI fixes and deck construction 2011-02-18 23:22:31 -05:00
BetaSteward
0c5261ce88 fixed canTarget error and started to convert logging to log4j 2011-02-14 14:41:29 -05:00
BetaSteward
9e7c79f3e7 missed a file 2011-02-13 08:21:59 -05:00
magenoxx
e189543699 Fixed AI doesn't play spells that targets creatureOrPlayer. The fix applied to ai-ma only, other ai jar still needs to be recompiled. 2011-02-12 23:21:20 +03:00
BetaSteward
f7ffbb4773 added Sealed tournaments 2011-02-10 22:00:47 -05:00
Loki
d17fd869c3 some DDF reprints, moving continious effects to separate package 2011-02-09 23:11:52 +02:00
magenoxx
a1b2127962 Added options to gameclient target message. 2011-01-27 18:27:41 +03:00
magenoxx
982ee064a6 [draft] now computer chooses 2 or 3 card colors to draft starting from 3d pick. 2011-01-12 09:34:11 +03:00
magenoxx
41e2342540 [draft] AI picks based on card ratings. Added debug logging for a while. 2011-01-11 20:49:36 +03:00
magenoxx
08e0a075ad [mage.player.ai] Move src files to src/main/java. Added resources folder with ratings.txt. 2011-01-11 11:48:37 +03:00