Commit Graph

3163 Commits

Author SHA1 Message Date
Hans Mackowiak
386260ea0d fix spell ability copies only on stack when spells 2020-11-05 20:22:32 +01:00
Hans Mackowiak
9b040b063b - DelayedTriggerAi: port over AILogic NarsetRebound and SpellCopy (the latter doesn't quite work yet and the spell somehow magically fizzles with no trace). 2020-11-04 08:56:41 +00:00
Michael Kamensky
b702819baf - Add an AI property to get rid of opposing curse auras with Hexproof/Shroud/Protection 2020-11-01 12:01:48 +03:00
Michael Kamensky
a0a909d04c - Don't add a null card to target in animateTgtAi 2020-10-14 23:18:36 +03:00
Michael Kamensky
0ba785bf11 - Fix a NPE in AnimateAi and CardFactoryUtil. 2020-10-14 07:27:41 +03:00
Michael Kamensky
e715b666f3 Merge branch 'witchs-vengenance' into 'master'
Improved AnimateAI for Clan Guildmage

See merge request core-developers/forge!3234
2020-10-06 06:17:53 +00:00
Michael Kamensky
b1080d8e4d - Improve AnimateAi for Clan Guildmage. 2020-10-06 09:14:56 +03:00
Michael Kamensky
fb16232c9f Merge branch '1605-6-broken-tests-as-of-10-04-2020' into 'master'
Resolve "6 Broken Tests as of 10/04/2020"

Closes #1605

See merge request core-developers/forge!3231
2020-10-05 06:46:22 +00:00
Hans Mackowiak
011a5dddeb CardType: add flag to show when its used incomplete in Animate Effects 2020-10-05 08:07:18 +02:00
Michael Kamensky
5af2bbbc81 - Remove unused imports. 2020-10-05 07:32:40 +03:00
Michael Kamensky
3ce3d70c62 - Basic Witch's Vengeance AI, some refactoring in ChooseTypeAi. 2020-10-05 07:30:57 +03:00
Hans Mackowiak
5854a2ff36 GUI: make many call getChoices and not order 2020-10-03 08:29:57 +02:00
Michael Kamensky
b2adfd4a02 Merge branch '1577-znr-charm-effect-tweaks' into 'master'
Resolve "ZNR: Charm Effect tweaks"

Closes #1562, #1570, and #1577

See merge request core-developers/forge!3197
2020-10-01 05:02:41 +00:00
Hans Mackowiak
daf70f7e60 Resolve "ZNR: Charm Effect tweaks" 2020-10-01 05:02:41 +00:00
Anthony Calosa
5be73af7e9 Fix GenericChoice UI 2020-09-30 21:26:06 +08:00
Hans Mackowiak
c8d69cbbb9 Resolve "ZNR: Modal Double Faced Cards" 2020-09-14 19:13:54 +00:00
Michael Kamensky
3bc2cde046 - Fix the AI killing itself with Mystic Forge.
- The AI shouldn't miss the NameCard trigger. However, there's no meaningful AI logic yet, so the AI will just name a random thing for now.
2020-08-27 07:38:49 +03:00
Michael Kamensky
f9e86bbe8c - Handle AI equipping creatures in Main 2 by way of prioritizing spells instead of hard-locking it. 2020-08-19 09:53:58 +03:00
Michael Kamensky
9630786fa6 - Basic Balan, Wandering Knight AI logic 2020-08-14 20:20:31 +03:00
Michael Kamensky
5fd74c53c9 - Various AI flags and improvements. 2020-08-13 13:34:03 +03:00
Michael Kamensky
4a97e593e9 - Fix NPE in the Unless cost AI. 2020-08-04 21:09:09 +03:00
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