Commit Graph

3163 Commits

Author SHA1 Message Date
Hans Mackowiak
96532309ce CardProperty: hasXCost, it should check ManaCost 2021-02-25 17:09:35 +01:00
Hans Mackowiak
ba70477ad7 SpellAbility: remove getTriggeringAbility, it is always root 2021-02-25 10:50:19 +01:00
Michael Kamensky
655364a006 - Add AI logic for Wildborn Preserver ImmediateTrigger. 2021-02-23 14:03:09 +03:00
tool4EvEr
be26e86737 Fix isKicked 2021-02-22 20:00:48 +01:00
Michael Kamensky
eb68d4be04 - Better EffectAi for Vivien, Monsters' Advocate 2021-02-21 21:41:01 +03:00
Michael Kamensky
192ebb144c - Somewhat improve the AI logic for Vivien, Monsters' Advocate and LifeLoseAi / Liliana, Death Mage 2021-02-21 19:14:04 +03:00
Michael Kamensky
f212be1fce - Tweak NeedsToPlayKicked/NeedsToPlayKickedVar to play ball with Everflowing Chalice. Add NeedsToPlayKickedVar to Everflowing Chalice. 2021-02-21 16:25:23 +03:00
Michael Kamensky
09d47eb379 - Remove a debug comment 2021-02-21 09:21:58 +03:00
Michael Kamensky
cd567a21dc - Fix Multikicker for the AI 2021-02-21 09:20:30 +03:00
Michael Kamensky
7c75781138 - Rankle, Master of Pranks: improve logic a little 2021-02-20 09:24:43 +03:00
Michael Kamensky
415faa9a04 Merge branch 'manaEffect' into 'master'
ExpressPay different ComboMana if possible

See merge request core-developers/forge!3893
2021-02-20 04:22:03 +00:00
Bug Hunter
df0d651101 ExpressPay different ComboMana if possible 2021-02-20 04:22:02 +00:00
Michael Kamensky
be18bd93d9 - Don't respond to own stack unless actually planning to copy the spell.
- Fix Sensei's Divining Top AI not synchronizing abilities properly.
2021-02-19 23:08:24 +03:00
Michael Kamensky
14fbb2eda8 Merge branch 'modalGamestates' into 'master'
Support for MDFC in gamestates

See merge request core-developers/forge!3925
2021-02-19 19:13:00 +00:00
tool4EvEr
cc98e67108 Support for MDFC in gamestates 2021-02-19 19:44:58 +01:00
Bug Hunter
c186a9453e Fix CommanderEffect when loading gamestate 2021-02-19 18:36:01 +00:00
Michael Kamensky
b9c9357d94 - Clean up imports. 2021-02-19 14:37:26 +03:00
Michael Kamensky
c519600629 - A somewhat more generally applicable logic. 2021-02-19 14:35:37 +03:00
Michael Kamensky
cffef2e479 - A simple logic to enable Ultimate for Oko, the Trickster for the AI (to be improved). 2021-02-19 14:23:28 +03:00
Michael Kamensky
76d5e967c2 - An even cleaner implementation for CountersAi keyword counters logic 2021-02-19 11:22:02 +03:00
Michael Kamensky
e85215c2e4 - Cleaner implementation for CountersAi keyword counters logic 2021-02-19 11:14:32 +03:00
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