Commit Graph

906 Commits

Author SHA1 Message Date
Sloth
3b7935d868 - Improved LifeGainAI. 2015-10-04 08:56:37 +00:00
Agetian
37041145bf - Removed a redundant comment in ComputerUtilCost. 2015-10-04 05:54:31 +00:00
Agetian
c685fc5919 - Smarter and more concise mechanism for deciding whether to play a shockland untapped or tapped. 2015-10-03 15:09:34 +00:00
Agetian
4819316fbb - Somewhat better handling of player type check in the new routines. 2015-10-03 12:47:25 +00:00
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
Chris
d26d25fd85 [maven-release-plugin] prepare for next development iteration 2015-10-02 17:20:52 +00:00
Chris
10cb50140a [maven-release-plugin] prepare release forge-1.5.46 2015-10-02 17:20:43 +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
Chris
2ee65644c8 [maven-release-plugin] prepare for next development iteration 2015-09-12 15:06:07 +00:00
Chris
35c8a1ec4e [maven-release-plugin] prepare release forge-1.5.45 2015-09-12 15:05:57 +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
Chris
88201def97 [maven-release-plugin] prepare for next development iteration 2015-08-28 17:40:57 +00:00
Chris
93bf0682e0 [maven-release-plugin] prepare release forge-1.5.44 2015-08-28 17:40:48 +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
Chris
bfc16156ba [maven-release-plugin] prepare for next development iteration 2015-08-14 18:32:38 +00:00