Commit Graph

5270 Commits

Author SHA1 Message Date
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
swordshine
294a302d20 - Added 5 cards 2013-02-25 00:30:56 +00:00
Maxmtg
6e1b4e12f9 fixes backside picture assignment
flip card method simplified
2013-02-24 09:16:01 +00:00
Maxmtg
299e69826b Deckeditor-related classes operate with paper cards.
CDetail and CPicture convert paper cards to in-game card by themselves if possible & if needed
2013-02-24 08:49:52 +00:00
Maxmtg
2712ebeec0 redundant checks removed from CPicture.java
removed unused warning in card/cardfactory/CardFactorySorceries.java
2013-02-24 08:41:59 +00:00
Maxmtg
57ba7c597c CardUtils uses a more generalized interface somewhere
ImageCache exports methods to get image key
2013-02-24 08:32:23 +00:00
Maxmtg
962a3be929 removed Card parameter from CardPicturePanel ctor (there was passed null in 4 cases out of 5) 2013-02-24 08:26:29 +00:00
Maxmtg
4ba9901958 Flip button in CardDetailPanel no longer flips the card ingame 2013-02-24 08:17:57 +00:00
myk
372d293d7c only show details for selected card if the table has focus 2013-02-24 04:31:23 +00:00
Sol
d9da16954f - Added ChromaSource xCost (useful with Remembered and other list based calculate Amount). This should allow for most of the remaining Chroma cards to be scripted.
- Convert Sanity Grinding to script
2013-02-23 23:31:28 +00:00
Chris
502a28fe9b - Revert the fix made in 19849. 2013-02-23 20:42:00 +00:00
Chris
84f21473e4 - Lets center the Archenemy View components to see if people like it this way. 2013-02-23 18:54:53 +00:00
Sloth
449df2703e - Improved AI handling Dramatic Entrance with Legendary creatures. 2013-02-23 16:05:31 +00:00
Sloth
4e4182e8f6 - Added AI support for Cipher. 2013-02-23 15:53:03 +00:00
myk
2de05e3a7b add rarity information to card details panel set code label tooltip 2013-02-23 07:31:22 +00:00
myk
20d0b5122a ensure the card image gets refreshed when the panel is resized or a dual-sided card is flipped 2013-02-23 07:01:04 +00:00
Maxmtg
cb163eaeb4 Rarity is going to be displayed properly on any side of card, including clones 2013-02-23 06:59:49 +00:00
myk
b5732d0194 ensure cards are bought in the correct quantity too 2013-02-23 01:05:18 +00:00
myk
aa948f99eb sell correct quantity of cards in the card shop 2013-02-22 23:41:15 +00:00
Maxmtg
ce2e848871 streamlined vanguard readings of life/hand modifiers 2013-02-22 23:25:26 +00:00
Maxmtg
d3f3a010cc bugfix in token creation for challenge 2013-02-22 22:59:32 +00:00
Maxmtg
c49bf52b8f * restores token images
Card: dropped imageName field (which was commonly mixed up with imageFileName)
Starting cards for quest and challenges no longer use functions (CardToken helps a lot)
Quest challenges code: Token parsing remake (to produce CardRules instance and wrap it into CardToken)
some utility functions were moved closer to usage points
2013-02-22 22:50:40 +00:00
Sol
d2361e87b8 - When cards move to a non-Battlefield zone, reset it to its base colors
- Added Deathlace
2013-02-22 22:37:08 +00:00
Sloth
d128c284a9 - Tokens can now enter the battlefield with counters on them. 2013-02-22 21:53:23 +00:00
Maxmtg
19134f1f99 This should fix quest token images (cannot test yet in a lack of pictures) 2013-02-22 21:22:38 +00:00
myk
8733773c2a detect mixed svn revisions at build time and add a warning to the version string if mixed revisions are detected 2013-02-22 21:11:54 +00:00
Sol
8cd49f24bb - Didn't notice Player already had a game field 2013-02-22 19:43:58 +00:00
Sol
2180f2d5c8 - Adding Damage Dealing strings to the Game Log so it's clear how much damage things are doing (with occasional extra info) 2013-02-22 19:27:01 +00:00
Sol
cf50a39ad4 - Fixing a pretty hard NPE crash. Not sure what scenario this occurs, but it basically spawned a crash report in high order 2013-02-22 17:47:55 +00:00
Maxmtg
6f194b1608 Split cards' images are properly shown 2013-02-22 08:55:25 +00:00
Maxmtg
871f0f739b Card is read from CardRules, old CardLoader removed
CardToken class is now available to represent out-of-game tokens.
Licids use an altername mode named 'Licid'
2013-02-22 08:30:25 +00:00