Commit Graph

790 Commits

Author SHA1 Message Date
excessum
5ed37f11dc - Hack to stop AI from auto-fizzling against Reality Smasher 2016-03-14 14:28:43 +00:00
excessum
664e6bd9d4 - Fixed infinite loop bug with instant-speed "support" 2016-03-14 12:02:33 +00:00
Sloth
bc7b39196b - Improved AI using Karmic Guide. 2016-03-13 17:52:34 +00:00
Sloth
4053e57854 - Improved AI using Kill Shot. 2016-03-12 20:29:39 +00:00
Sol
36bc3dac4a - Commander is no longer using Partial Paris 2016-03-03 04:28:01 +00:00
Sloth
1a7894daf5 - Changed how the AITapDown SVar works (to be more performance friendly). 2016-02-27 21:24:47 +00:00
excessum
ec6bd588a0 - Allowed AI to use Ugin's +1 instead of -X for single targets 2016-02-27 07:42:15 +00:00
excessum
c29f17e2b4 - Fixed ShuffleAi so that AI can cast spells like Ruin in Their Wake 2016-02-27 04:07:20 +00:00
excessum
3f1890ff62 - Reduced priority of AI casting Surge spells normally 2016-02-25 12:14:15 +00:00
Krazy
e0ad5f52da [maven-release-plugin] prepare for next development iteration 2016-02-24 05:08:20 +00:00
Krazy
004c09ea1e [maven-release-plugin] prepare release forge-1.5.49 2016-02-24 05:07:52 +00:00
Sloth
98d46755e3 - Improved AI attacking with creatures with "becomes blocked" triggers. 2016-02-20 12:11:44 +00:00
Sloth
d5e0a5f6c3 - The AI will now prioritize Surge and Prowl costs when able to. 2016-02-16 10:49:47 +00:00
Sol
b79862bcd3 - AttachAI shouldn't assume it targets 2016-02-11 20:35:26 +00:00
Sloth
524769fbf8 - Small AI updates. 2016-02-09 12:03:55 +00:00
Agetian
580b314f6d - The game resets the AI profile to "Default" in case an unknown profile is specified in the preferences file.
- Invalidate previous identifiers for random AI profiles so that existing users get Default behavior by default if they had a random AI profile specified before.
2016-02-07 11:47:11 +00:00
Sol
2a5ae66753 - Convert "Each" Parameter to "Player" when used with Valid or Defined (A-G) 2016-02-04 16:29:06 +00:00
Sol
448e55e628 - Choose Protection type wasn't checking if any threats existed 2016-01-31 14:00:26 +00:00
drdev
5dea167f4d Fix warnings 2016-01-31 00:21:06 +00:00
Krazy
d60ffaea83 [maven-release-plugin] prepare for next development iteration 2016-01-29 01:18:39 +00:00
Krazy
2f3b051db0 [maven-release-plugin] prepare release forge-1.5.48 2016-01-29 01:18:27 +00:00
Krazy
0dcf0c72b9 Revert 1.5.48 release 2016-01-29 01:03:21 +00:00
Krazy
0e434aa6a8 [maven-release-plugin] prepare for next development iteration 2016-01-27 23:32:11 +00:00
Krazy
d531046b04 [maven-release-plugin] prepare release forge-1.5.48 2016-01-27 23:32:03 +00:00
Sol
d4e5f5e7d1 - Added AI Logic to CounterMagic, so AI can at least use Kozilek as a 12/12 body with a strong ETB ability, even though the AI doesn't know how to use it's activated ability 2016-01-27 23:09:11 +00:00
Sol
346523632a - Now that the AI can target multiple things for Support, it's failing to actually target anything for the Animation triggers and getting stuck 2016-01-23 19:18:11 +00:00
Sol
433d02daa0 - Fix crash when AI has Panglacial Wurm in his deck 2016-01-23 02:39:18 +00:00
Sol
9dfc658fb1 - Improve AIs handling of support 2016-01-22 01:47:56 +00:00
Sol
f7c81bd36c - Convert a few more MagicColor references to ManaAtom references. (Fix Autopayment/AI payment of Colorless Costs) 2016-01-19 15:20:14 +00:00
Sol
cb14b2ef80 - Fixing Autopay/AI payment of cards like Holdout Settlement 2016-01-17 03:18:39 +00:00
Agetian
9f0699f0b1 - Experimental: removing the legacy if clause part for the mana shard "1" in ComputerUtilMana (should be represented with "C" everywhere by now). 2016-01-15 19:19:20 +00:00
Agetian
5b023b2c9b - Added a FIXME line for the colorless mana test in ComputerUtilMana.java. 2016-01-15 05:53:34 +00:00
Agetian
1f4743aa4f - Fix the AI not being able to play cards with {C} in their mana costs. Hopefully this fix is correct. 2016-01-15 05:43:12 +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
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
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
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
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
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
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
excessum
2b5cafe1c8 - Fixed NPE in DrawAi for r30501 2015-12-21 12:04:05 +00:00
excessum
d624557a73 - Implemented AI for Painful Truths 2015-12-16 12:28:33 +00:00
Sloth
ce9eb0b02c - More fixeing the check in isPreferredTarget AI function. 2015-12-12 21:49:15 +00:00
Sloth
e91a069b2b - Fixed a check in isPreferredTarget AI function. 2015-12-12 21:27:43 +00:00
Sloth
723e58b2b3 - Fixed AI sometimes not using ciphered or replicated spells. 2015-12-12 16:53:23 +00:00
Sloth
05511671f9 - The AI will now use Multikicker for Permanents. 2015-12-11 07:53:19 +00:00