Commit Graph

5629 Commits

Author SHA1 Message Date
Maxmtg
c2536e6e08 rem unused imports 2013-03-17 21:50:26 +00:00
Sloth
6d93c01fec - Moved some checks in checkStateEffects to fix Lich (among other things). 2013-03-17 21:33:03 +00:00
Maxmtg
202e15fb95 removes comment refecting my doubts 2013-03-17 21:17:57 +00:00
Maxmtg
2e0bef61d1 Correct recognition of number of setless pictures 2013-03-17 21:12:56 +00:00
Sloth
a965fcf6bd - Fixed possible freeze when AI discards cards with triggers in cleanup. 2013-03-17 21:08:32 +00:00
Maxmtg
0c37c77373 Tokens are given image prefix on creation through TokenEffect 2013-03-17 21:02:48 +00:00
myk
296fdd85d7 report correct card ordinal during downloading 2013-03-17 21:00:31 +00:00
Sloth
e5a3bc3f45 - Fixed UnlessResolveSubs parameter freezing the game. 2013-03-17 20:52:25 +00:00
Maxmtg
fc495eee9d LQ setless images will be appended a number (1) if they exist in multiple prints in any set. 2013-03-17 20:43:04 +00:00
myk
bc5b475fb4 report what file is being downloaded 2013-03-17 20:21:08 +00:00
Maxmtg
6b3e6da71d does not append token prefix while forming image file name inside CardToken.java 2013-03-17 20:07:39 +00:00
Maxmtg
6d5158eebe quest token image fixes 2013-03-17 19:59:12 +00:00
Maxmtg
7ac1273310 removed getImageKey(cp) 2013-03-17 19:49:46 +00:00
Maxmtg
743f62be3d dedicated method to get download url for card pictures 2013-03-17 19:32:33 +00:00
Maxmtg
4280852e06 GuiDownload uses map of (local_path -> url) as core object
Download code uses NIO
2013-03-17 18:20:16 +00:00
Maxmtg
6e482a84cf fixes incorrect amount of cards to discard 2013-03-17 14:42:39 +00:00
Maxmtg
476ad7af91 Added forge.profile.properties setting to specify custom names for edition folders in pics directory 2013-03-17 12:38:15 +00:00
Maxmtg
f8ec6108d4 moved all image-acquiring code to ImageCache 2013-03-17 11:25:54 +00:00
Sloth
a77b341b80 - Quest events will ow show their difficulty. 2013-03-17 10:50:45 +00:00
myk
8a3696d027 do first update of operation log after 100ms instead of the usual 500ms 2013-03-17 10:02:43 +00:00
myk
5fe63b5d43 add blurb to changes.txt 2013-03-17 08:50:44 +00:00
myk
ffa215c459 add one more dir to doNotDelete list 2013-03-17 06:51:04 +00:00
myk
f82e562b26 don't delete dirs that have been re-added 2013-03-17 06:49:29 +00:00
myk
bf31c5b139 don't check for the pics_product dir since it can't be cleaned up until later 2013-03-17 06:27:54 +00:00
myk
32984b9f41 remove empty dirs after migration. tree conflicts still exist, but at least they won't get in the way 2013-03-17 06:07:28 +00:00
myk
75788ab933 report on which files will be downloaded 2013-03-17 05:59:31 +00:00
myk
244b1c65f7 merge myk-separate-writable-data branch 2013-03-17 05:34:13 +00:00
myk
9b6bc2eb55 merge latest trunk 2013-03-17 00:23:16 +00:00
Sloth
f22b7aee0f - Rewrote the card controller system.
- Converted Control Magic auras to continuous static abilities.
2013-03-16 23:28:18 +00:00
Maxmtg
8dc331ed14 little polishing on QuestRewardCard classes 2013-03-16 22:25:34 +00:00
Maxmtg
74b2d09f41 made a base class for quest/QuestRewardCardChooser and quest/QuestRewardCardFiltered to dump duplicate code there. 2013-03-16 22:22:27 +00:00
Maxmtg
c195e944da balance hands written in less lines 2013-03-16 22:16:26 +00:00
Maxmtg
7c334b51b1 minor - remove unused methods,
quest controllers uses lobbyPlayer to detect human playing quest
one discard(int, sa) call less (inlined in AiInputCommon)
2013-03-16 22:05:59 +00:00
Maxmtg
742cec28a7 dredge action from player* moved: decisions are taken at PlayerController, execution remains in Player 2013-03-16 21:39:18 +00:00
Maxmtg
3b0a3e6658 Code that chooses cards to be discarded moved to PlayerController and ComputerUtil 2013-03-16 20:41:02 +00:00
Sloth
73c457f46a - The AI will no longer play Mind Twist with X=0. 2013-03-16 16:35:21 +00:00
myk
d574334287 merge latest trunk 2013-03-16 16:12:07 +00:00
Sloth
561b8f95bf - Removed some unnecessary addController calls. 2013-03-16 14:59:46 +00:00
Maxmtg
e9b51dc21d chains_of_mephistopheles.txt hardcode moved from specific player classes
several instances of Chains of Mephistopheles are handled closer to the rules
2013-03-16 14:27:15 +00:00
Sloth
03d005ed8e - The AI will now try to fetch duallands with fetchlands. 2013-03-16 13:03:52 +00:00
Sloth
e6a3fb93a7 - Improved AI distributing Damage. 2013-03-16 12:01:21 +00:00
Maxmtg
b59c47c766 Replacement handlers used hashmap in ctor and method parameters instead of plain map (that is quite sufficient for their needs) 2013-03-16 11:55:30 +00:00
Maxmtg
4efcbc3311 Mulligan - uses drawCards(n) 2013-03-16 11:49:14 +00:00
Maxmtg
b19e5c82d8 Quest mulligan code moved out of HumanPlayer
QuestController is listening for some events and reacts to human's first mulligan
2013-03-16 11:19:24 +00:00
Sloth
9c4c2328ec - More improvements in AttachAI. 2013-03-16 10:52:10 +00:00
swordshine
50799c4f9d - Added Sasaya, Orochi Ascendant 2013-03-16 10:45:42 +00:00
Maxmtg
2ba9d7bfc8 avoid empty scry 2013-03-16 10:44:33 +00:00
Maxmtg
c3bb1c17a5 a special case for Human scrying with a single card available and no need to arrange 2013-03-16 10:43:08 +00:00
Maxmtg
c96304666d removed clash code from Player class, since it's referenced only from ClashEffect.java
Improved GuiDialog.confirm to accept custom values for choice options 
Also added default question icon to dialogs (may remove if it's too ugly)
decision-making about "where to put the card used to clash" moved to PlayerController* classes
2013-03-16 10:35:38 +00:00
Sloth
ea78324d15 - Little improvements in AttachAI. 2013-03-16 10:25:48 +00:00