Commit Graph

413 Commits

Author SHA1 Message Date
Hellfish
36f9a36f45 *Only register a mouse listener on the stack objects that are from optional trigger objects.
*Mark stack items from optional trigger objects.
2011-09-15 10:17:34 +00:00
Maxmtg
aa2d173506 added predicate to cardrules to filter cards 2011-09-15 10:06:43 +00:00
Maxmtg
916913a962 It was giving too many mythics at quest game start 2011-09-15 01:57:39 +00:00
Maxmtg
8c010130fc booster distribution: 40% t2, 35% ext (not t2), 25% legacy 2011-09-15 01:35:32 +00:00
Maxmtg
887a668478 fixed: several boosters yeilded the same Cards
cardDetailPanel not shown if non-card is under cursor
boosters show their pictures (may keep them in booster/CODE.png)
fixed too mythics chances (was 1/4)
BoosterPacks (inventory) add basic land if there is a slot for it
2011-09-15 01:16:34 +00:00
slapshot5
e31e445a0d several Checkstyle fixes in Input_Mulligan 2011-09-15 00:56:17 +00:00
Maxmtg
42ebac91ff texts; the bottom table shows the real price that will be paid for cards being sold 2011-09-14 23:07:06 +00:00
Maxmtg
c353e9568f Added some random BoosterPacks to shop 2011-09-14 22:44:09 +00:00
Maxmtg
8c7f78ec19 fixed type for boosterpack, base price set to $3.95, fixed text, removed unused imports 2011-09-14 22:14:16 +00:00
Maxmtg
63de7ff3c1 data for booster generation incorporated into CardSet 2011-09-14 21:54:19 +00:00
Hellfish
965e275b1b *Added a context menu to the stack items of optional triggers that lets you specify wether to always accept them,always decline them or always ask(default). Just right click! (The choice you make resets at the start of each game) 2011-09-14 20:24:56 +00:00
Maxmtg
9a7348a437 Removed/renamed excessive booster classes
BoosterPacks in cardshop are functional. Need to discuss and balance their appearance
CardListViewer is caching Card objects to create them a single time. Set of cards shown now exactly matches CardPrinted.
2011-09-14 19:08:43 +00:00
Maxmtg
9988efc847 removed player's picks map from boosterDraft interface (interface should not hold static data)
removed the getCardsNumber function from BoosterGenerator (it doesn't know in advance how many cards caller will ask to generate)
moved upload picks from draft deckeditor to boosterDraft class
added an enum to describe limited game type
tests may start failing - they would need an initialized CardDb
2011-09-14 17:46:24 +00:00
Maxmtg
5b3c267162 removed ReadDraftBoosterPack class - it was used by tests only.
removed BoosterDraftAITest - it didn't succeed anyway (needs to have CardDb initialized to succeed)
2011-09-14 16:00:10 +00:00
Sloth
004b0ce664 - Added a couple of counters to the counters class. 2011-09-14 15:54:03 +00:00
Maxmtg
d30f70a140 Working over booster generation - BoosterGenerator became more universal, moved to forge.card for a while, this is still WIP.
Limited game classes have been cleaned (code moved to utility functions in draft, CustomLimited class contains setting to start with custom cardpool or boosters)
Closure introduced to utilities
2011-09-14 15:52:31 +00:00
Sloth
26c284135f - Added the option "AllCounters" to AF RemoveCounterAll. 2011-09-14 15:37:47 +00:00
Sloth
803fd9b3fa - Fixed the legend rule ("If only one of those permanents
is legendary, this rule doesn’t apply").
2011-09-14 13:20:49 +00:00
Maxmtg
ab0f24d97d cardSet's members are finalized
M10-Booster added to quest cardshop (experimental and non-functional yet)
BoosterGenerator uses now rare-slots together with explicit numbers for rares and mythics
ItemPool has to be parametrized by Class<T> (unfortunatelly java erases types of generics)
2011-09-14 09:40:34 +00:00
Maxmtg
49b21e09ad CardPool renamed to ItemPool, moved to forge.item, dependencies updated 2011-09-14 05:52:17 +00:00
Maxmtg
d3a51720a8 CardPool is now parametrized, preparing to hold boosters and packaged decks in quest inventory 2011-09-14 05:34:33 +00:00
Maxmtg
4062f6c279 for "Pithing Needle" changed card selection from input where user had to guess the name into a list of options (all unique cards!) 2011-09-14 04:13:22 +00:00
Maxmtg
4b30b95f4f isCardSupported has been implemented on CardDb basis 2011-09-14 03:45:23 +00:00
Hellfish
698ed8b019 *Cleaned up and condensed Torpor Orb check. 2011-09-13 21:44:32 +00:00
Hellfish
b053322a22 *Fixed Torpor Orb for ETB triggers that care about their host card. 2011-09-13 20:58:43 +00:00
Rob Cashwalker
8b7767f7da Changed references to OldGuiNewGame preference components to reference the actual ForgePreferences class hosted in Singletons. 2011-09-13 20:22:20 +00:00
Rob Cashwalker
ffe281b890 Changed references to OldGuiNewGame preference components to reference the actual ForgePreferences class hosted in Singletons. 2011-09-13 20:16:12 +00:00
Rob Cashwalker
2b53737838 Changed references to OldGuiNewGame preference components to reference the actual ForgePreferences class hosted in Singletons.
Added preferences to save the removal of artifacts and small creatures in deck generation.
2011-09-13 19:50:55 +00:00
Rob Cashwalker
5e5e3690d2 Changed references to OldGuiNewGame preference components to reference the actual ForgePreferences class hosted in Singletons. 2011-09-13 19:12:55 +00:00
Maxmtg
ded38eb1c8 Fix to "download set LQ images" list of files 2011-09-13 14:23:09 +00:00
Sloth
454747b6c8 - HIDDEN keywords will now be treated differently by continuous static abilities. 2011-09-13 12:39:24 +00:00
Sloth
bfde6bfe4a - Milling triggered abilities will now use the right AI function. 2011-09-13 10:27:32 +00:00
slapshot5
9645e948fb Checkstyle fixes in SA_Condition and SA_Requirements 2011-09-13 06:27:06 +00:00
Sol
3a45c6ad23 Fixing CostChange issue where required mana is reduced to 0. 2011-09-13 03:13:06 +00:00
Maxmtg
de59f0d4ce I should be more careful copypaster 2011-09-13 02:38:47 +00:00
ArsenalNut
41c1ea9fb6 add Morbid script parameter to CardFactoryUtil.xCount() 2011-09-13 02:08:53 +00:00
Sloth
ab668eba04 - Fixed performTest in Trigger_Clashed. 2011-09-12 19:39:22 +00:00
Sloth
f8d03d63c5 - Fixed performTest in Trigger_Cycled. 2011-09-12 19:31:37 +00:00
Sloth
0ca071d0d5 - Fixed performTest in Trigger_LandPlayed. 2011-09-12 19:28:57 +00:00
Sloth
5780df4d7a - Fixed change zone triggers (once again). 2011-09-12 19:02:36 +00:00
Maxmtg
575d9db1a4 Door to nothingness (as well as any other spell effect causing a GL) should be displayed correctly in quest battle debriefing 2011-09-12 18:12:19 +00:00
Maxmtg
115afda511 Checkstyle-changes for mtg-data.txt parser 2011-09-12 15:38:05 +00:00
Maxmtg
69a95707c6 (minor) Changed from ArrayList to List in a chain of booster generation 2011-09-12 15:31:21 +00:00
Maxmtg
145141f224 added snow to manashards
allCards returns an Iterable (a silly protection against external modification)
When player chooses t2 or modern he won't get cards valid for the format but belonging to older sets.
2011-09-12 15:30:14 +00:00
slapshot5
04a5605824 fix up a couple Java warnings 2011-09-12 04:01:50 +00:00
slapshot5
937568479b Checkstyle fixes in AF_Clash 2011-09-12 02:23:53 +00:00
slapshot5
ccded0a982 remove unneeded code in Trigger_Taps.getCopy (I had only added it to this trigger. The rest of the Trigger classes do not need this change.) 2011-09-12 00:43:21 +00:00
Maxmtg
9224bf2758 Fix for multiple winlose dialogs in quest mode 2011-09-11 23:31:26 +00:00
Hellfish
70f19ea0c7 *Reverted the Leylines to their previous handling as I thought ChangeZone could handle their "opening hand abilities". 2011-09-11 19:16:12 +00:00
Sloth
b6b4e7308c - Fixed Arm with AEther to not affect creatures that enter the battlefield after it was cast. 2011-09-11 19:08:24 +00:00