Commit Graph

3292 Commits

Author SHA1 Message Date
Michael Kamensky
602fd96a6d - DestroyAllAi: check for the outcome from DB subabilities (fixes Shatter the Sky logic) 2020-08-02 13:17:45 +03:00
Agetian
266fcd392d - Tweak the values for the algorithm a bit. 2020-07-23 09:44:37 +03:00
Agetian
3c23144faf - Account for possible life loss scenarios. 2020-07-23 09:42:41 +03:00
Agetian
8269d13b0f - Simple Revenge of Ravens combat AI 2020-07-23 09:14:34 +03:00
Hans Mackowiak
f830c3a6b8 Cardfactory cleanup 2020-07-22 14:32:25 +00:00
Agetian
62d3c4457b - Improve AI logic for Bound by Moonsilver. 2020-07-20 08:03:10 +03:00
Agetian
80332687cb - Add several PlayMain1 hints to cards + Extort (to ensure the AI can extort whatever he casts later that turn). 2020-07-19 06:57:18 +03:00
Agetian
db3d236463 - Fix unused imports. 2020-07-16 12:39:22 +03:00
Agetian
1f5578ad90 - Improve and unify Pongify logic.
- Add the SpecialAiLogic class for logic that is shared across several AFs by multiple cards.
- Move Aristocrats logic from PumpAi/CountersPutAi into SpecialAiLogic.
2020-07-16 12:22:01 +03:00
Agetian
69d18a6911 - Add a TODO entry 2020-07-15 09:01:46 +03:00
Agetian
e2f738036d - Initial implementation for Pongify-like logic in ChangeZoneAi 2020-07-15 08:59:36 +03:00
Blacksmith
5076f19194 [maven-release-plugin] prepare for next development iteration 2020-07-14 02:04:44 +00:00
Blacksmith
90a4cd49e8 [maven-release-plugin] prepare release forge-1.6.36 2020-07-14 02:04:38 +00:00
Agetian
faf5ac7728 - Check NetCombatDamage instead of NetPower 2020-07-10 14:23:45 +03:00
Agetian
082fd8cf5f - Somewhat more appropriate location for the updated trample AI code. 2020-07-10 12:34:42 +03:00
Agetian
b3857dfcfd - Allow the AI to trample over defenders it can't kill (e.g. Orgg vs. a regenerating blocker). 2020-07-10 12:18:09 +03:00
Agetian
276a6ba619 - Fix a crash in the AI ManaPref checking code. 2020-07-10 06:57:09 +03:00
Agetian
448de9b4a2 - Initial implementation for the RemoveDeck:NonCommander hint. 2020-07-09 09:22:47 +03:00
Agetian
33e0911abc - Adamant: improve the algorithm, make AIManaPref customizable when it comes to preferred shard count. 2020-07-09 08:54:35 +03:00
Agetian
1ae2055f5a - Adamant AI: initial implementation, needs refining. 2020-07-08 21:21:41 +03:00
Hans Mackowiak
4a11157019 Resolve "Morph X costs - X is not being remembered" 2020-07-07 09:58:08 +00:00
Agetian
1c73050e72 - Checking static abilities makes no difference for grantsUsefulExtraBlockOpts. 2020-07-05 17:21:01 +03:00
Agetian
fc8922e271 - Improve logic for grantsUsefulExtraBlockOpts, fix an issue where the AI would start spam-activating pump abilities randomly when about to lose. 2020-07-05 13:47:16 +03:00
Agetian
ad202355b2 - Improve Maze's End AI. 2020-06-29 22:18:05 +03:00
Blacksmith
91bc90f819 [maven-release-plugin] prepare for next development iteration 2020-06-29 02:47:45 +00:00
Blacksmith
4049d23562 [maven-release-plugin] prepare release forge-1.6.35 2020-06-29 02:47:40 +00:00
swordshine
ab6a322f98 Fix a line in AiCostDecision 2020-06-28 22:35:32 +08:00
swordshine
558fbd3946 Add Ormos, Archive Keeper 2020-06-28 20:40:56 +08:00
swordshine
aa21883049 Add Inniaz, the Gale Force 2020-06-27 22:28:20 +08:00
swordshine
088062a93e Update Ai PaymentDecision 2020-06-26 12:14:27 +08:00
Hans Mackowiak
19c07f5bef Resolve "Avoid bad performance pattern involving Interger.parseInt" 2020-05-31 14:22:25 +00:00
Hans Mackowiak
51c15a5a4c WrappedAbility & Trigger: some cleanup 2020-05-30 08:29:53 +02:00
Hans Mackowiak
6fde7149a4 - Basic support for CountersMoveAi (e.g. The Ozolith) so at least it doesn't crash, needs improvement. 2020-05-27 00:17:28 +00:00
Michael Kamensky
1ced1058c9 Merge branch 'gameCacheRework' into 'master'
Human Play: try to remove usage of game.getCard

See merge request core-developers/forge!2804
2020-05-24 11:02:52 +00:00
Hans Mackowiak
ea26f6c689 Human Play: try to remove usage of game.getCard 2020-05-24 11:02:51 +00:00
Hans Mackowiak
74589d59e4 TokenAi: fix setting Owner of the Token to prevent NPE 2020-05-23 15:42:56 +02:00
Sol
933fe7ad49 Fix Mystic Barrier swallowing triggers 2020-05-22 05:22:11 +00:00
Agetian
3041788be1 - Fix DestroyAi hanging when considering auras that control AI's cards 2020-05-21 17:18:48 +03:00
Hans Mackowiak
d86aa31ab8 DigMultipleEffect: add extra ChosenZone to select N from the Chosen 2020-05-20 16:35:23 +00:00
swordshine
b7b2c88916 Merge branch 'jegantha' into 'master'
Jegantha

See merge request core-developers/forge!2802
2020-05-20 00:49:58 +00:00
Hans Mackowiak
0af1085f79 Effects: Effects that create Tokens now use common base class 2020-05-19 03:46:43 +00:00
friarsol
7966684424 Fix FindBestLand ai 2020-05-17 21:12:03 -04:00
Agetian
76ade204bb - Fix AI cheating with ChooseTypeEffect 2020-05-14 08:24:03 +03:00
friarsol
022875f07a Add "AI" for Companion choosing 2020-05-12 21:26:41 -04:00
rory
51e945df72 Merge branch 'master' into jegantha 2020-05-10 11:39:14 -07:00
rory
4eb21594b4 Jegantha, the Wellspring 2020-05-10 11:34:07 -07:00
Agetian
b0300edc9f - Fix NPE in chooseCardName (AI) 2020-05-10 19:03:01 +03:00
Blacksmith
98d80a1328 [maven-release-plugin] prepare for next development iteration 2020-05-05 16:05:39 +00:00
Blacksmith
2d3a538f6d [maven-release-plugin] prepare release forge-1.6.34 2020-05-05 16:05:31 +00:00
Hans Mackowiak
b964cc6448 add ChooseEvenOdd 2020-05-03 04:55:13 +00:00