Commit Graph

2259 Commits

Author SHA1 Message Date
Michael Kamensky
014026e38a Merge branch 'master' into 'master'
A somewhat better logic for Chandra, Bold Pyromancer +1 ability so the AI doesn't miss opportunities to use it.

See merge request core-developers/forge!1121
2018-11-20 07:01:51 +00:00
Agetian
957e73304e - A somewhat better logic for Chandra, Bold Pyromancer + ability so the AI doesn't restrict itself in its use. 2018-11-20 09:51:25 +03:00
Michael Kamensky
c0401ffd9c Merge branch 'puzzle-engine' into 'master'
Added puzzle PS_GRN7 (Possibility Storm - Guilds of Ravnica 07). Fixed Setup Game State not clearing effect cards from command zone.

See merge request core-developers/forge!1120
2018-11-20 05:17:28 +00:00
Agetian
a5aa83837d - Added puzzle PS_GRN7.
- Fixed effect cards lingering in the command zone across Setup Game State calls from the dev mode menu.
2018-11-20 08:15:23 +03:00
Agetian
1f70ef7286 - Squee: don't return to Command zone, easier to recast from the grave. 2018-11-19 20:36:08 +03:00
Agetian
c7f6d8b37a - Added a Legendary Rule check. 2018-11-19 06:36:02 +03:00
Agetian
5f079b3d49 - AttachAi: do not play the second copy of a legendary enchantment. 2018-11-18 22:42:54 +03:00
Agetian
726976f3f6 - Fix the AI logic for predicting creatures that are dead to stack (needed to exclude the originating SA).
- Optimize the logic for predicting playability of spells: check whether an ability can be paid for before running the full canPlay loop, may benefit performance especially on mobile systems.
2018-11-18 12:51:46 +03:00
Agetian
7adb8201c6 - Simple logic for Enhanced Surveillance. Fix description. 2018-11-17 09:23:40 +03:00
Agetian
c539f5d1a3 - Improved damage trigger detection in AttachAi. 2018-11-15 20:21:44 +03:00
Agetian
ea35e04ba8 - Back to the more complex yet comprehensive way of figuring out damage on attach, but keep AITgts in AttachAi, might come in handy later. 2018-11-15 18:48:30 +03:00
Agetian
c98ad6a097 - A simpler implementation for Tilonalli, using AITgts. 2018-11-15 17:16:01 +03:00
Agetian
b3f66d2b64 - Fixed the AI playing Tilonalli's Crown on 1-toughness creatures. 2018-11-15 16:22:19 +03:00
Agetian
cea32aa83b - Some more Evra logic. 2018-11-14 14:54:21 +03:00
Agetian
b6fb570944 - Some additional Evra logic. 2018-11-14 08:49:21 +03:00
Agetian
483fdbee4d - Some extra AI for Evra, Halcyon Witness. 2018-11-14 08:27:54 +03:00
Agetian
509b5532b4 - Fix the AI overpaying for Syncopate and similar counterspells. 2018-11-12 15:56:05 +03:00
Agetian
7b18df3730 - A little more work on combat tricks. 2018-11-11 18:00:29 +03:00
Agetian
03571f3466 - A little bit more work on combat tricks. 2018-11-11 17:47:47 +03:00
Agetian
fcc3a28b86 - Fixed logic in reserving mana for combat tricks. 2018-11-11 17:38:32 +03:00
Agetian
829a82b98f - Fixed a logic error in Surveil AI.
- Added a couple card hints.
2018-11-11 14:18:34 +03:00
Agetian
1a73c6bea5 - Attempt to fix the AI transforming Azcanta if a copy of the transformed legendary land already exists on the battlefield. 2018-11-10 20:41:52 +03:00
Blacksmith
66c7f0745d [maven-release-plugin] prepare for next development iteration 2018-11-10 06:06:16 +00:00
Blacksmith
ed1febafe6 [maven-release-plugin] prepare release forge-1.6.18 2018-11-10 06:06:11 +00:00
Agetian
530f5c2e35 - Fixed a logic error in the recent Momir strategy commit. 2018-11-09 22:19:02 +03:00
Agetian
c1260dd4e1 - Some improvements to Momir/MoJhoSto basic land strategy. 2018-11-09 15:42:40 +03:00
Agetian
098569064f - Fixed the Once logic check in SurveilAi. 2018-11-08 09:34:35 +03:00
Agetian
44de14d070 - Minor improvements in Surveil logic. 2018-11-08 08:47:19 +03:00
Agetian
a5d6ba2530 - Logic fix in prioritizing creatures worth removing. 2018-11-07 09:11:22 +03:00
Michael Kamensky
985599a3b2 Various AI improvements. 2018-11-06 11:59:49 +00:00
Hans Mackowiak
3dc438c332 Update ControlExchangeAi.java
Closes #764
2018-11-05 10:28:38 +00:00
Michael Kamensky
be86f5be9b Added several M19-GRN quest opponent decks, fixed the AI for several cards in Standard. 2018-11-04 18:34:15 +00:00
Michael Kamensky
d870a1b0f1 Make the AI account for static abilities granted from the evaluated card in ApplyStaticContPT 2018-11-04 09:12:59 +00:00
Hanmac
877b0abd66 add Sentry Breadcrumb 2018-11-03 18:02:18 +01:00
Agetian
0f72f0db8a - Attempt to fix the AI never playing Fight with Fire, kicked or unkicked. 2018-11-03 11:01:15 +03:00
Agetian
976418b89c - Improve Vivien of the Arkbow +2 AI in absence of creatures. 2018-11-03 08:24:03 +03:00
Agetian
0ab87d46b4 - Improved the implementation: clear the memory set for reentry-susceptible cards when starting to consider a new SA.
- Some more improvements in AiCardMemory.
2018-10-30 15:04:58 +03:00
Agetian
1ab9f2cae5 - Fixed a stack overflow when the AI is considering Pause for Reflection.
- Improved the implementation of AiCardMemory a little, making it a little safer to use as well in routines which may also be used to simulate human behavior.
2018-10-30 13:06:33 +03:00
Michael Kamensky
cfd4aafc35 Improve Omnispell Adept AI 2018-10-26 20:00:00 +00:00
Agetian
f4db360265 - Prevent NPEs caused by the AI when testing for the new style AI hints from within AI methods on Card objects, which is dangerous because Card.getRules() is not guaranteed to be non-null, and may indeed be null for objects such as tokens (especially noticeable in Momir Basic and MoJhoSto).
- Currently relegated 99% of AI calls to those getAIHints tests to a wrapper method which checks for a non-null getRules.
- The card predicate has to test for non-null directly to avoid adding an unnecessary dependency on the AI module (the alternative would be to add the wrapper methods to the Card object, but that'll clutter it even more and the AI hints belong to the AI side of things, not the card itself).
2018-10-26 17:16:12 +03:00
Chris H
ff4622954f Fix NPEs reported by Sentry 2018-10-20 22:07:57 -04:00
Sol
79f580d55a Update PowerExchangeAi.java 2018-10-19 13:37:29 +00:00
Michael Kamensky
4b52ff05d5 Update direct references to RemAIDeck/RemRandomDeck to use the new format 2018-10-19 12:13:31 +00:00
Blacksmith
b11830a12a [maven-release-plugin] prepare for next development iteration 2018-10-15 15:42:16 +00:00
Blacksmith
a8fbfce51f [maven-release-plugin] prepare release forge-1.6.17 2018-10-15 15:42:12 +00:00
Jamin Collins
51bc066238 Merge branch 'fix+gonti' into 'master'
Fixing Mana types being inappropriately referenced in relation to Matrices

See merge request core-developers/forge!883
2018-10-12 23:13:33 +00:00
Chris H
8ac960168d Cross my fingers 2018-10-09 21:43:48 -04:00
swordshine
375c1e0da7 - Added Aminatou, the Fateshifter 2018-10-09 12:03:29 +08:00
swordshine
09b62681c1 - Fixed Whispering Snitch 2018-10-02 22:21:13 +08:00
KrazyTheFox
f0c2cf8577 Fix up pom files 2018-09-29 16:41:06 -04:00