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
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
Sloth
daacb0427c
- Fixed a possible NPE in getPumpCreatures (AF Pump).
2011-09-02 08:14:37 +00:00
slapshot5
16878c9a6d
revert a couple checkstyle fixes.
2011-09-02 06:23:17 +00:00
slapshot5
0eb9b4194b
several Checkstyle fixes
2011-09-02 06:16:51 +00:00
slapshot5
d7453206de
Checkstyle and Java warnings cleanup in ReadDraftBoosterPack.java
2011-09-02 06:00:20 +00:00
slapshot5
e24da28385
Checkstyle fixes in several files
2011-09-02 05:57:44 +00:00
ArsenalNut
4987b31e31
Modified handling of CheckSVar in Trigger.java to be consistent with the other abilities.
...
Moved handling of Remembered and Imprint list in calculateAmount outside of the ability if statement
2011-09-02 04:45:04 +00:00
slapshot5
dbd7b4eb64
clean up a bunch of Java warnings
2011-09-02 04:13:42 +00:00
slapshot5
83a338fc2e
Checkstyle fixes in a few random files.
2011-09-02 03:32:55 +00:00
slapshot5
2a5e4754b0
Checkstyle fixes in GuiInput.java
2011-09-02 03:24:34 +00:00
slapshot5
656bc43c00
Checkstyle fixes in a couple GUI files
2011-09-02 03:15:18 +00:00
Maxmtg
16be5d01e5
fix manacost.toString typo
...
questData - XML serialization for CardPool
2011-09-01 23:57:02 +00:00
Maxmtg
d3233cfa1c
rolling back ping to DraftAI (removed ocasionally @10146)
2011-09-01 22:16:24 +00:00
Maxmtg
41970e996c
tableModel now remembers up to 3 sortings. (like by name, set and then color) and remembers them
...
boosterDraft window should not be maximized on start
totally removed progressbar from deckeditor
mana comparison: R/P is now a bit greater than R
2011-09-01 22:10:52 +00:00
Maxmtg
01e2d81cc8
sorry, lost one method during merge - fixing now
2011-09-01 18:18:33 +00:00
Maxmtg
54c1b987d2
All deckeditors, decks, boosterdraft, quest switched to lightweight cardPrinted objects, have fun :)
...
Features dropped: glassPane on deckeditors, separate filter window in deckeditors.
2011-09-01 18:11:00 +00:00
Sloth
d3460d9d88
- Added GameEntity class as parent of Card and Player class.
2011-09-01 15:15:12 +00:00
Sloth
d1a5e97692
- Added some more variables to LastKnownInformation.
2011-09-01 14:12:55 +00:00
Sloth
7a6475b6b1
- Added Treasure Hunt.
2011-09-01 13:42:21 +00:00
Sloth
7ed642bf20
- Expanded and changed digUntilStackDescription.
...
- Added Sacred Guide.
2011-09-01 12:27:22 +00:00
Doublestrike
6b8686bb04
Renamed "getOpponents()" to "generateBattles()" in QuestBattleManager and QuestBattle.
...
Note: AllZoneUtil already has a method called getOpponents.
Updated references.
2011-09-01 11:37:02 +00:00
Sloth
7a67d7aa31
- Converted Augury Adept to script.
2011-09-01 11:17:01 +00:00
Doublestrike
ca379162f0
Renamed "getAIDeckNewFormat()" to "getAIDeckFromFile()" in quest area.
...
Renamed "getAIDeck()" to "getAIDeckFromMap()" in quest area.
Updated references.
2011-09-01 11:07:55 +00:00
Doublestrike
61d83fbb93
Renamed "getAIDeckNewFormat()" to "getDeckFromFile()" and updated references in Quest area.
2011-09-01 11:05:15 +00:00
Sloth
57bdf06959
- Converted Dark Confidant and Tutelage to script.
2011-09-01 10:58:00 +00:00
Sloth
5222b5e45e
- Switched order of abilities of Maze of Ith (for AI).
2011-09-01 10:16:50 +00:00
slapshot5
da309d93d9
Chesckstyle fixes in several files
2011-09-01 07:31:58 +00:00
slapshot5
4483d6e959
checkstyle fixes in CardFactoryUtil
2011-09-01 06:04:17 +00:00
slapshot5
aee7ad546b
Checkstyle fixes in StaticEffect and StaticEffects
2011-09-01 05:56:36 +00:00
Hellfish
5445973a8a
*Reverted one checkstyle bit to get things to compile.
2011-09-01 05:51:39 +00:00
Doublestrike
0c2b4d6d35
Brief commenting added
2011-09-01 04:52:39 +00:00
slapshot5
e51086c4f7
Checkstyle fixes in AF_EndGameCondition
2011-09-01 04:47:17 +00:00