Commit Graph

2607 Commits

Author SHA1 Message Date
Agetian
78e78bb3d5 - Added puzzle PS_GRNS (Survive the Turn: GRN edition).
- Currently doesn't work well because the AI doesn't prioritize cards in such a way that they would play the cards in such a way they'd actually win on their first turn.
2019-06-18 22:18:41 +03:00
Agetian
4b38c614fa - Improve logic for Ajani, the Greathearted. 2019-06-18 19:57:44 +03:00
Agetian
077bfc4fdf - Added AI cast preference to Mass Hysteria and Concordant Crossroads 2019-06-17 19:08:14 +03:00
Agetian
7b8e59810c - Somewhat better logic for Might of Old Krosa and Arrester's Zeal, allowing the AI to use them in Main 1 in overwhelming situations. 2019-06-16 17:20:40 +03:00
Agetian
80946ca88f - Fix a logic error in TapAllAi 2019-06-16 12:59:06 +03:00
Agetian
379e866424 - Improve AI playability checks for Kicker costs 2019-06-15 09:52:02 +03:00
Michael Kamensky
bf38dac8c8 Added a test for Necrotic Ooze copying Basking Rootwalla's ability from a graveyard. 2019-06-14 15:28:53 +00:00
Rob Schnautz
249649dbaa Merge branch 'master' into 'deprecation-cleanup'
# Conflicts:
#   forge-ai/src/main/java/forge/ai/ability/DiscardAi.java
#   forge-ai/src/main/java/forge/ai/ability/RearrangeTopOfLibraryAi.java
2019-06-13 22:10:10 +00:00
Blacksmith
560fdf1a46 [maven-release-plugin] prepare for next development iteration 2019-06-12 20:13:01 +00:00
Blacksmith
2974f6a7c3 [maven-release-plugin] prepare release forge-1.6.26 2019-06-12 20:12:56 +00:00
Agetian
09e0967c37 - Fix London Mulligan AI 2019-06-12 13:32:19 +03:00
Agetian
06abfc1f14 - Improved London Mulligan AI
- Also tweaked Goatnap to use AddKWs
2019-06-12 11:00:48 +03:00
Agetian
23b8b91a20 - Fix kill spell prediction for wrapped abilities (fixes AI for Munitions Expert) 2019-06-12 09:49:14 +03:00
Agetian
b772b08d03 - A more traditional name for the AI logic 2019-06-12 08:01:35 +03:00
Agetian
25995db862 - Fix the AI logic for Hunt the Weak 2019-06-12 07:59:09 +03:00
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