Commit Graph

3292 Commits

Author SHA1 Message Date
Michael Kamensky
a1ea13ac5d - Fix inverse logic in AnimateAi 2021-02-19 10:28:38 +03:00
Michael Kamensky
b060c6da39 - Don't miss mandatory activations from triggers in AttachAi 2021-02-19 09:55:16 +03:00
tool4EvEr
a67fe0326f Fix AI mandatory trigger 2021-02-18 20:53:11 +01:00
Michael Kamensky
0116ccdc1d - Better CountersAi logic for keyword counters 2021-02-18 18:10:53 +03:00
Hans Mackowiak
a019d6ca5b ComputerUtilMana: fix predict Mana, TapsForMana + Amount$ X 2021-02-18 07:59:56 +01:00
Michael Kamensky
c7f8c1c59e - Improve clarity of code a little by inverting the condition check in GameState 2021-02-17 07:59:32 +03:00
Michael Kamensky
f78a375402 - AI shouldn't miss mandatory triggers for FogAi 2021-02-17 07:23:27 +03:00
Adam Pantel
9ecad3f775 Prevent crash with Back for More 2021-02-16 15:14:20 -05:00
tool4EvEr
44df63adee AI support for soul echo 2021-02-16 20:17:24 +01:00
Hans Mackowiak
54f1767d01 Merge branch 'fixCantBeCast' into 'master'
Fix CantBeCast Origin check

See merge request core-developers/forge!3864
2021-02-16 08:47:11 +00:00
Michael Kamensky
7ef07fa681 - Resolve several issues in the Game State support for Mutate/merged cards. 2021-02-16 09:46:17 +03:00
tool4EvEr
79d69ce4e7 Fix CantBeCast Origin 2021-02-15 22:17:12 +01:00
Michael Kamensky
71f191e71b - Fix auto mana payment for Chromatic Orrery and friends
- Fix the Haste icon crashing in desktop Forge
2021-02-15 21:08:51 +03:00
Michael Kamensky
19686a8d4e Make the AI account for "you may pay X with any color" or "...with any type" 2021-02-15 08:45:54 +00:00
Michael Kamensky
128b10614f - Fix the AI failing to bounce stuff e.g. with Riddlemaster Sphinx 2021-02-14 22:52:31 +03:00
Michael Kamensky
503844279f - Remove an unused variable. 2021-02-14 09:28:24 +03:00
Michael Kamensky
254f08dafe - Support Merged cards in the Game State. 2021-02-14 09:27:01 +03:00
Tim Mocny
d7f0665bae Nethroi (IKO) 2021-02-14 00:57:22 +00:00
Sol
dbcc277abb Merge branch 'mutate' into 'master'
Mutate

See merge request core-developers/forge!3772
2021-02-13 20:13:37 +00:00
Michael Kamensky
da6bf2c358 [maven-release-plugin] prepare for next development iteration 2021-02-13 18:00:08 +03:00
Michael Kamensky
0503686649 [maven-release-plugin] prepare release forge-1.6.38 2021-02-13 17:59:59 +03:00
Michael Kamensky
7cd147c909 - Use the same signature for the AI predicate as in other places in code. 2021-02-13 11:28:00 +03:00
Michael Kamensky
03c6e06acc - A little AI improvement. 2021-02-13 11:25:09 +03:00
Michael Kamensky
2f8433eb9e [maven-release-plugin] prepare for next development iteration 2021-02-13 08:49:39 +03:00
Michael Kamensky
ab8502e86c [maven-release-plugin] prepare release forge-1.6.37 2021-02-13 08:49:30 +03:00
Michael Kamensky
da2cc2dbe1 - Basic Mutate AI support, first pass. 2021-02-13 08:25:20 +03:00
Hans Mackowiak
8217adbc32 Trigger & Replacement: ensure abilities 2021-02-12 12:21:50 +01:00
Hans Mackowiak
d6788b2803 Refactor: Taps for mana to differ between the Player who gets the Mana and the Player to taps the card 2021-02-12 08:50:24 +00:00
Hans Mackowiak
2c765630c0 fix unused import 2021-02-10 09:15:16 +01:00
Hans Mackowiak
9d0433f812 - Use the original implementation for orderAndPlaySimultaneousSa for the AI for the time being until the AI side of the implementation can be improved. 2021-02-10 04:00:37 +00:00
Hans Mackowiak
a82f035211 TestCase: fix Manifest test 2021-02-09 22:47:31 +01:00
Bug Hunter
01c7aa5889 PlayEffect: support restrictions for both MDFC sides & split halves 2021-02-08 19:09:38 +00:00
Hans Mackowiak
a267b800b6 GameAction: when movedToStack, setSplitStateToPlayAbility 2021-02-07 17:26:09 +01:00
tool4EvEr
eb5764f69e Fix AI casting X=0 2021-02-04 22:47:35 +01:00
Hans Mackowiak
2d9834e962 CantBeCast: rework StaticAbility for Void Winnower 2021-02-04 14:02:42 +00:00
Hans Mackowiak
a83fc18d92 AI: cleanup for AI to play Foretell cards 2021-02-04 13:07:41 +00:00
Hans Mackowiak
72f2c8b2cb ExchangeControl: add Optional and two Targets also TargetsWithSameCardType 2021-02-02 17:06:19 +00:00
Northmoc
0e9f24cafd tweaking usage of getTotalPower to include new Boolean 2021-02-01 14:06:49 -05:00
Hans Mackowiak
cc5f9b6b27 Add: can't block alone 2021-01-31 09:13:14 +01:00
Bug Hunter
0f28cbda4f Revert "Fix token created when removed before trigger resolves"
This reverts commit e33644ecf3.
2021-01-27 21:36:23 +00:00
Lyu Zong-Hong
104387c15a Implement Illusionary Terrain 2021-01-24 18:46:44 +09:00
friarsol
c095651eaa Small functional improvement 2021-01-13 21:20:41 -05:00
friarsol
43229a0f27 Adding AI for Switch PT abilities 2021-01-12 22:04:07 -05:00
Michael Kamensky
c72f099e7b - Fix the SpellApiToAi assignment for ImmediateTrigger 2021-01-09 09:32:11 +03:00
Hans Mackowiak
584b6bd81e WrappedAbility: fix TriggeredRemembered being sacrificed 2021-01-09 06:15:05 +00:00
Michael Kamensky
5e6d9cef13 - Remove an unnecessary variable. 2021-01-06 09:14:02 +03:00
Michael Kamensky
260b19d807 - Add targeting validity checks. 2021-01-06 09:13:29 +03:00
Michael Kamensky
a9346a16be - Basic logic for Sigrid, God Favored. 2021-01-06 08:56:19 +03:00
Hans Mackowiak
9e91a0ac09 Forecast boast 2021-01-05 05:54:12 +00:00
Hans Mackowiak
7c9ac66e8a AI: logic for X in Sac cost 2021-01-02 05:15:08 +00:00