Commit Graph

29435 Commits

Author SHA1 Message Date
drdev
fe26ca8a5a Add image for AEther shards 2016-01-06 04:37:30 +00:00
drdev
fc7caa7c8c Swap picking of starting plane and planeswalker 2016-01-04 02:22:01 +00:00
drdev
5746522f84 Fix so cards pulled from the AEther are saved 2016-01-04 02:16:08 +00:00
drdev
b3bf45490c Tweak fog of war color 2016-01-04 02:12:29 +00:00
drdev
33d051d6ab Optimize unlock card logic 2016-01-04 02:03:23 +00:00
drdev
a43630062e Prevent having a bunch of excess lands in collection 2016-01-04 01:40:25 +00:00
drdev
3f6e581c7b Fix so commander list doesn't get stale 2016-01-04 01:37:27 +00:00
drdev
42286633b1 Fix so small decks have enough lands when generated 2016-01-04 01:17:21 +00:00
Myrd
72e9b85f49 [Desktop] Fall back to download LQ card image if downloading magiccards.info one fails. 2016-01-03 18:03:03 +00:00
Myrd
29e82fa322 [Desktop] Simplify a bunch of CardPanel image updating code. 2016-01-03 16:55:58 +00:00
swordshine
456ddbe04f - Fixed two scripts 2016-01-03 12:43:42 +00:00
swordshine
8310a2c28f - C15: added Seal of the Guilds 2016-01-03 12:40:11 +00:00
swordshine
1015e23c27 - OGW: added Reckless Bushwhacker and Tyrant of Valakut 2016-01-03 07:40:08 +00:00
swordshine
b942d014bc - OGW: Initial implementation of Surge; added Comparative Analysis and Crush of Tentacles 2016-01-03 07:16:24 +00:00
swordshine
bdbb93de9b - OGW: added Joraga Auxiliary 2016-01-03 05:12:01 +00:00
drdev
915a3c32f1 Avoid muddying collection with unowned cards 2016-01-03 04:53:54 +00:00
drdev
e3cf3b65bd Improve variable name 2016-01-03 04:40:58 +00:00
drdev
eedebb8252 Show ratio of owned/total for image view groups 2016-01-03 04:40:14 +00:00
drdev
51578f50d2 Optimize deck generation algorithm 2016-01-03 01:39:22 +00:00
drdev
7d752c12b1 Fix renaming and deleting conquests 2016-01-03 01:16:35 +00:00
drdev
aaf55a3c76 Commit DebugTrace.java 2016-01-03 01:11:20 +00:00
drdev
0f246f16f8 Prevent generated decks with restricted pools coming out too small due to trying to add dual lands not in pool 2016-01-03 01:10:30 +00:00
drdev
d606854b1a Optimize deck generation to avoid unnecessary string building 2016-01-03 00:54:38 +00:00
drdev
6536964a9f Prevent crash when loading conquest 2016-01-03 00:39:43 +00:00
drdev
4bc6797992 Code cleanup 2016-01-03 00:15:52 +00:00
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