Commit Graph

5629 Commits

Author SHA1 Message Date
Maxmtg
4acffc60cd scry now uses player controllers to learn player's choice, method player.scry() moved to ScryEffect
Human uses GuiChoice.order to arrange cards to be put on top or bottom of library (that means less popping windows)
AI has a method in ComputerUtil to learn where to put a given card.
2013-03-16 10:04:39 +00:00
Maxmtg
92caa7514d rem warning,
replace array with immutable list in Color
2013-03-16 10:01:18 +00:00
Sloth
23fb1054ba - The AI will now use the ability of Shirei, Shizo's Caretaker. 2013-03-16 08:04:20 +00:00
swordshine
d48f0a9184 - Added Scythe Specter 2013-03-16 06:41:02 +00:00
myk
f12fcc775e merge latest trunk 2013-03-16 01:16:40 +00:00
Maxmtg
9af799a88e Changed some public final static arrays into guava's ImmutableList
in Card class changed members to be just List<T> instances (instead of ArrayList)
2013-03-15 21:51:52 +00:00
Maxmtg
5f0e660d18 removed unneeded final modifiers from methods (class is final anyway) 2013-03-15 21:31:52 +00:00
Maxmtg
5b4c6e8490 moved some duplicate methods to base class 2013-03-15 21:28:18 +00:00
Maxmtg
9c3497c7f4 removed duplicate preferences validation from QuestPreferencesHandler & CSubmenuQuestPrefs 2013-03-15 21:21:34 +00:00
Maxmtg
10fdf5b82a eliminated duplicate code of requirementsCheck() in Trigger and ReplacementEffect
some references changed to basic class
2013-03-15 21:06:17 +00:00
myk
9fc27acfb2 make case insensitive comparisons when importing data, but always write to normalized-case filenames
consolidate code in the gui downloader
turn autoscrolling back on when the import starts if the user had scrolled somewhere other than the bottom while analyzing
2013-03-15 19:56:23 +00:00
myk
78d63a12cc merge latest trunk 2013-03-15 17:19:13 +00:00
Sloth
c783b32230 - Fixed possible NPE in checkETBEffects caused by getPossibleETBCounters. 2013-03-15 12:22:58 +00:00
myk
b65a38ea96 put the migration help text in a scroll panel so it can fit on smaller screens 2013-03-15 08:44:50 +00:00
myk
887be24684 don't give plane/phenomenon card pic filenames '.full' infixes 2013-03-15 07:24:57 +00:00
myk
de4766f16d merge latest trunk 2013-03-15 03:15:24 +00:00
myk
173b0c9490 get gauntlets working, including fixing all the malformed data in the contest files 2013-03-15 03:13:33 +00:00
Sol
1728cf4440 - Phased out cards will cause spells targeting them to fizzle again 2013-03-15 00:12:11 +00:00
myk
2e5e4d1dfb add more information to the operation log and track how many files were overwritten 2013-03-15 00:05:35 +00:00
Sloth
fe73d7433f - The AI can now use Daybreak Coronet. 2013-03-14 21:43:08 +00:00
Sloth
592a18cf32 - Fixed AI crashing on Verdant Haven. 2013-03-14 19:11:45 +00:00
myk
4ff21e0aaa merge latest trunk 2013-03-14 18:57:29 +00:00
myk
db7eac9d82 - don't move by default when import dialog is not in migration mode
- warn the user and allow them to correct the situation if they attempt an incomplete migration
2013-03-14 17:57:17 +00:00
Sloth
5e687f98b9 - Fixed AI using Man-o'-War. 2013-03-14 08:24:50 +00:00
myk
0d3f49aa94 don't autoscroll in import dialog if user has manually scrolled somewhere other than the bottom 2013-03-14 01:02:39 +00:00
myk
7ce8d21a51 merge latest trunk 2013-03-14 00:22:43 +00:00
Sloth
f705d35823 - Changed getDefendingPlayerRelatedTo to return a list instead of a single player (which brings it closer to the rules).
- Added Yare.
2013-03-13 23:25:06 +00:00
Sloth
945d5a5f56 - Improved the script pf Quietus Spike. 2013-03-13 22:58:45 +00:00
Sloth
d6b249e897 - Fixed splicing spells with subAbilities. 2013-03-13 19:35:58 +00:00
myk
241fd05959 minimize UI update messages during import phase 2013-03-13 18:00:32 +00:00
myk
f268283660 remove unseen background color assignment 2013-03-13 17:23:22 +00:00
myk
6e358bffb2 get rid of often-stuck background color in FCheckBoxes 2013-03-13 17:19:00 +00:00
myk
6e21d10345 - change terminology from filename to image key
- make icons use the image cache
- display the avatar icon for the player when assigning damage from creatures with trample
2013-03-13 17:01:34 +00:00
Sloth
0d707646e4 - Fixed AI crashing on Squandered Resources (but it still can't use it). 2013-03-13 16:40:43 +00:00
myk
c54cc4dfe6 ensure TokenEffect-generated tokens have correctly formed filenames 2013-03-13 14:29:10 +00:00
Maxmtg
cbbf22f34a added reveal method to PlayerController (should probably add one to game? to reveal to all players)
AI mulligan decision code moved to ComputerUtil
2013-03-13 08:31:49 +00:00
myk
037bb74d88 document and clean up migration dialog code 2013-03-13 03:21:21 +00:00
myk
d74be36f1c allow the import panel to start small and grow with the data 2013-03-13 00:09:42 +00:00
myk
c25a34db31 clean up unused import 2013-03-12 23:49:11 +00:00
myk
37821d1695 autodetect directory contents so directories other than res can be imported 2013-03-12 23:47:41 +00:00
myk
13ef9cdab6 move operation log string calculation to a background thread 2013-03-12 22:12:54 +00:00
myk
76ab5f6a2d don't enable choose directory button in migrate mode 2013-03-12 19:31:14 +00:00
myk
d58d3ecfd6 reset analyzer when a new directory is chosen 2013-03-12 19:23:53 +00:00
myk
1f6e3ef327 add quest.properties to cruft list 2013-03-12 15:41:28 +00:00
myk
17e1c1a52c merge latest trunk 2013-03-12 10:12:09 +00:00
myk
93976e4638 ensure dest directory exists before copying there 2013-03-12 10:11:25 +00:00
moomarc
592ab5752d - Restored Emblem image functionality
- Added Domri Rade's emblem to the token download urls
2013-03-12 10:10:33 +00:00
myk
22ad1d2494 refine popup window size 2013-03-12 09:56:49 +00:00
myk
fc2305a4d2 comment out a debug statement that I accidentally left on 2013-03-12 09:44:04 +00:00
myk
9ea251dea3 clean up known cruft files and add more information to guide the user on what to do next 2013-03-12 09:24:03 +00:00