Commit Graph

5983 Commits

Author SHA1 Message Date
slapshot5
afc4ea7478 Checkstyle fixes in GameActionUtil and GenerateConstructedDeck 2011-09-04 20:45:11 +00:00
Maxmtg
61ba486d8d Cards that were missing setInfo will be listed in a good errorviewer window. 2011-09-04 20:39:59 +00:00
Sloth
aefb076f23 - Generalized the xcount functions available in continuous static abilities (fixes Mwonvuli Ooze). 2011-09-04 20:29:34 +00:00
slapshot5
25b1fe6cf3 some Checkstyle in Gui_WinLose and GenerateThemeDeck 2011-09-04 19:58:21 +00:00
slapshot5
f4946fb5ff clean up some java warnings 2011-09-04 19:08:15 +00:00
slapshot5
1c50ed43c0 some fixes in Test classes to fix compile errors. 2011-09-04 19:05:48 +00:00
slapshot5
b9db01ec16 Checkstyle fixes in AF_ChangeZone 2011-09-04 19:05:12 +00:00
Sloth
460701d4f1 - Converted the Changeling keyword to a stat defining ability. 2011-09-04 18:42:10 +00:00
Maxmtg
3cf823cab9 Pulled all the deck loading errors together. 2011-09-04 17:56:53 +00:00
Maxmtg
b4d3894b35 fixing exception that happens when loading a deck with cards not found in our database. 2011-09-04 17:40:26 +00:00
Maxmtg
3756976bf5 adressing issue from http://www.slightlymagic.net/forum/posting.php?mode=quote&f=26&p=69462 (if a card has blank value set that caused an exception) 2011-09-04 17:14:37 +00:00
Maxmtg
79e3081e98 SetInfoUtil cleaned out for unused code, init moved to static{} block, dependencies updated
limited game code moved to a matching package
deckeditor for drafting now lets pick a card by hitting space.
2011-09-04 15:48:59 +00:00
Maxmtg
5382bb7587 The choice window makes its list focused then it gains focus itself. So you can just press up/down and ENTER or ESC to choose without touching mouse 2011-09-04 15:43:00 +00:00
Sloth
936fae779e - Little AI fix in AF Attach Curse.
- Added Screams from Within.
2011-09-04 15:03:39 +00:00
ArsenalNut
78468572d0 fixed calculateAmount so Remembered and Imprint work when ability != null 2011-09-04 14:51:24 +00:00
slapshot5
35ab02ae9b some Checkstyle fixes in AF_ChangeZone 2011-09-04 14:43:05 +00:00
Maxmtg
c3db613e86 Code for reading a deck refactored. 2011-09-04 12:06:49 +00:00
Maxmtg
96556ebfa0 Now 'new' is present in quest deckbuider too. 2011-09-04 11:49:14 +00:00
Sloth
5428c2a8f5 - Little fix for the prompt of the reveal cost. 2011-09-04 11:40:28 +00:00
Maxmtg
263be6f3d1 "New" column added to Quest shop interface. 2011-09-04 11:13:03 +00:00
Sloth
b8412d4648 - The AI will no longer try to use mana abilities which have a mana cost (it will miscalculate). 2011-09-04 11:02:59 +00:00
Sloth
a40670d9de - Added the option "RemoveTypes" to AF Animate to remove one special type.
- Added Arcum's Weathervane.
2011-09-04 10:32:01 +00:00
Sloth
b6581dba64 - Added the option "RemoveType" to continuous static abilities to remove one special type.
- Added Melting.
2011-09-04 10:14:19 +00:00
Sloth
e2c99a4218 - Fixed an incompatibility of getShortColorsString and ManaCost (the former translating Colorless to C which the latter doesn't take). 2011-09-04 09:42:55 +00:00
Sloth
7d15448012 - The restart match button is now always enabled. 2011-09-04 09:00:07 +00:00
Sloth
26808aef66 - Disabled Sideboard parsing of deck files (because it currently chokes on the quest files). 2011-09-04 07:53:52 +00:00
Maxmtg
a46486c0ad reverting sources to revision 10193
changes from r10200 were kept (not reverted)
2011-09-04 03:13:07 +00:00
Doublestrike
8eefc0cee1 DeckManager updated to ignore tokens stored in Quest decks.
QuestUtil updated (poorly) for a quick fix on a couple of errors.
2011-09-04 01:30:34 +00:00
Doublestrike
51c52609c3 Deck and DeckManager restored? 2011-09-03 12:13:39 +00:00
Hellfish
8310c076ab *Better fix for the StackOverflow when donating stuff. You know, one that *doesn't* cause other GainControl abilities to spaz out. 2011-09-03 11:48:20 +00:00
Doublestrike
847da2c114 Frantic changes to Deck and DeckManager to fix errors in r10194 2011-09-03 11:20:13 +00:00
Maxmtg
a5f708559c fixed a couple of compile errors from 10194, yet could not handle them all 2011-09-03 10:57:13 +00:00
Doublestrike
f83f87df5b NOTE: A commit with errors was apparently pushed previous to mine. As a result, my work has been broken also, and will unfortunately take some time to fix. The functionality described below will eventually work.
=====
Big commit: Restructured Quest quests to use dck files.  This required changes in many places.  Among other things:
- Model and view separated for quest main panel items
- Quests and battles all generated from dck files
- dck files all updated to contain metadata, main, sideboard
- Quest dck files updated to contain [ai_extra_cards] and [human_extra_cards]
2011-09-03 10:08:03 +00:00
slapshot5
1786c3e655 Checkstyle fixes in some Input_* files 2011-09-03 09:37:39 +00:00
slapshot5
b8b4f58805 many Checkstyle fixes 2011-09-03 09:22:29 +00:00
slapshot5
dd31537034 Checkstyle fixes in GuiDisplayUtil.java 2011-09-03 08:24:53 +00:00
slapshot5
9db7d863f1 taking out some debug code from OldGuiNewGame.java 2011-09-03 07:59:07 +00:00
slapshot5
9aa620c68e fix a bunch of Java warnings 2011-09-03 07:56:52 +00:00
slapshot5
aac44770c3 change some imports and types in GuiBoosterDraftTest.java and GuiQuestOptionsTest.java (I don't know if the fixes are correct, but it fixes a broken build...) 2011-09-03 07:52:34 +00:00
Maxmtg
adb3ae979b Moved some methods from QuestData to helper classes, the whole class rearranged
Moved shop-related things to QuestUtilCards.java (eg. number of shop boosters calculation)
CardShop now shows how many decks use the given card
Quest deck editor: press space to add card to your deck - that simple
CardPool no longer allows incorrect remove numbers
removed lots of senseless javadocs
2011-09-02 22:51:47 +00:00
Hellfish
90d5514aaa *Fixed StackOverflow when donating stuff. 2011-09-02 18:50:20 +00:00
Maxmtg
b548b3542d Deckeditors use a unified component for TableWithCards, sorting issues fixed 2011-09-02 17:57:24 +00:00
Sloth
f47ffe043e - Fixed continuous static effects that only change colors not being applied. 2011-09-02 16:38:34 +00:00
Sol
e3e534df52 - Added support for TargetUnique for cards like Arc Trail, where subabilities can't target something any parent ability has targeted. 2011-09-02 15:40:39 +00:00
Maxmtg
97802645df removed rarity from Card, use CardPrinted instead
Predicate: stylechanges
acquiring legacy booster longer throws
2011-09-02 10:53:06 +00:00
Maxmtg
f255d38e24 removed save of unpacked quest data 2011-09-02 09:41:10 +00:00
Maxmtg
67cf33d550 added support for older format of quest saves (a method for deserialization of CardPool)
since color names are lowercases, I used constants from forge for their names.
2011-09-02 09:34:31 +00:00
Sloth
030998fe18 - Fixed EtB triggers. 2011-09-02 09:28:29 +00:00
Maxmtg
3d4032c5fa sorting order for colors is: W U B R G multi colorless, as they are numbered in a set 2011-09-02 08:51:20 +00:00
Maxmtg
b202a35967 cardpool won't add 0 or negative number or any card 2011-09-02 08:38:44 +00:00