Commit Graph

2301 Commits

Author SHA1 Message Date
Agetian
5a9e9f74c0 - Fixed a logic error which caused the AI not to equip legendary equipments. 2018-11-26 09:09:32 +03:00
Agetian
25e3d17cdf - Tweaked RearrangeTopOfLibraryAI a little. 2018-11-25 07:42:23 +03:00
Michael Kamensky
e608f55f36 Merge branch 'attachCombine' into 'master'
Attach combine

Closes #561

See merge request core-developers/forge!1111
2018-11-25 04:22:22 +00:00
Agetian
79b7b1f935 - Added a ReorderTopOfLibrary AI logic.
- Marked the relevant cards AI playable.
2018-11-24 22:15:10 +03:00
Agetian
3fff9efa39 - Attempting to refactor names to not be ambiguous/confusing. 2018-11-24 11:22:12 +03:00
Agetian
05ac8b0b53 - Attempting to refactor names to not be ambiguous/confusing. 2018-11-24 10:53:06 +03:00
Agetian
a838228008 - Improved AI card choice for Phylactery Lich. 2018-11-23 22:45:06 +03:00
Hanmac
596ad849dc Attach: refactor names 2018-11-23 08:21:38 +01:00
Hanmac
df83e7c783 ST: CantAttach begins to replace other cases 2018-11-23 08:21:37 +01:00
Hanmac
2f913724cb Attached: combine Enchant+Equip+Fortify 2018-11-23 08:21:36 +01:00
Michael Kamensky
19dad31da3 AI for Rallying Roar and several similar cards. 2018-11-23 05:45:21 +00:00
Agetian
b021e13d86 - A couple minor tweaks in AttachAi. 2018-11-23 07:33:44 +03:00
Agetian
c36b1a4a63 - Changed the defaults in AiProps. 2018-11-22 19:54:04 +03:00
Agetian
1f712f96a6 - Fix imports. 2018-11-22 19:53:02 +03:00
Agetian
79f9eb0f99 - More death prediction in Flash logic. 2018-11-22 19:46:10 +03:00
Agetian
2e0177fc08 - Improved detection of combat death in AttachAi for flash auras. 2018-11-22 19:39:45 +03:00
Agetian
64d47560dc - More work on creature flash logic. 2018-11-22 19:26:00 +03:00
Agetian
12ec6e24a2 - More work on flash aura logic. 2018-11-22 19:06:44 +03:00
Agetian
0b0c08631a - Added a full advanced Flash Attach Ai infrastructure and the basic logic and toggles for it. 2018-11-22 09:03:15 +03:00
Agetian
874c545a08 - Added a full advanced Flash logic infrastructure and the basic toggles for it. 2018-11-21 22:51:10 +03:00
Agetian
05598ac224 - A little bit more work on Advanced Flash Logic. 2018-11-21 16:24:53 +03:00
Agetian
81b5feb0f9 - Added the initial boolean flags for advanced Flash AI.
- Refactored the adv Flash logic to its own method.
2018-11-21 13:14:06 +03:00
Agetian
2d2ddac2e8 - Initial setup for advanced Flash. 2018-11-21 13:13:56 +03:00
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
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