drdev
bbc80914ab
Fix so starting deck is saved for Planar Conquest
2016-01-03 00:02:10 +00:00
Myrd
d7e088b5c0
Fix a typo in a previous commit.
2016-01-02 17:06:24 +00:00
drdev
665bb60ef2
Fix so array indices can be saved to XML
2016-01-02 03:10:22 +00:00
drdev
f3b528cfa7
Fix so existing conquest can be loaded
2016-01-02 03:04:17 +00:00
drdev
fef533e3ce
Fix so conquest can load
2016-01-02 02:56:41 +00:00
drdev
95ea47a8bf
XmlReader fixes
2016-01-02 02:33:47 +00:00
Myrd
7e65a16f2a
Trying to make GameState properly restore commander state - still not fully there.
2016-01-02 01:35:12 +00:00
Myrd
d108aa0378
Revert change to Lorwyn's Code2.
2016-01-02 01:01:21 +00:00
Myrd
7303d132de
Fix AbilityManaPart.canProduce() for Command Tower. This has the effect of being able to Auto-pay using Command Tower and also lets AI correctly figure out it can tap it for any of those colors as well (affects both heuristic and simulated AI).
2016-01-01 23:46:16 +00:00
drdev
ed1ae4a71d
Flesh out XmlReader more
2016-01-01 22:53:13 +00:00
Myrd
622743359c
The new Commander tuck rule doesn't apply to Tiny Leaders.
2016-01-01 22:51:17 +00:00
Myrd
b189fd5ff9
Fix division by zero error in PossibleTargetSelector.
2016-01-01 22:06:13 +00:00
Myrd
0b95d357d3
Working on new codepath for instantiating card copies that doesn't go through the expensive fromPaperCard() route.
2016-01-01 19:41:43 +00:00
Myrd
b43c481b2b
Add a TODO to game sim code.
2016-01-01 19:06:16 +00:00
Myrd
04834372e1
Remove debugging print from my last commit.
2016-01-01 18:12:42 +00:00
Myrd
5d334e113e
Fix Dark Depth's trigger not activating until next phase when it gets copied via a Thespian's Stage. Also, remove the previously-added work-around for this in GameSimulator.
2016-01-01 18:12:03 +00:00
Agetian
5011cda1af
- Looks like cards revealing split cards from the top of the library to Count$TopOfLibraryCMC can work differently (e.g. Counterbalance vs Interpret the Signs). As such, I've introduced an alternative count mechanism, Count$TopOfLibraryEachFaceCMC, which accounts for each face if the card is a split card (Counterbalance). Other cards work unchanged and count the combined CMC of both faces together.
2016-01-01 08:16:02 +00:00
Agetian
cf7ddaa821
- Implement a mechanism for encoding two CMC values for split card faces that allows Count$TopOfLibraryCMC to correctly process split cards and test against both faces individually (fixes e.g. revealing a split card to Counterbalance).
...
- There's probably a much better solution to this, feel free to change/improve.
2016-01-01 07:57:39 +00:00
Myrd
82801af655
Make AI pick correctly for Dark Depths copy trigger. Also, add a test for simulation code to correctly simulate this as well with a test. Currently, there's a TODO because it's not clear to me why we need to check static effects twice.
2015-12-31 23:40:08 +00:00
Myrd
7bef90ad2d
[AI Simulation] Fix cast exception when AiAttackController is being used to predict the human's attack.
2015-12-31 21:31:41 +00:00
Myrd
beaebddc86
Fix GameSimulatorTest and add a testcase I forgot to add before.
2015-12-31 20:33:14 +00:00
Myrd
e7e8632e4e
Make the Okk combat checks a little bit more efficient.
2015-12-31 20:11:18 +00:00
Myrd
5505cbd2f8
Add the Okk blocking restrictions to CombatUtil.validateBlocks() too.
2015-12-31 20:05:21 +00:00
Myrd
6fb7e57fdd
Add the Okk blocking restrictions to CombatUtil.validateBlocks() too.
2015-12-31 19:41:08 +00:00
Myrd
7f65f696dc
Fix NPE when clicking "cancel" for Join Forces value prompt.
2015-12-31 18:38:54 +00:00
Myrd
cfab2fe985
Implement Okk and Orcish Conscripts.
2015-12-31 17:57:57 +00:00
Myrd
c3d6051e08
Fix: Dryad Arbor has no mana cost, so it shouldn't be possible to unmanifest it.
2015-12-31 16:43:17 +00:00
Myrd
c184cec164
Name the audio thread.
2015-12-31 16:31:06 +00:00
Myrd
ffda0d7478
Fix NPE when playing Dig Through Time and add explicit logic to not show an extra reveal dialog when all cards are valid choices and when picking a 2nd or subsequent card.
2015-12-30 20:47:11 +00:00
Sol
d90622bc95
- Fix failing manifest test?
2015-12-30 20:46:08 +00:00
Myrd
a7d99b7126
When a card like Explosive Vegetation asks you to search for multiple cards, only reveal the cards in the library once.
2015-12-30 20:01:57 +00:00
Sol
2f963ebc9e
- Fixing issue with ImageFetcher with "fake" cards (used in Ante and other places)
2015-12-30 02:34:26 +00:00
Myrd
56b8f40bf4
Use ImageKey's logic for generating the set subdirectory which also fixes a subtle problem with different card arts.
2015-12-29 20:06:48 +00:00
Myrd
ba8894ef9f
Add an explicit field MciCode to edition .txt file, since neither Code nor Code2 matches what magiccards.info uses. Use it for image fetching.
2015-12-29 19:37:07 +00:00
Myrd
0797d066ed
Revert my Code2 changes. Seems too many of these don't match magiccards.info codes - so I'm going to add a separate field instead.
2015-12-29 19:13:19 +00:00
Myrd
a15751a7ab
Fix Code2 for Prophecy.
2015-12-29 18:57:03 +00:00
Myrd
393920e05c
Make CardPicturePanel also trigger an image fetch.
2015-12-29 18:56:26 +00:00
Myrd
e131ecb34a
Fix Dissension Code2.
2015-12-29 18:26:31 +00:00
Myrd
5e9463ed6f
Fix Torment Code2.
2015-12-29 18:19:01 +00:00
Myrd
3894bfcf9b
Save images to their set-specific directories. Also, don't try to download files that already exist.
2015-12-29 18:15:23 +00:00
Sol
ff73eb78eb
- Synchronize nomenclature of Generic Cost
...
- Add new Colorless Cost
- Start displaying of colorless mana with new symbol (with backwards compatibility for existing scripts that produce "{1}" instead of "{C}")
2015-12-29 16:37:22 +00:00
tojammot
3cc5f6495b
Added quest opponents Emperor Palpatine 2 and Namor 3.
2015-12-29 11:33:04 +00:00
swordshine
9d1f0672ed
- OGW: added Ayli, Eternal Pilgrim by Hanmac and Stone Haven Outfitter by Marek14
2015-12-29 08:09:36 +00:00
Sol
5ff062a9bf
- Missed a {CHAOS} change
2015-12-29 05:07:50 +00:00
Sol
b0f808ae36
- Adding new Colorless symbol to skin (Hopefully I didn't break anything)
2015-12-29 04:34:04 +00:00
Sol
e311a1463c
- Convert Chaos abbreviation from {C} to {CHAOS} and add {C} as Colorless
2015-12-29 04:33:35 +00:00
Myrd
8abd786a3a
[Desktop] Make ImageFetcher default to fetching card images from magiccards.info.
2015-12-29 04:09:13 +00:00
Myrd
1550a27ee9
Add card collector numbers to Forge set txt files. The values are optional and I've pre-populated a majority of them from mtgjson data.
...
In a follow-up patch, I plan to update the card image fetcher to use these.
2015-12-29 03:32:14 +00:00
Myrd
01f347f2d2
[Desktop] Add support for downloading token images and card backs too. Again, limited to what is known to the LQ image downloaded, which currently doesn't include recent sets. :\
2015-12-28 17:11:00 +00:00
Myrd
e546c36b88
[Desktop] Clicking cancel in a save dialog (e.g. dump state) shouldn't still try to save the file.
2015-12-28 16:39:06 +00:00