Agetian
d13201fd47
- Tetzimoc CountersPutAi: don't try to target creatures which can't legally be targeted (e.g. Hexproof).
2018-05-09 15:12:30 +03:00
Agetian
82afad3b67
- Improve AI logic for Tetzimoc, Primal Death; ensure that the AI actually plays it (used not to play at all).
2018-05-08 20:11:47 +03:00
Blacksmith
f0ce6277ac
[maven-release-plugin] prepare for next development iteration
2018-05-08 00:48:11 +00:00
Blacksmith
95bd867cee
[maven-release-plugin] prepare release forge-1.6.10
2018-05-08 00:48:08 +00:00
Hanmac
91d80f49f4
Card: add Keyword methods that work with Keyword Enum
2018-05-06 16:54:53 +02:00
Michael Kamensky
e0b1bc7cd0
Merge branch 'asFlash' into 'master'
...
Code As through it has flash Effects
See merge request core-developers/forge!532
2018-05-06 08:56:15 +00:00
Agetian
e52b9d62f7
- AI should not attempt to cast MayFlashSac auras "as though they had flash" for now, it'll just always cast them in its own Upkeep and end up wasting them.
2018-05-06 11:10:42 +03:00
Hanmac
198e7adc47
MayFlashSac: rework using MayPlayNotSorcerySpeed
2018-05-06 08:55:10 +02:00
Hanmac
4cf79222f0
fix AiAttack with CHOSEN_FOG_EFFECT
2018-05-06 08:49:29 +02:00
Agetian
bd08c5ca9d
- Clarification in AiCostDecision
2018-05-06 09:00:41 +03:00
Agetian
07c448ba16
- Fixed the AI failing to activate abilities such as Merchant's Dockhand which may tap the card in the process which the AI is considering for a tapXType payment (which may lead to a misplay or a loop/hang).
2018-05-05 18:41:10 +03:00
Sol
bfde06f0d6
Merge branch 'seravy-ai-fixes' into 'master'
...
Reformatted/revised AI updates from Seravy: Fog AI, Protection from chosen color AI
See merge request core-developers/forge!503
2018-05-04 00:35:07 +00:00
Agetian
62585848bd
- Fixed the AI activating Jace, Cunning Castaway +1 too late.
2018-05-03 18:55:42 +03:00
Agetian
b6f55309ae
- Some formatting.
2018-05-02 08:19:01 +03:00
Agetian
4afeaeb170
- Updating AiAttackController to use an AI hint SVar for Awakening and Prophet of Kruphix.
2018-05-02 08:04:31 +03:00
Sol
1a3308017a
Revert "Merge branch 'temp_dev6' into 'master'"
...
This reverts merge request !499
2018-05-01 01:11:29 +00:00
Sol
64e8dd35c2
Merge branch 'temp_dev6' into 'master'
...
Allow for Seeded RNG in simulation games!
See merge request core-developers/forge!499
2018-05-01 01:01:30 +00:00
Agetian
f8beba2815
- Style fix related to the previous merge.
2018-04-30 19:59:36 +03:00
Agetian
8c325d8264
- Style update.
2018-04-30 09:40:53 +03:00
Agetian
9aec30e0dc
- FogAi update from Seravy (updated for style consistency).
2018-04-30 09:36:31 +03:00
Agetian
5049b7885a
- FogAi update from Seravy (updated for style consistency).
2018-04-30 09:32:24 +03:00
Agetian
9a206ff338
- Some style and logic fixes.
2018-04-30 08:49:20 +03:00
Agetian
4f487f3009
Merge branch 'FlickeringWard' of git.cardforge.org:Seravy/forge into seravy-ai-fixes
2018-04-30 08:36:46 +03:00
Michael Kamensky
d7a55e4c7d
Merge branch 'ProtectionSelf' into 'master'
...
AI will use non-targeted Protection abilities.
See merge request core-developers/forge!245
2018-04-30 05:32:22 +00:00
Meerkov
e421a32475
Style fixes for discussion.
...
(cherry picked from commit 3ae95447a2a91a36bd1772649592ef72ffb344f8)
2018-04-30 02:07:25 +00:00
Sol
ab2d284dee
Merge branch 'temp_dev5' into 'master'
...
Remove unusual "reproducable" attack declaration from AI
See merge request core-developers/forge!498
2018-04-30 00:16:30 +00:00
Chris H
758dbb689a
When playing non-team matches, display Player name as winner in Game Recap screen
2018-04-28 23:22:23 -04:00
Meerkov
c6cab341ed
Organize some imports.
...
(cherry picked from commit 70cf1ad3d0a6449d67b8ed84c9ebf0da4fd13547)
2018-04-28 17:01:54 +00:00
Meerkov
bd097888a3
Allows running tests using a seeded RNG.
...
Running the same game twice now works! There may be issues I haven't found with certain AI behaviors around mechanics I didn't use in my tests.
(cherry picked from commit 194b47c1ad61c8f1efb6bce8af2bb10d1fa8f6c3)
2018-04-28 17:00:54 +00:00
Meerkov
eae90194cb
AiAttackController no longer has reproducable attack thoughts.
...
I don't see why we would want this to be seeded with the same number. I think it's incorrect thinking so I'm removing it.
(cherry picked from commit 2881effd577abe9500b8fa3a5699067b0c3541f3)
2018-04-28 16:55:05 +00:00
Meerkov
0a717bb9be
Fix more RNG.
...
(cherry picked from commit 61dd5661a728e08ae14911a3518cd1e10d574037)
2018-04-28 16:54:53 +00:00
Agetian
881572cba5
- AI: Only consider the "prevent all combat damage" pump KW useful when inside combat and blocking/blocked (e.g. Blinding Powder).
2018-04-28 15:57:47 +03:00
Michael Kamensky
a4fa7cb5ee
Merge branch 'assorted-fixes' into 'master'
...
Fixed Exalted and possibly other triggers with overwriting ability crashing the AI
See merge request core-developers/forge!481
2018-04-26 04:35:25 +00:00
Agetian
6ea52c93fe
- Fixed Exalted and possibly other triggers with overwriting ability crashing the trigger checking code in getPossibleNonCombatDamage.
2018-04-26 07:34:14 +03:00
austinio7116
acef14aadc
Merge branch 'fix_outcome_memory_leak' into 'master'
...
Memory leak within a match
See merge request core-developers/forge!458
2018-04-25 22:35:02 +00:00
Agetian
4ae6d9030a
- Fixed the AI not targeting creatures with DealDamage anymore (e.g. Walking Ballista).
2018-04-24 12:01:13 +03:00
Agetian
c97353cb3d
- Filter out permanent cards in the AI's hand when looking for possible non-combat damage in combat (the logic is too indirect and will result in the AI making mistakes anyway, e.g. due to inability to pay for both the permanent and the ability and guarantee a win).
2018-04-24 11:53:57 +03:00
Agetian
71b2f2fa26
- NPE prevention.
2018-04-24 10:11:43 +03:00
Agetian
3c8915b002
- AI should not count permanent cards in hand which it can't cast at the moment as possible sources of noncombat damage when predicting an assault attack.
...
- Some AI prediction for LoseLife triggers when predicting noncombat damage
2018-04-24 10:07:59 +03:00
Chris H
ade17c5eaf
Fix Memory leak within a match
2018-04-22 15:18:22 -04:00
Agetian
28998e97ab
- MoJhoSto: some more profile-based configurability for AI strategy.
2018-04-21 23:15:26 +03:00
Blacksmith
0d375ecd93
[maven-release-plugin] prepare for next development iteration
2018-04-21 01:18:35 +00:00
Blacksmith
970f684345
[maven-release-plugin] prepare release forge-1.6.9
2018-04-21 01:18:32 +00:00
Agetian
2f8fd5c359
- Revert a change in GameSimulator to make it work and prevent tests from failing (may require further attention later).
2018-04-20 23:02:38 +03:00
Hanmac
04254fcb00
GameSimulator: use canPlay & resolve for PlayLandAbility
2018-04-20 13:06:13 +02:00
Agetian
c470e0cdcb
- MoJhoSto: added an option to control the number of lands at which the AI begins to consider activating Jhoira.
2018-04-20 09:18:03 +03:00
Agetian
226b0bee68
- MoJhoSto: don't activate Jhoira too early since there are generally few good potential targets.
2018-04-20 08:16:07 +03:00
Agetian
d073fb9417
- Some improvements to the Jhoira AI algorithm in MoJhoSto: don't rely on an AI logic (since it's mode-specific).
...
- Fixed a crash related to the AI playing MoJhoSto.
2018-04-20 07:35:14 +03:00
Agetian
d623119eac
- MoJhoSto: somewhat more varied AI strategy when deciding between Momir and Jhoira. Also, don't spam Jhoira instant copying ability all the time.
2018-04-20 07:35:14 +03:00
Michael Kamensky
5844de9b3c
Merge branch 'assorted-fixes' into 'master'
...
Fixed the AI hanging the game in AF ChooseSource in corner cases
See merge request core-developers/forge!440
2018-04-20 04:33:41 +00:00