Commit Graph

33 Commits

Author SHA1 Message Date
Agetian
7e40bb91a3 - Added a SpellApiToAi assignment for AF GameDrawn.
git-svn-id: http://svn.slightlymagic.net/forge/trunk@35817 269b9781-a132-4a9b-9d4e-f004f1b56b58
2017-09-28 17:31:47 +00:00
Agetian
80459bfbbd - AI should not be so reckless with triggered pumps that result in losing the card at end of turn (e.g. Hazoret's Favor)
git-svn-id: http://svn.slightlymagic.net/forge/trunk@35806 269b9781-a132-4a9b-9d4e-f004f1b56b58
2017-09-28 06:24:44 +00:00
Agetian
52863adf49 - Some improvements to the Splice AI: do not reconsider the SA unless at least something was chosen for splice to save processing time; reset the targets on the main SA because it'll need to be retargeted anyway.
git-svn-id: http://svn.slightlymagic.net/forge/trunk@35805 269b9781-a132-4a9b-9d4e-f004f1b56b58
2017-09-28 04:41:38 +00:00
Agetian
e05a8a0f8f - Attempting to fix Splice onto Arcane AI: when adding splice effects by the AI, actually reconsider the entire SA (with spliced subs) via the canPlay routine (and set targets while at it) before deciding whether to play it or not. Might not be optimal, but at least it seems to stop the AI from wasting splice cards and making them disappear from the game into the void. Improvements are welcome.
git-svn-id: http://svn.slightlymagic.net/forge/trunk@35802 269b9781-a132-4a9b-9d4e-f004f1b56b58
2017-09-27 18:53:25 +00:00
Agetian
86b62623e3 - Turned CheckCondition into a generic top-level AILogic, used it for both Repeating Barrage and Sasaya, Orochi Ascendant at the same time.
git-svn-id: http://svn.slightlymagic.net/forge/trunk@35800 269b9781-a132-4a9b-9d4e-f004f1b56b58
2017-09-27 15:02:36 +00:00
Agetian
83b87d4eaf - Fixed the AI cheating with Repeated Barrage Raid ability.
git-svn-id: http://svn.slightlymagic.net/forge/trunk@35799 269b9781-a132-4a9b-9d4e-f004f1b56b58
2017-09-27 14:59:07 +00:00
Agetian
99834ec024 - A somewhat more fine-grained and less spoiler-y option to order graveyards, now with three states (Never / With Relevant Cards / Always).
git-svn-id: http://svn.slightlymagic.net/forge/trunk@35796 269b9781-a132-4a9b-9d4e-f004f1b56b58
2017-09-27 14:40:48 +00:00
Agetian
defb595317 - Bushido AI: attempt to avoid accounting for it twice when predicting P/T bonuses.
git-svn-id: http://svn.slightlymagic.net/forge/trunk@35791 269b9781-a132-4a9b-9d4e-f004f1b56b58
2017-09-27 07:39:18 +00:00
Agetian
20d48358ad - PlayerControllerAi: when playing with ordered graveyards and there's a Volrath's Shapeshifter in the game, try to place the best creature on top of the graveyard for the most value if Volrath's Shapeshifter hits the battlefield.
git-svn-id: http://svn.slightlymagic.net/forge/trunk@35788 269b9781-a132-4a9b-9d4e-f004f1b56b58
2017-09-27 06:20:25 +00:00
Agetian
1f77d51632 - Added an experimental option to allow ordering cards going to graveyard when playing with cards that care about graveyard order (Volrath's Shapeshifter and others). Disabled by default.
git-svn-id: http://svn.slightlymagic.net/forge/trunk@35782 269b9781-a132-4a9b-9d4e-f004f1b56b58
2017-09-26 19:40:44 +00:00
Agetian
258c46868a - Some refactoring in AiBlockController related to random trades.
- Enabling random trades for favorable gang double and triple blocks.

git-svn-id: http://svn.slightlymagic.net/forge/trunk@35778 269b9781-a132-4a9b-9d4e-f004f1b56b58
2017-09-26 12:48:22 +00:00
Agetian
524fe288de - Some additional NPE protection in applyPotentialAttackCloneTriggers.
git-svn-id: http://svn.slightlymagic.net/forge/trunk@35769 269b9781-a132-4a9b-9d4e-f004f1b56b58
2017-09-25 13:28:19 +00:00
Agetian
11236a9749 - A more appropriate solution for the manland animation AI problem.
git-svn-id: http://svn.slightlymagic.net/forge/trunk@35765 269b9781-a132-4a9b-9d4e-f004f1b56b58
2017-09-25 11:21:48 +00:00
Agetian
db383f654b - Improved the animate manland AI such that it doesn't try to animate manlands that are already tapped.
git-svn-id: http://svn.slightlymagic.net/forge/trunk@35762 269b9781-a132-4a9b-9d4e-f004f1b56b58
2017-09-25 11:03:54 +00:00
Agetian
767c255a9c - ExploreAi: honor the DoNotDiscardIfAble SVar.
git-svn-id: http://svn.slightlymagic.net/forge/trunk@35760 269b9781-a132-4a9b-9d4e-f004f1b56b58
2017-09-25 08:06:14 +00:00
Agetian
d35831d328 - Simple AI support for Explore (feel free to expand).
git-svn-id: http://svn.slightlymagic.net/forge/trunk@35759 269b9781-a132-4a9b-9d4e-f004f1b56b58
2017-09-25 08:02:08 +00:00
Agetian
4ceb3d52ba - A somewhat less confusing Boneyard Parley AI.
git-svn-id: http://svn.slightlymagic.net/forge/trunk@35744 269b9781-a132-4a9b-9d4e-f004f1b56b58
2017-09-24 15:01:58 +00:00
Agetian
fa10fd8a77 - Made Boneyard Parley AI playable.
git-svn-id: http://svn.slightlymagic.net/forge/trunk@35740 269b9781-a132-4a9b-9d4e-f004f1b56b58
2017-09-24 14:07:06 +00:00
Indigo Dragon
ba31f5bbed Changed "CARDNAME can block an additional creature." to CARDNAME can block an additional creature each combat."
Notes: Possible weird interactions when giving a multiblock creature an additional block eg. Equipping a Night Market Guard with echo circlet. Further study required.

git-svn-id: http://svn.slightlymagic.net/forge/trunk@35739 269b9781-a132-4a9b-9d4e-f004f1b56b58
2017-09-24 12:33:45 +00:00
Agetian
04da295f49 - Some improvements to DoNotDiscardIfAble discard AI for corner cases, to avoid (very rare) situations where the AI would not discard anything or crash.
git-svn-id: http://svn.slightlymagic.net/forge/trunk@35736 269b9781-a132-4a9b-9d4e-f004f1b56b58
2017-09-24 04:48:07 +00:00
Agetian
065f4194bb - Cavern of Souls AI: do not try to pay with the SA the card for which was already tapped, for this cost or for something else.
git-svn-id: http://svn.slightlymagic.net/forge/trunk@35729 269b9781-a132-4a9b-9d4e-f004f1b56b58
2017-09-23 14:12:48 +00:00
Blacksmith
6a43731006 [maven-release-plugin] prepare for next development iteration
git-svn-id: http://svn.slightlymagic.net/forge/trunk@35726 269b9781-a132-4a9b-9d4e-f004f1b56b58
2017-09-23 13:45:20 +00:00
Blacksmith
cf50723951 [maven-release-plugin] prepare release forge-1.6.3
git-svn-id: http://svn.slightlymagic.net/forge/trunk@35724 269b9781-a132-4a9b-9d4e-f004f1b56b58
2017-09-23 13:45:13 +00:00
Hanmac
3518dba4de basic Explore Effect
git-svn-id: http://svn.slightlymagic.net/forge/trunk@35721 269b9781-a132-4a9b-9d4e-f004f1b56b58
2017-09-23 11:47:57 +00:00
Agetian
5991c8f51c - Fixed Scry AI scrying away basic lands thinking that they do not produce mana since they do not use a mana-producing SA as such and rely on the basic land type instead.
git-svn-id: http://svn.slightlymagic.net/forge/trunk@35720 269b9781-a132-4a9b-9d4e-f004f1b56b58
2017-09-23 11:16:58 +00:00
Agetian
5e7442af9d - Improved support for Illusions-Donate, added deck The Great and Powerful Trixie 2, changed the deck The Great and Powerful Trixie 3 to be a more standard Legacy-legal Trix.
git-svn-id: http://svn.slightlymagic.net/forge/trunk@35719 269b9781-a132-4a9b-9d4e-f004f1b56b58
2017-09-23 09:04:16 +00:00
Agetian
454da1511f - AI: Improved logic for Capsize.
git-svn-id: http://svn.slightlymagic.net/forge/trunk@35717 269b9781-a132-4a9b-9d4e-f004f1b56b58
2017-09-23 05:09:16 +00:00
Agetian
c215bac8b7 - Some changes for the experimental Intuition logic as support for Illusions-Donate.
git-svn-id: http://svn.slightlymagic.net/forge/trunk@35713 269b9781-a132-4a9b-9d4e-f004f1b56b58
2017-09-22 19:36:48 +00:00
Agetian
a2165f3f42 - Improved AI logic for Firecannon Blast.
git-svn-id: http://svn.slightlymagic.net/forge/trunk@35712 269b9781-a132-4a9b-9d4e-f004f1b56b58
2017-09-22 14:55:17 +00:00
Agetian
851845fcf3 - Some improvements in ComputerUtilCombat regarding predicting attack clone effects and MustBeBlocked.
git-svn-id: http://svn.slightlymagic.net/forge/trunk@35710 269b9781-a132-4a9b-9d4e-f004f1b56b58
2017-09-22 09:04:47 +00:00
Agetian
491d7b8dcd - A little improvement to the previous commit.
git-svn-id: http://svn.slightlymagic.net/forge/trunk@35708 269b9781-a132-4a9b-9d4e-f004f1b56b58
2017-09-22 05:55:17 +00:00
Agetian
75b2097313 - AI: Predict clone on attack effects like Tilonalli's Skinshifter when deciding which creatures to leave for blocking.
git-svn-id: http://svn.slightlymagic.net/forge/trunk@35707 269b9781-a132-4a9b-9d4e-f004f1b56b58
2017-09-22 05:53:49 +00:00
Agetian
29260c205d - Updated RankingScraper.py to use the draftsim ranking scraper instead of the defunct bestiaire ranking scraper.
git-svn-id: http://svn.slightlymagic.net/forge/trunk@35700 269b9781-a132-4a9b-9d4e-f004f1b56b58
2017-09-21 17:54:51 +00:00