Commit Graph

5753 Commits

Author SHA1 Message Date
ArsenalNut
f0532e8f24 Added check for null string to fix crash (Issue# 312) 2011-09-19 02:12:45 +00:00
Sloth
2ce4e24b6a - Added the cost "OppGainLife".
- Added Reverent Silence.
2011-09-18 20:25:43 +00:00
Hellfish
4ad21d31a6 *Converted Sylvan Library to using a Trigger object rather than a hardcoded function (Last of the old drawCardEffect cards in GameActionUtil! Woo!)
*Converted Standstill to script.
*Moved (OPTIONAL)-marking of stack items to after their number.
2011-09-18 18:34:23 +00:00
Maxmtg
4322f5e2ca PlayerZones Moved into Player class
ZoneNames are listed in enum
Removed lots of calls to AllZoneUtil
2011-09-18 18:10:51 +00:00
Sloth
529944606a - Fixed AI paying life costs twice. 2011-09-18 15:02:29 +00:00
Sloth
ea7256cf67 - Little code simplifications in TriggerHandler class. 2011-09-18 13:01:19 +00:00
Doublestrike
d1bf8a4b14 In quest mode, "Quests" universally renamed to "Challenges".
Quest mode now features events, such as duels and challenges.
2011-09-18 11:28:27 +00:00
Sloth
afaeba6be7 - Converted Titania's Song to continuous static ability.
- Commented out the stAnimate keyword.
2011-09-18 11:10:11 +00:00
Sloth
36b4c240c9 - Fixed March of the Machines. 2011-09-18 10:52:38 +00:00
Doublestrike
967aae211e Booster pack quest reward bug fixed. 2011-09-18 09:44:45 +00:00
Hellfish
5bcff0d420 *Additional info saved in LKI copies (damage recieved). Fixes Rot Wolf, Soul Collector, Axelrod Gunnarson. 2011-09-18 09:34:51 +00:00
Doublestrike
a40b03e233 Null quest bug fixed.
Quest count vs. wins bug fixed.
2011-09-18 09:31:04 +00:00
Sol
f71567c0f8 Refactoring Enchanting and GameEntities
Added support for Enchanting Players in AF_Attach
Added Psychic Possession
2011-09-17 20:49:55 +00:00
Sloth
fba5803f2a - Converted the upkeep ability of Sleeper Agent to script. 2011-09-17 17:15:43 +00:00
Sloth
d6ae2dd29e - Converted the upkeep ability of Mana Vortex to script. 2011-09-17 16:27:53 +00:00
Maxmtg
c11ffe7b50 the way it should have been done 2011-09-17 16:10:09 +00:00
Maxmtg
0835164e7b removed a useless "owner" parameter from getCard method of all factories 2011-09-17 15:32:02 +00:00
Maxmtg
436af6d3e3 should have excluded non-quest files 2011-09-17 15:08:47 +00:00
Doublestrike
9fcb5252ec Minor fix (mythics) 2011-09-17 13:21:59 +00:00
Maxmtg
ac5fcdef21 removed unused code as pointed by warnings 2011-09-17 09:50:32 +00:00
Doublestrike
6545bbf276 Finally, all quest and duel decks fully encapsulated with acceptable format.
Helper files completely removed (easy.txt, quests.txt, etc.) and hard-coded quest properties are a thing of the past.

Model and view fully separated for main panel in quest GUI.

Critical file: QuestEventManager can handle instantiation of all decks, once (ideally).
2011-09-17 09:21:43 +00:00
Hellfish
f4264968b1 *Converted Orim's Prayer to Trigger_AttackersDeclared.
*Added the missed trigger class.
2011-09-17 08:38:59 +00:00
Hellfish
5824a78ee5 *Added AttackersDeclared trigger.
*Converted Lighmine Field.
2011-09-17 07:59:40 +00:00
Sloth
858aa751e4 - Added Wretched Banquet. 2011-09-16 14:12:33 +00:00
Sloth
39878c3f70 - Added Melira, Sylvok Outcast. 2011-09-16 13:09:39 +00:00
Sloth
ccff4ad20e - You can no longer use cards with "CARDNAME can't have counters placed on it." to pay PutCounter costs. 2011-09-15 19:59:02 +00:00
Sloth
0a414c62f5 - Fixed a couple of typos that prevented the AI from using AF Draw, PutCounter, Regenerate and RegenerateAll abilities. 2011-09-15 19:28:09 +00:00
Maxmtg
826007378d read price for boosters 2011-09-15 16:00:26 +00:00
Maxmtg
aced8bb924 Deck sections can be arranged in any order 2011-09-15 15:48:53 +00:00
Maxmtg
88bea98801 added protection against selection of sets not yielding boosters 2011-09-15 11:43:15 +00:00
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
911aa3dc2e fix the test 2011-09-14 12:36:43 +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