Commit Graph

3292 Commits

Author SHA1 Message Date
Agetian
cfed38f4f1 - DamageDealAi: fix a crash and logic error for cards like Expansion // Explosion, Chamber Sentry, etc. 2019-06-11 15:19:32 +03:00
Agetian
6115c0cc45 - Fix RevealAi logic "Kefnet" 2019-06-11 09:08:44 +03:00
Michael Kamensky
caf6c73b7d Fix Sorin, Vengeful Bloodlord and implement a basic AI for it. 2019-06-09 14:08:32 +00:00
Agetian
597bcd17c8 - Fix the AI incorrectly considering valid targets in RearrangeTopOfLibraryAi. 2019-06-09 14:37:10 +03:00
Agetian
3dc6cc9795 - Various AI attack logic improvements (consider only valid blockers when evaluating shouldAttack, don't judge by canKillAllDangerous if dangerous creatures aren't among the potential defenders) 2019-06-09 14:36:44 +03:00
Agetian
d622e6c8fc - ChangeZoneAi: use the new targeting restriction 2019-06-09 14:35:06 +03:00
Hans Mackowiak
3644b8f74f MH1 Slice onto instance or sorcery 2019-06-09 09:22:57 +00:00
Agetian
e21ec52fdd - Improve ChangeZoneAi for Wrenn and Six like abilities. 2019-06-08 09:38:47 +03:00
Agetian
260acd5403 - MH1 AI hints
- Tweaked some AI hints for various older cards (similar to how they are on newer cards)
- Added MH1 to Time Vault in Planar Conquest
2019-06-08 09:35:27 +03:00
Agetian
1383549ea6 - Fix imports 2019-06-08 07:10:32 +03:00
Agetian
9b1ed633f5 - Fix and improve AI for Band Together and Courage in Crisis 2019-06-08 07:08:59 +03:00
Agetian
261454d803 - Fix imports. 2019-06-07 19:00:12 +03:00
Agetian
90276e1217 - Some additional logic for Return from Extinction. 2019-06-07 18:58:20 +03:00
Agetian
e5d3808407 - Tweak AnimateAi a little. 2019-06-07 13:38:17 +03:00
Agetian
35f01cebf1 - NPE precaution 2019-06-07 08:19:22 +03:00
Agetian
47cfa67c09 - Fix AI for Karn, the Great Creator. 2019-06-07 08:17:09 +03:00
Michael Kamensky
1709d0825c Improve AI considerations for attacking in presence of Exalted 2019-06-06 19:20:03 +00:00
Agetian
5ee562333a - Fix AI for Epiphany at the Drownyard. 2019-06-06 17:16:27 +03:00
Agetian
8161bd5f2c - Add a basic AristocratCounters hook for Dreadmalkin (currently doesn't sac planeswalkers).
- Fix division by zero in AristocratCounters logic.
2019-06-05 21:29:29 +03:00
Agetian
e61441c250 - Fix RearrangeTopOfLibraryAi missed triggers. 2019-06-05 13:15:42 +03:00
Agetian
532accd709 - Fix imports. 2019-06-05 12:11:08 +03:00
Agetian
fadd08bd21 - Basic AI for Gideon Blackblade. 2019-06-05 12:09:23 +03:00
Agetian
43117e8c98 - Fix RemoveCounterAi logic for Price of Betrayal 2019-06-04 10:05:37 +03:00
Hans Mackowiak
3ff3fbdcf5 ChangeX: add new Api to change the X value of a spell on the stack 2019-06-02 16:08:13 +00:00
Michael Kamensky
135b6a3921 Merge branch 'sideboard_for_ai' into 'master'
Add a feature to be able to Sideboard for the AI

See merge request core-developers/forge!1746
2019-06-01 06:43:29 +00:00
Michael Kamensky
a4ca3c77d8 Added a way to specify a NeedsToPlay variable for Evoke. 2019-06-01 02:24:26 +00:00
Chris H
cd20443255 Add a feature to be able to Sideboard for the AI 2019-05-30 22:55:31 -04:00
Agetian
407629bb69 - Be a little less reckless when evaluating a no-counterattack attrition attack 2019-05-30 08:34:46 +03:00
Agetian
04281db55f - Make the AI play a little bit more aggressively in attrition scenarios where it's favored 2019-05-30 08:24:30 +03:00
Agetian
2dcf1c088a - Fix DamageDealAi setting damage to 0 if adjustment to minimum required damage fails. 2019-05-29 18:53:32 +03:00
Agetian
b9a848f7eb - Fix AI for Hide // Seek 2019-05-29 18:27:01 +03:00
Agetian
d3b8a2cc0e - Fix Remove Any Counter for the AI 2019-05-29 14:24:01 +03:00
apantel
a93d131e02 Fix NPE when AI discards to hand size 2019-05-28 20:02:44 -04:00
Agetian
6810f6f68e - Make Knollspine Invocation AI playable. 2019-05-28 18:31:20 +03:00
Michael Kamensky
43b51c4795 - DamageDealAi: for some weird reason, PayX needs to be on both SA and the host, otherwise some cards break for the AI 2019-05-28 14:30:06 +00:00
Agetian
2da373b119 - Fix DamageDealAi PayX setup 2019-05-28 07:53:30 +03:00
Sol
6371e708b0 Merge branch 'master' into 'mulligans'
# Conflicts:
#   forge-game/src/main/java/forge/game/GameAction.java
2019-05-28 00:39:05 +00:00
Chris H
220e75a81b Extract mulligans from GameAction
- Add a few different types of Mulliganing that should be expandable
- To finish the work, we need the AI to better handle London mulligans
- And have the UI make this option selectable
2019-05-27 15:58:20 -04:00
Agetian
8caf66ecea - AnimateAllAi: implement an "Always" logic hook for cards that are generally beneficial to activate. 2019-05-25 08:05:03 +03:00
Agetian
1c0f98e55a - Fix a logic error in RearrangeTopOfLibrary AI 2019-05-25 07:05:18 +03:00
Agetian
86480dde6f - Make the AI consider the NonLegendary flag on AF Clone and AF CopyPermanent 2019-05-24 06:17:48 +03:00
Agetian
2daf92608c - AI logic support for Urza, Lord High Artificer.
- Minor fix.
2019-05-23 21:51:39 +03:00
Agetian
f2f1c8997e - Improve AI targeting logic for Transmogrifying Wand. 2019-05-23 06:27:30 +03:00
Michael Kamensky
c5e4518779 AI logic to blink-reload a planeswalker using Teferi's Time Twist. 2019-05-21 14:39:33 +00:00
Agetian
4e0b252ea0 - Implement some logic support for Finale of Revelation. 2019-05-21 08:18:01 +03:00
Blacksmith
6c945608b3 [maven-release-plugin] prepare for next development iteration 2019-05-20 00:42:07 +00:00
Blacksmith
57786e7c81 [maven-release-plugin] prepare release forge-1.6.25 2019-05-20 00:42:02 +00:00
Agetian
0bf336140a - Sarkhan trigger damage doesn't depend on the number of attackers. 2019-05-19 18:55:00 +03:00
Agetian
ab2d9afbf6 - Basic Teferi's Time Twist AI logic (currently only uses it to flicker-save its permanents) 2019-05-19 18:52:46 +03:00
Agetian
ad1c42acfc - AI precaution against attacking into Sarkhan the Masterless 2019-05-19 18:35:39 +03:00