Commit Graph

5347 Commits

Author SHA1 Message Date
Sloth
ba4241e455 - Battletide Alchemist will no longer ask the player when the AI makes test runs. 2013-03-04 21:18:02 +00:00
Sloth
b3a2aab6e5 - Fixed mandatory targets not being enforced for the human. 2013-03-04 18:36:28 +00:00
Sloth
4f43f117a6 - Fixed the Hive Mind / Pact interaction. 2013-03-04 16:23:11 +00:00
Maxmtg
bcf5a007ae New format for SetInfo lines, to convert card scripts either run 'assignSetInfo.py' or wait for upcoming cardfolder commits 2013-03-04 13:55:21 +00:00
Maxmtg
8ba3494851 reverting fix 20030 as it (1) disables any scale and (2) should have been applied not here 2013-03-04 13:16:57 +00:00
myk
a6a8cad45d fix a typo in isFatPack predicate that was preventing fat packs from being shown in the spell shop 2013-03-04 11:45:48 +00:00
myk
338f8982a3 remove openable packs from shop list when sold so they don't reappear when the shop is reentered 2013-03-04 11:43:57 +00:00
myk
776467fe60 don't inflate 'decks that contain this card' count when the card appears in both the main deck and the sideboard 2013-03-04 10:17:40 +00:00
myk
c733b3e2d9 remove cards from deck sideboards properly when selling in spell shop 2013-03-04 10:15:19 +00:00
myk
79b9bcf5e1 fix divide-by-zero error in GuiDownloader time remaining estimation when last 10 items have either downloaded too quickly or have errored out 2013-03-04 09:50:12 +00:00
myk
cd26e4e6e5 fix 'scale image larger' setting being ignored 2013-03-04 09:32:44 +00:00
Maxmtg
efaca9a919 CardInSet data moved to CardRules,
picture removed from CardInSet, it's also no longer needed in SetInfos
2013-03-04 08:30:40 +00:00
swordshine
9b2e1a8d22 - Added Goblin Welder (please test) 2013-03-04 04:31:35 +00:00
Sol
46fa85528f - Adding the three "Opponent Chooses" modal spells from Alliances. If the Human casts one, the AI will currently choose the "least harmful" fork of the mode for now, this is a static "decision". 2013-03-04 03:56:04 +00:00
Sol
eaf3429cea - Inform the human which turn position he's in during the Mulligan Input 2013-03-04 03:33:01 +00:00
swordshine
7e83d92cd9 - Added Death by Dragons and Carpet of Flowers 2013-03-04 00:37:00 +00:00
Sloth
d2040989f9 - Added AI support for Mind Grind. 2013-03-03 23:03:24 +00:00
Sloth
d2911a6f8f - Improved AI using Show and Tell and Eureka. 2013-03-03 22:27:18 +00:00
Sloth
cb74a3b60e - The AI can now use Spirit Guides. 2013-03-03 13:33:31 +00:00
Sloth
3c9ee0f012 - Fixed Skullclamp not working on tokens. 2013-03-03 12:55:30 +00:00
Sloth
9bd3cd6bcb - Fixed "Defined$ TriggeredCard" returning the LKI copy of the card. 2013-03-03 12:41:22 +00:00
Sloth
cd5c3bfa69 - Added the condition "AllTargetsLegal" (untested). 2013-03-03 11:54:53 +00:00
Sloth
33b713df93 - Little fix for "AnyNumber" in DiscardEffect.java. 2013-03-03 09:20:27 +00:00
Sloth
d185e5e3eb - Updated two isReusable() functions. 2013-03-03 08:55:05 +00:00
Sloth
68def26221 - Improved usage of playReusable. 2013-03-03 08:47:27 +00:00
Sloth
50bc1772d1 - Added some keyword entries to isUsefulAttachKeyword. 2013-03-02 20:27:02 +00:00
Maxmtg
099c1ed11c Changing new input setup. A special thread will set up new input to actual state. This will eliminate the longest stack traces 2013-03-02 20:23:46 +00:00
Sloth
c79b3d0cd2 - The AI can now use Gruul Charm. 2013-03-02 19:24:14 +00:00
Sloth
04efd63554 - Fixed UnlessCosts not always setting activating players (fixes Scythe Tiger). 2013-03-02 16:46:28 +00:00
Sloth
46d290ae02 - Real fix for chooseSacrificeType. 2013-03-02 16:12:48 +00:00
Maxmtg
8ecdd641b3 reverting 19970 as it must have ruined all those ETB effects 2013-03-02 15:40:53 +00:00
Maxmtg
888ab412f7 card layout code was leaving too big gaps between cards 2013-03-02 15:23:04 +00:00
Sol
050df94e49 - Restore accidentally removed hardcoded Temporal Aperture 2013-03-02 14:46:14 +00:00
Sloth
7b54bc2718 - Fixed "You may have CARDNAME assign its combat damage as though it weren't blocked." messing around when the AI is blocking. 2013-03-02 14:05:28 +00:00
Sloth
8310172ffb - Fixed AttachAI not checking Sacrifice or Life Costs. 2013-03-02 12:34:38 +00:00
Sloth
846507ef40 - Prevented playSpellAbilities from creating infinite loops. 2013-03-02 12:29:46 +00:00
Maxmtg
613dd2bac1 compare with zero in a more delicate way 2013-03-02 12:17:12 +00:00
Maxmtg
06f252b2e4 PlayArea is intialized with a r/o list that is a reference to all cards in given zone. 2013-03-02 09:21:25 +00:00
Maxmtg
8fb3c5e0b1 commiting sets and blocks files with Index:LineNumber removed 2013-03-02 08:08:55 +00:00
Maxmtg
9286d5e943 StorageReaderFile passes record seq. number along with the record itself 2013-03-02 07:55:01 +00:00
Maxmtg
bfeee22e12 rolling back from last commit (should have sent it too early) 2013-03-02 07:54:21 +00:00
Maxmtg
4ae49efb4a A number of inputs recieve stop(); clause 2013-03-02 07:50:01 +00:00
swordshine
5fc6b489dd - Added Dimensional Breach and Lim-Dul's Vault 2013-03-02 01:32:35 +00:00
Maxmtg
2007547190 (minor) wrote a simple javadoc class description, because that TODO has been there for about a year already 2013-03-01 22:43:12 +00:00
Maxmtg
84d64ef8eb IZone - adjusted parameter type or remove method
thrown away get/setUpdate methods
battlefield.getCards(false) will return R/O list of cards - might lead to exceptions if callers attempt to modify the method's result.
2013-03-01 22:40:50 +00:00
Maxmtg
ec2721e73b Remove UI class since most methods are never called, the rest may be moved to classes that use them 2013-03-01 22:35:58 +00:00
Sloth
b9473367d8 - Removed deprecated targetPlayer variable from SpellAbility.
- Cleanup.
2013-03-01 20:44:38 +00:00
Maxmtg
0d0ea30e0e Changed exception type to be correctly catched by DeckSerializer 2013-03-01 18:26:16 +00:00
Maxmtg
1fcb929ea7 refactored code that calculates if the cardpanels fit playarea with a given cardWidth: the "rows" member is never modified, so there won't be any "concurrent modification" exceptions; lists or lands, tokens, creatures and others are not modified during calculation, so they don't need to be cloned from reference for each trial of card width. 2013-03-01 17:35:37 +00:00
myk
919662380c add missing continue in QuestEventManager duel generation loop 2013-03-01 09:06:58 +00:00