Commit Graph

3751 Commits

Author SHA1 Message Date
Hans Mackowiak
8283720e4a GameAction: register LTB for all cards on LastStateBattlefield 2022-02-24 07:39:14 +01:00
tool4EvEr
885b32f85a ManaEffect: fix for adding from cost with generic half 2022-02-23 15:43:03 +01:00
tool4EvEr
26e1c4bf88 Add todos 2022-02-20 16:12:00 +01:00
tool4EvEr
ca240ce8c3 Fix AI not playing mandatory spell 2022-02-20 10:35:33 +01:00
tool4EvEr
4c4e7c7723 Performance cleanup 2022-02-19 20:18:31 +01:00
Michael Kamensky
1901595ae1 Merge branch 'excess' into 'master'
Excess damage fix

See merge request core-developers/forge!6245
2022-02-17 18:59:39 +00:00
TRT
1dca57c5b5 AI fix 2022-02-17 17:51:25 +01:00
TRT
98b6f33d18 Excess damage fix 2022-02-17 14:16:36 +01:00
Anthony Calosa
7983ca7cf0 Fix NPE ControlGainAi.java 2022-02-17 01:11:55 +00:00
Bug Hunter
cbf1bdd3a5 Fix DFC copy having both faces 2022-02-16 12:04:44 +00:00
Tim Mocny
f5d55f4b97 Donate refactor 2022-02-13 18:27:00 +00:00
TRT
277aa04f33 Teach AI it can ignore attack requirement when it leads to payment 2022-02-11 12:48:05 +01:00
Bug Hunter
a1b3a2e40b 406.3 extended 2022-02-11 03:29:13 +00:00
TRT
0496eaf446 Fix AI never attacking your PW when you have Blazing Archon 2022-02-10 16:33:03 +01:00
Michael Kamensky
06035fd6ce Merge branch 'miracle' into 'master'
Miracle is optional

Closes #2083

See merge request core-developers/forge!6201
2022-02-10 12:58:48 +00:00
Bug Hunter
4569439385 Miracle is optional 2022-02-10 12:58:47 +00:00
Bug Hunter
60cd9ab369 Hinata & X spells fix 2022-02-10 12:58:01 +00:00
TRT
01a9e14cc1 Only creatures can be modified 2022-02-10 09:37:37 +01:00
Bug Hunter
2da9647021 Cleanup meetsManaRestrictions 2022-02-07 18:45:46 +00:00
Michael Kamensky
54c9ec7e89 - Revert RemoveOptional in GameState, might break on clones. 2022-02-06 21:44:56 +03:00
Michael Kamensky
3ba614c551 - Filter valid options for the AI when choosing a card name before running the logic. 2022-02-06 17:45:28 +03:00
Michael Kamensky
cc9149bdd4 - Remove Optional$ True when precasting spells in effect from a script (e.g. Puzzle Mode). 2022-02-06 08:29:32 +03:00
tool4EvEr
63ca64c4cc WithCounters$ -> WithCountersType$ 2022-02-02 21:10:37 +01:00
tool4EvEr
cb48c6e411 Remove TriggerController$ TriggeredCardController default 2022-02-01 20:14:04 +01:00
tool4EvEr
1e3916f086 Remove default param 2022-02-01 17:51:40 +01:00
tool4EvEr
d27552dd25 Clean up 2022-02-01 17:51:19 +01:00
Bug Hunter
b3b777b487 Fix Chained to the Rocks crash 2022-01-30 22:39:13 +00:00
Bug Hunter
9c4fdb487e Extend wasCastFrom 2022-01-29 18:30:29 +00:00
Paco Ito
0a396a44d8 [Desktop] Display which DeckZone the unplayable cards are from 2022-01-29 05:24:16 +00:00
Tim Mocny
fbb7308747 Revert "Merge branch 'paco-aicannotplaybyarea' into 'master'"
This reverts merge request !6085
2022-01-27 21:48:54 +00:00
Paco Ito
2493b08093 [Desktop] Display which DeckZone the unplayable cards are from 2022-01-27 05:08:33 +00:00
Bug Hunter
2b7fb8c5be Goad doesn't stack 2022-01-23 20:20:35 +00:00
Bug Hunter
d89acc6141 Fix Dementia Sliver 2022-01-23 04:58:24 +00:00
tool4EvEr
9e8d366026 Add Skip button to allow arbitrary order when assigning attackers dmg 2022-01-16 11:43:20 +01:00
Michael Kamensky
68fb53ff10 Merge branch 'thrivingMana' into 'master'
AbilityManaPart: support 'Combo X Chosen' Mana Part for Thriving Lands

See merge request core-developers/forge!6048
2022-01-15 13:13:24 +00:00
Hans Mackowiak
f529bc1c7a AbilityManaPart: support 'Combo X Chosen' Mana Part for Thriving Lands 2022-01-15 13:11:03 +01:00
tool4EvEr
b5046e3fcf Clean up 2022-01-15 11:10:16 +01:00
Michael Kamensky
5fd4030917 Merge branch 'statics' into 'master'
CR 603.6b: cardsAddedThisTurn should not use LKI with unmodified characteristics for battlefield

See merge request core-developers/forge!6037
2022-01-14 04:43:49 +00:00
Bug Hunter
e1f784211f CR 603.6b: cardsAddedThisTurn should not use LKI with unmodified characteristics for battlefield 2022-01-14 04:43:47 +00:00
Bug Hunter
84a9972034 Improve detection of blocking requirements 2022-01-14 04:43:13 +00:00
TRT
94f54f8e71 Fix crash when assigning damage to defender 2022-01-12 13:57:50 +01:00
tool4EvEr
9b67d0e58e Fix Statics adding statics 2022-01-09 11:18:32 +01:00
Michael Kamensky
5995c1c834 Merge branch 'blockcost' into 'master'
Fix enforced blocking requirement when blocker can't block without cost

See merge request core-developers/forge!6024
2022-01-08 10:39:57 +00:00
tool4EvEr
2a71833526 Fix enforced blocking requirement when blocker can't block without cost 2022-01-08 11:32:54 +01:00
tool4EvEr
8d1049beac Fix some bad params in AI combat trigger prediction 2022-01-07 23:34:55 +01:00
Michael Kamensky
740eea7d95 Merge branch 'goadai' into 'master'
GoadAi: improve targeting for triggers

See merge request core-developers/forge!6010
2022-01-04 08:47:14 +00:00
tool4EvEr
a111ea1617 Fix missing trigger 2022-01-03 16:59:18 +01:00
tool4EvEr
70a8cb6c26 GoadAi: improve targeting for triggers 2022-01-03 16:26:36 +01:00
tool4EvEr
aa66eee6de Haunt fixes 2022-01-03 15:02:11 +01:00
Hans Mackowiak
dc7d226b04 Protection: use Static CantAttach + CantTarget 2022-01-02 13:18:04 +00:00