Commit Graph

5629 Commits

Author SHA1 Message Date
swordshine
d3926810bb - Fixed "AllCreatureTypes" does not sharesCreatureTypeWith each other 2013-03-05 02:51:26 +00:00
Sloth
12bde72a8b - Fixed AI not using AnyMana sources for Hybrid mana. 2013-03-04 22:51:37 +00:00
myk
d1a3a929b6 merge latest trunk 2013-03-04 22:29:41 +00:00
myk
e54e30bcdd merge latest trunk 2013-03-04 22:29:05 +00:00
myk
abe0bffdae ensure match message buttons don't steal focus from an overlay at end of game 2013-03-04 22:24:12 +00:00
myk
38f7c6796a merge from trunk 2013-03-04 22:18:16 +00:00
myk
4b815d5669 merge from trunk 2013-03-04 22:18:07 +00:00
Sloth
c6894de100 - canPlayFromEffectAI will now check for NeedsToPlay SVars. 2013-03-04 22:14:22 +00:00
myk
906bfaa1b5 fix stale hover when alt-tabbing off the app then clicking back on it; also fix NPE when a card disappears from under the cursor 2013-03-04 21:42:03 +00:00
Sloth
597077cce0 - Fixed BondEffect. 2013-03-04 21:38:53 +00:00
Sloth
52f5879435 - playSpellAbilityForFree is not optional - removed the "may". 2013-03-04 21:29:19 +00:00
Sloth
7e40feff92 - Battletide Alchemist will now list the target in the query. 2013-03-04 21:20:51 +00:00
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
Agetian
61b86568bd - Merge: merging from trunk up to r20044 (inclusive). Help is needed to merge r20045 and up, please assist. 2013-03-04 15:50:48 +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
Agetian
079a65cab4 - Merge: merge the latest trunk into SplitCards. 2013-03-04 08:41:52 +00:00
Agetian
5671985f79 - Minor modifications to playSpellAbility. 2013-03-04 08:36:33 +00:00
Agetian
c98fdc36ad - Removed the necessity to use a special parameter for spell abilities of split cards.
- Fixed a NPE related to back-transformation of split cards.
2013-03-04 08:33:03 +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
Agetian
2df9e79ff7 - Minor comment fix. 2013-03-04 08:10:46 +00:00
Agetian
0430a53105 - Split cards correctly transform back if targeting is canceled or if mana cost is not paid. Also, consolidated the implementation of back-transformation when going to graveyard or exile (or another zone except stack). 2013-03-04 08:08:44 +00:00
Agetian
cad57311a0 - Split cards correctly transform back to their full face form when exiled (not sure if they can be exiled while on stack, so this is more of a fail-safe mechanism - feel free to revert if this is overkill). 2013-03-04 07:03:20 +00:00
Agetian
922f67b3cc - Split cards correctly transform back to their full face form when going to graveyard. 2013-03-04 06:59:39 +00:00
Agetian
35ac3e8b37 - Merge: Merge the latest trunk into SplitCards (did not work properly last time). 2013-03-04 06:46:44 +00:00
Agetian
ca1d001e44 - Split cards now properly transform into their respective split sides when put on stack (current implementation requires the special spell ability parameter SplitSide set to LeftSplit for the first ability and to RightSplit for the second ability in the card script).
- Merge: merging the latest trunk into SplitCards.
2013-03-04 06:44:47 +00:00
swordshine
9b2e1a8d22 - Added Goblin Welder (please test) 2013-03-04 04:31:35 +00:00
myk
4fab537404 merge latest trunk 2013-03-04 04:02:25 +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
Agetian
29ba518dcb - Combined text on split cards is no longer force-created based on Oracle texts (avoids duplication of text in the card detail panel). 2013-03-03 19:26:11 +00:00
Agetian
49de0c5039 - Merge: Merge the latest trunk into SplitCards. 2013-03-03 18:22:56 +00:00
Maxmtg
deea6d3364 building abilities of combined face in a right way 2013-03-03 18:00:11 +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
Agetian
6e7a15a863 - Fix for the previous commit to SplitCards. 2013-03-03 12:23:45 +00:00
Agetian
9fd3aec1c5 - Modifications to the combined split card face generation code. 2013-03-03 12:22:45 +00:00
Sloth
cd5c3bfa69 - Added the condition "AllTargetsLegal" (untested). 2013-03-03 11:54:53 +00:00