Commit Graph

2301 Commits

Author SHA1 Message Date
Hanmac
5cceb922ae add more EndOfTurnLeavePlay to some creatures
also should not attach Aura to creature that does leave play (using the SVar)
EnchantMe creatures should not be attached when they are useless
2016-04-30 13:59:39 +00:00
Hanmac
0040b1eab5 ChooseGenericEffectAI: add missing imports 2016-04-29 17:52:03 +00:00
Hanmac
6452d02471 Sin Ponder AI: fixed ) 2016-04-29 16:48:25 +00:00
Hanmac
7b94b26f3f Sin Ponder AI: add more AI when to mill a card and when not. 2016-04-29 16:30:29 +00:00
Hanmac
04ce82966a Fatespinner: fixed second FatespinnerSkipDraw to FatespinnerSkipMain 2016-04-28 18:36:16 +00:00
Sol
632b34e13c - They do nothing. (Added Pyromancer's Goggles) 2016-04-26 01:00:02 +00:00
excessum
16b38de9f7 - Separated AI logic for bouncing and blinking 2016-04-23 06:18:54 +00:00
excessum
c97791a144 - Fixed bug with Clip Wings 2016-04-23 05:55:54 +00:00
Sol
3c39c1b21c - Added Sin Prodder 2016-04-22 00:52:59 +00:00
Sol
203a2dbdd6 - Attempting to alleviate some issues with the memory leak 2016-04-21 03:51:24 +00:00
Sol
87c7e8bbdd Large Commit: Passing in SpellAbilities into isValid/hasProperty to fix Harness the Storm not being possible otherwise.
Fixes a bunch of javadoc errors
2016-04-20 17:47:28 +00:00
Agetian
b32d45f1f4 - Attempting to fix an issue where the AI distributed twice the allowed number of counters for any card that said "Distribute N counters among any number of creatures you control" (Armament Corps, Blessings of Nature etc.). The math is a bit dodgy here, please review and update if necessary and possible. 2016-04-15 12:23:37 +00:00
Sol
3deb83080e - Adding Watcher in the Web 2016-04-12 16:26:12 +00:00
excessum
c33f08318c - Added another check for r31096 2016-04-08 11:47:14 +00:00
excessum
d745dda1b0 - Implemented AI for Sorin, Grim Nemesis 2016-04-08 11:44:53 +00:00
jje4th
3171f0d3a9 Fix NullRef in TokenAi - one of the checks assumes the token is a creature which causes a NullRef on Clue Tokens. Added null checks.
Fix for "SubAbility not found for: Liliana's Indignation (109)"
2016-04-07 04:36:36 +00:00
Sol
b132d93d68 - I don't know why TokenEffect never had a default for Amount, but now it does 2016-04-06 02:07:16 +00:00
Sloth
1cda53dbb5 - Fixed AI not playing To the Slaughter. 2016-04-03 12:58:51 +00:00
Sloth
9f65cbd3bd - Fixed AI sometimes targeting nothing with Twinflame. 2016-04-03 09:49:04 +00:00
excessum
448bce81b7 - Implemented AI for Chandra, Flamecaller and improved DamageAllAi for X 2016-03-19 06:12:15 +00:00
excessum
c9121e89d9 - Fixed NPE caused by r30946 2016-03-15 11:55:25 +00:00
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
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
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