Commit Graph

5300 Commits

Author SHA1 Message Date
Maxmtg
0d0ea30e0e Changed exception type to be correctly catched by DeckSerializer 2013-03-01 18:26:16 +00:00
Maxmtg
1fcb929ea7 refactored code that calculates if the cardpanels fit playarea with a given cardWidth: the "rows" member is never modified, so there won't be any "concurrent modification" exceptions; lists or lands, tokens, creatures and others are not modified during calculation, so they don't need to be cloned from reference for each trial of card width. 2013-03-01 17:35:37 +00:00
myk
919662380c add missing continue in QuestEventManager duel generation loop 2013-03-01 09:06:58 +00:00
Maxmtg
92be09cf69 added methods to query player if he wants to take turn first
It is used by new revision of GameNew that I don't commit yet because it contains other changes unsafe for todays release
2013-03-01 07:52:11 +00:00
myk
954311973c log, but don't pop up warning about non-AI cards in quest decks. the popup hinders immersion and if they are there, it is likely intentional 2013-02-28 19:48:20 +00:00
moomarc
9c16f2ce14 - Added Battletide Alchemist 2013-02-28 13:52:38 +00:00
Sloth
382336a1bc - Fixed LKI copies messing up Mana abilities. 2013-02-28 13:46:40 +00:00
moomarc
6957e58de5 - Added Thought Devourer 2013-02-28 10:38:53 +00:00
myk
3622ad3fab don't show non-traditional sets in unlock dialog 2013-02-28 10:11:50 +00:00
moomarc
e0a3917b94 - Added Not of This World 2013-02-28 08:54:51 +00:00
Sloth
55f2d9921f - Fixed resetCardColor crashing on face down cards. 2013-02-28 07:55:46 +00:00
swordshine
eb0cafc665 - Added Cornered Market 2013-02-28 06:10:22 +00:00
Sol
5f1fbca8b1 - If SA has an Announce Requirement is available, append the Announce variable to the Stack Description 2013-02-28 02:19:28 +00:00
Sol
0d46dc55bc - Add Arcanis the Omnipotent Avatar
- Count$Random can now randomize with SVars for min/max values
2013-02-28 01:45:05 +00:00
swordshine
198ee38ba6 - Added Kumano's Blessing and Winnow 2013-02-28 00:37:31 +00:00
Chris
d88a8b3d62 - The Archenemy view now will resize to 800 x 600 pixels but the random button is drawn offscreen and can not be seen or used. 2013-02-27 19:49:01 +00:00
Sloth
0e10eb9296 - The AI can now use Animate Wall. 2013-02-27 19:13:11 +00:00
Sloth
74a31e137e - Fixed possible NPE in getUniqueTargets. 2013-02-27 19:00:49 +00:00
Sloth
0ffe871f98 - Fixed "CARDNAME assigns its combat damage as though it weren't blocked." causing a NPE. 2013-02-27 18:50:53 +00:00
moomarc
8fcb03fb3e - Added Master of the Wild Hunt Avatar
- added AtRandom param to GenericChoice AF
2013-02-27 17:12:21 +00:00
Chris
72987786e9 - Center the various tempPanel(s) in the three variant views. 2013-02-27 15:36:53 +00:00
Chris
8a3c19ada1 - Center the settingsPanel in the three variant views. 2013-02-27 15:32:27 +00:00
Chris
4274bc1409 - Reduce the empty space between the tabPane and the pnlStart in the three variant views. 2013-02-27 15:27:19 +00:00
Maxmtg
cdea3d3a11 change of Card.getKeywords() return type into List<String>
cleanup in callers of getKeywords - some were calling toString() of String, others used for with counter to iterate.
2013-02-27 14:40:26 +00:00
Maxmtg
01af8f4eef CardFactoryUtil - extracted the longest keyword-to-ability conversions into separate methods
removed keyword 'CARDNAME is (color)' because this data is already contained in a mandatory field named 'color'
renamed postFactoryKeywords to setupKeywordedAbilities
generally 'setup' means 'make all changes to card yourself' and 'make' intends only creation of spellability, at least 'make'-methods always return one.
2013-02-27 14:01:29 +00:00
Sloth
84300a57a1 - Fixed chooseSacrificeType. 2013-02-27 13:06:59 +00:00
Maxmtg
1d5f1a49f0 CardLists: removed duplicate sortByMostExpensive, gave propper names to methods of CardLists 2013-02-27 10:03:25 +00:00
swordshine
32aade3d4b - Added Pledge of Loyalty and Mirror Golem 2013-02-27 05:44:50 +00:00
Maxmtg
8146d4c96f 'confirm deck overwrite' dialog will pop only if deck is being saved under a different name, that matches another existing deck name 2013-02-27 05:08:47 +00:00
Maxmtg
6a7ed9d213 removed some useless casts 2013-02-27 04:51:45 +00:00
Sol
dc0706a673 - Allow Vanguard types to take advantage of the Play with the top card of your library revealed
- Add Vampire Nocturnus Avatar
2013-02-27 04:28:08 +00:00
Maxmtg
a23aaee600 quest deck editor: deck is copied before editing, so that changes are saved only if you confirm that action 2013-02-27 04:19:18 +00:00
Sol
03772dd095 - Convert Serra Avenger to script 2013-02-27 02:58:08 +00:00
Chris
bbe1dc10ce - Center the Scheme Deck Editor and the Planar Deck Editor buttons. 2013-02-26 23:14:38 +00:00
Sloth
81836ed24b - Made hasNoManaCost recognize all 0 mana costs. 2013-02-26 20:49:17 +00:00
Maxmtg
9576650c0c variants windows will stretch and take all available space 2013-02-26 18:58:32 +00:00
Maxmtg
a3f1e5efbc deck - changed tags to Set<String>, removed getCardPool from base class, moved ai-can-play deck predicate to ComputerUtilCard 2013-02-26 18:15:13 +00:00
myk
c2dd603394 bit of cleanup in FDeckChooser 2013-02-26 16:40:48 +00:00
Maxmtg
441198c80f Tags field inside deck class 2013-02-26 11:12:29 +00:00
myk
6888240861 - make radio button groups navigatable with arrow keys and behave as a single focus component
- allow quest duels/challenges to start with a double-click on an opponent
2013-02-26 09:17:54 +00:00
myk
91cbc750b4 remove unused MWS migration code 2013-02-26 07:15:02 +00:00
Maxmtg
a84370b4c6 fixing stack overflow on chooseSingleCardForEffect 2013-02-26 04:38:04 +00:00
myk
2c463945fc add semi-intelligent default focus selection for all home submenu screens 2013-02-26 04:28:48 +00:00
Sol
615c7b10cf - Adding Bosh, Iron Golem Avatar
- CanPay in CostSacrifice won't return false, if dependent on an Annoucement of X
2013-02-26 02:25:36 +00:00
myk
e7732684bc ensure selected table text color is consistent across platforms 2013-02-26 01:34:09 +00:00
Maxmtg
336b35ae24 moved a lot of AI-used methods from CardFactoryUtil to ComputerUtilCard.java
switched Encode to getSingleCardForEffect
2013-02-25 21:00:06 +00:00
Sloth
8c5f8f16e2 - Added AI support for Realmwright. 2013-02-25 20:26:00 +00:00
Maxmtg
ebd38fd02a removing more player type checks from discard 2013-02-25 20:19:36 +00:00
Maxmtg
d36cebcd4e minifying calls to isPlayer/isComputer: bond (done), discard (wip) 2013-02-25 07:30:29 +00:00
myk
460c1527e1 add duels from nearby difficulties if a duel at the requested difficulty cannot be found 2013-02-25 06:12:27 +00:00