Commit Graph

2301 Commits

Author SHA1 Message Date
Agetian
0dfab38a01 - Added an extra check for the player type to the new routines in ComputerUtil. 2015-10-03 12:44:29 +00:00
Agetian
1bd466c496 - Fix imports. 2015-10-03 12:40:31 +00:00
Agetian
05abf8a1d7 - More intelligent checking for the AI's reason to cast a sorcery spell in the given turn. 2015-10-03 12:39:37 +00:00
Agetian
1ed17d4ced - Get rid of a redundant variable. 2015-10-03 12:16:34 +00:00
Agetian
d730741ab0 - Fix imports. 2015-10-03 12:16:05 +00:00
Agetian
a469efac9f - When the AI decides to play a shockland untapped, consider having a viable target for a targered sorcery spell with one mode only. 2015-10-03 12:14:49 +00:00
Agetian
a159c1e76c - Look at cards in zones other than the battlefield when determining if an aura has a viable target (for e.g. "Enchant creature in a graveyard") 2015-10-03 11:25:29 +00:00
Agetian
3bdbf6a956 - Avoid copying the land cards when processing getAvailableManaColors by the AI (looks like it's not necessary to copy, but more testing is needed - the important thing is that grantBasicLandsManaAbilities should not have any negative side effects when called from there). 2015-10-03 08:38:54 +00:00
Agetian
7237f25d5a - Make the AI try to determine whether to play a shockland untapped or tapped in a smarter way by evaluating the availability of mana colors to pay for the spell as well as potential targets for auras. 2015-10-03 08:18:47 +00:00
Sloth
e94fd1b439 - Improved useRemovalNow AI function. 2015-09-30 11:51:15 +00:00
Sloth
e0956ff9bd - Improved AI chosing lands to play. 2015-09-29 09:20:42 +00:00
drdev
5ced8db4b1 Fix compile 2015-09-28 23:01:24 +00:00
Sloth
94cf3886b8 - Cleanup of two functions using predictThreatenedObjects. 2015-09-28 22:10:19 +00:00
Sloth
eeeeb65ecc - Fixed the Goblin Rimerunner improvement. 2015-09-28 13:08:18 +00:00
Sloth
a3a9a5d156 - Improved AI playing dual lands. 2015-09-28 12:45:11 +00:00
Sloth
f34a2bf8a6 - Improved AI using lands like Blackcleave Cliffs. 2015-09-28 12:27:04 +00:00
Sloth
7145da0e53 - Improved AI using Ulamog's Nullifier. 2015-09-28 08:42:05 +00:00
Sloth
25924bbab9 - (Fixed) Converted the Echo keyword to a script macro. 2015-09-27 11:29:12 +00:00
excessum
14dfda5724 - Increased priority of token generators when AI has no creatures to improve usage of planeswalkers like Nissa, Sage Animist and Sarkan Unbroken 2015-09-27 07:01:52 +00:00
Agetian
273e71cc0a - Temporarily reverted 30117:30118 (related to Echo update) because the current new implementation misbehaves (please see the related forum post) and I could not fix the rule interaction bug in a timely manner.
- Feel free to revert this commit and continue working on the new Echo implementation.
2015-09-27 06:00:21 +00:00
Sloth
3d38a21349 - Converted the Echo keyword to a script macro. 2015-09-26 12:14:55 +00:00
excessum
d2d8c7babf - Implemented basic AI for BFZ Awaken 2015-09-24 01:57:54 +00:00
Sloth
4aa20f654f - Fixed AI chosing illigal targets with DestroyAll effects (Mogg Infestation). 2015-09-23 22:39:06 +00:00
Sloth
7227142f54 - Fixed AI using the wrong targets with Land's Edge (but this is just a hotfix for a much bigger problem caused by refresh in getSpellAbility from SpellAbilityStackInstance). 2015-09-22 08:02:22 +00:00
Agetian
147c7263d5 - A better comment in ChangeZoneAi 2015-09-21 16:37:58 +00:00
Agetian
723a607c9f - Added code support for cards dependent on the maximum total CMC of targets (e.g. March from the Tomb). Basic AI support also added (but can most likely be made smarter, feel free to improve).
- Note that the relevant SA parameter has been renamed to "MaxTotalTargetCMC" (from "WithTotalCMC") to avoid confusion with the ChangeZone parameter "WithTotalCMC" that means "the total CMC of a single card".
2015-09-21 16:34:53 +00:00
Sloth
ab39fb4668 - Improved AI not wasting cards exiled with Abbot of Keral Keep and similar cards. 2015-09-21 12:04:01 +00:00
Agetian
91bc3c62e1 - improved the AI for Explorer's Scope (for now in a non-generalized manner + may not always be a good idea to activate the optional ability, feel free to improve) 2015-09-21 09:08:34 +00:00
Sloth
e7dedb9501 - AI updates for Encircling Fissure. 2015-09-20 12:52:25 +00:00
Agetian
5ed51be2c2 - NPE prevention in PumpAiBase. 2015-09-19 07:39:00 +00:00
Sloth
07d876bdd9 Tweaked useRemovalNow to better work with Prowess, etc. 2015-09-17 19:57:09 +00:00
Sol
7382c0db9c - Fix Oubliette to actually be an Oubliette, and not just an Oblivion Ring 2015-09-12 00:58:55 +00:00
Sol
b30571f62b - Potentially fixing NPE with can't block pump for AI 2015-08-26 01:47:53 +00:00
excessum
be5b6be029 - Added hack to prevent bug with fight mode of Dromoka's Charm losing its targets if the +1 counters is also selected 2015-08-19 09:47:19 +00:00
excessum
8f90f5532b - Improved AI for charm and life-gain effects and removed RemAiDeck for Ojutai's Command 2015-08-17 13:01:49 +00:00
excessum
368d98fd98 - Forced AI to always return Deathmist Raptor face-up 2015-08-16 08:14:42 +00:00
excessum
775b2185b2 - Implemented AI for Dromoka's Command (except for prevent damage option) 2015-08-15 14:34:41 +00:00
excessum
27f76c9ee8 - Fixed AI casting charms with less than minimum options and removed RemAiDeck for Kolaghan's Command 2015-08-15 14:06:56 +00:00
excessum
de9a0f79b7 - Fixed Skullcrack (AI never casts) and Wild Slash (AI never holds it in hand) 2015-08-15 09:36:14 +00:00
excessum
0d70a84126 - Allow AI to burn player based on current hand size (helps Red decks that happen to draw too many burn spells and burn decks) 2015-08-09 12:22:38 +00:00
Sloth
33acaf6c8b - Improved AI using Fireball (still very much incomplete). 2015-08-06 22:16:12 +00:00
Sloth
df37d67bf0 - Improved AI using Goblin Rimerunner and similar creatures. 2015-08-06 21:51:52 +00:00
Sol
7074d1e6b4 - Fixing AI working with Feldon 2015-07-28 02:02:50 +00:00
Sloth
44e1c8a886 - Fixed AI not playing Reality Strobe from suspend when only lands are available as targets. 2015-07-25 07:38:34 +00:00
Sloth
56a1c70bc5 - Improvements in AiBlockController. 2015-07-21 11:59:53 +00:00
Sloth
6904268f80 - Added Menace to evaluateCreature calculation. 2015-07-21 10:00:21 +00:00
Sloth
007c3ee20c - Cleanup of 2 AI functions. 2015-07-21 09:36:56 +00:00
Sloth
9e9a5aea86 - The AI will no longer kill itself with damage from Eidolon of the Great Revel, Ruric Thar, the Unbowed, Spellshock or similar cards. 2015-07-19 11:38:59 +00:00
Sloth
6cc38f04ce - The AI will no longer pump combatants to kill creatures like Rukh Egg. 2015-07-19 09:29:04 +00:00
Sloth
51997090e7 - The AI will no longer target fetchlands with Spreading Seas and similar cards. 2015-07-19 09:03:18 +00:00