[X] I've checked that there aren't other open issues on the same topic.
Describe the problem requiring a solution
Rushing a weaker hero standing nearby AI left castle empty.
Evil_3_0028_1.zip
Describe the possible solution
AI should consider the threat near castle before leaving it.
The most safe pattern is to make AI count his moves so he could return back to defending castle on the current turn.
More complex solution is to teach AI analyzing the nearest area. If there's an enemy hero who could possibly reach the castle, then AI shouldn't end turn outside the castle. If AI could reach all threating heroes within current turn, then he can leave castle for 1 turn without protection.
Both solutions have pros and cons.
1st solution will make AI more stationary regarding his patrol status.
2nd solution could be abused, if player could DD to the empty castle from more distant area, than AI considers.
Also make sure that AI can use Town Portal spell, if he has one, for bringing more troops and best hero to threatened vital city, as well as other end-game logistics.
Preliminary checks
Describe the problem requiring a solution
Rushing a weaker hero standing nearby AI left castle empty. Evil_3_0028_1.zip
Describe the possible solution
AI should consider the threat near castle before leaving it. The most safe pattern is to make AI count his moves so he could return back to defending castle on the current turn. More complex solution is to teach AI analyzing the nearest area. If there's an enemy hero who could possibly reach the castle, then AI shouldn't end turn outside the castle. If AI could reach all threating heroes within current turn, then he can leave castle for 1 turn without protection. Both solutions have pros and cons. 1st solution will make AI more stationary regarding his patrol status. 2nd solution could be abused, if player could DD to the empty castle from more distant area, than AI considers.
Additional info
No response