MantisBT - VCMI
View Issue Details
0002694VCMIAI - Adventure Mappublic2017-06-10 19:042017-06-11 10:07
Warmonger 
Warmonger 
normalminorhave not tried
assignedopen 
 
 
0002694: AI will not conquer town if it has no towns
As suggested by SXX:

AI going to collect army even when it's can just go into empty town.
problem is that without taverns there is NO vision to garrison AT ALL
AI can't know it's empty
No tags attached.
Issue History
2017-06-10 19:04WarmongerNew Issue
2017-06-10 19:04WarmongerStatusnew => assigned
2017-06-10 19:04WarmongerAssigned To => Warmonger
2017-06-11 09:12DydzioNote Added: 0007083
2017-06-11 09:13DydzioNote Edited: 0007083bug_revision_view_page.php?bugnote_id=7083#r3348
2017-06-11 09:15DydzioNote Edited: 0007083bug_revision_view_page.php?bugnote_id=7083#r3349
2017-06-11 10:07DydzioNote Edited: 0007083bug_revision_view_page.php?bugnote_id=7083#r3350

Notes
(0007083)
Dydzio   
2017-06-11 09:12   
(edited on: 2017-06-11 10:07)
I fast-checked the conclusion in code before sleep and it seems strength of enemy garrison is set to 0 for danger evaluation when it is unknown... I will check this issue (https://bugs.vcmi.eu/view.php?id=2550 [^]) further and report what I find

I remember i checked some issue (maybe https://bugs.vcmi.eu/view.php?id=2550 [^]) when AI had town that is close to conquer and instead it tries to capture castle that is far away and the way to it was protected by monster so it started collecting army, maybe it was this one. Maybe that was after I tweaked AI to try capture town at all cost when no town.