MantisBT - VCMI
View Issue Details
0002877VCMIAI - Adventure Mappublic2018-02-10 21:102023-04-12 16:59
Povelitel 
Warmonger 
normalfeaturealways
acknowledgedopen 
0.99 
 
0002877: AI do not use artifacts in the best way
I used controlai and look what AI has. And see don't optimal using artifacts.

Я использовал controlai и посмотрел что есть у ИИ. И увидел не оптимальное использование артефактов.
No tags attached.
png AIhero.png (523,855) 2018-02-10 21:10
https://bugs.vcmi.eu/file_download.php?file_id=2847&type=bug
png

? Diplomats_-_Tournament_Edition TESTSPELL.h3m (44,508) 2018-02-10 21:11
https://bugs.vcmi.eu/file_download.php?file_id=2848&type=bug
Issue History
2018-02-10 21:10PovelitelNew Issue
2018-02-10 21:10PovelitelFile Added: AIhero.png
2018-02-10 21:11PovelitelFile Added: Diplomats_-_Tournament_Edition TESTSPELL.h3m
2018-02-11 17:47WarmongerNote Added: 0007408
2018-02-11 17:47WarmongerAssigned To => Warmonger
2018-02-11 17:47WarmongerStatusnew => confirmed
2018-02-11 18:09WarmongerSeverityminor => feature
2018-02-12 08:58PovelitelNote Added: 0007409
2023-04-12 16:59IvanStatusconfirmed => acknowledged

Notes
(0007408)
Warmonger   
2018-02-11 17:47   
Well, if you propose "optimal" algorithm for such cases, I can implement it ;) For now AI prefers:
- Artifacts which boost primary stats
- Artifacts with highest gold value (Tomes are quite expensive)

Also, AI is unable to wear combined artifacts if multiple slots are occupied.
(0007409)
Povelitel   
2018-02-12 08:58   
What if

- Artifacts which boost primary stats

- Artifacts with highest gold value (Tomes are quite expensive) + BUT if he has duplicate delete it, and add artifacts rank below.

- Monitoring for morale. If morale slow add art for it. (morale has high priority than luck). Need at least neutral moral. And i think get rid of negative morale has more priority than major artifacts;


AI is unable to wear combined artifacts if multiple slots are occupied - sorry to hear that