Project

General

Profile

Actions

Bug #207

closed

AI: Helicopter trying to recover on open

Added by Marko Lindqvist 11 months ago. Updated 10 months ago.

Status:
Closed
Priority:
Normal
Category:
AI
Target version:
Start date:
01/30/2024
Due date:
% Done:

0%

Estimated time:

Description

AI assumes that it's always a good idea for damaged unit to remain remain still to recover hitpoints. This is not true, especially not for helicopters that actually lose more hitpoints waiting in the open.

I've seen AI helicopters to fly next to an enemy city, losing some hitpoints enroute there, and then just stay there losing more hitpoints. Not sure if they were eventually destroyed, or did they fly back home.


Files

Actions #1

Updated by Marko Lindqvist 11 months ago

Actions #3

Updated by Marko Lindqvist 11 months ago

  • Status changed from In Review to In Progress

Need to consider at least normal healing too. As most units do not have recover effect, current patch means that no unit waits for any kind of recovery.

Actions #4

Updated by Marko Lindqvist 11 months ago

Won't make updated patch to S3_0 / S2_6. This would be an involved change to those branches.

Actions #5

Updated by Marko Lindqvist 11 months ago

Consider all healing types.

Actions #6

Updated by Marko Lindqvist 11 months ago

  • Target version changed from 3.1.0 to 3.1.1
Actions #7

Updated by Marko Lindqvist 10 months ago

- Do not consider unit non-HP-gaining if it has moved this turn and after that gains 0 HP (it likely could gain HP by stopping for coming turns)

Actions #8

Updated by Marko Lindqvist 10 months ago

  • Status changed from In Review to Closed
Actions

Also available in: Atom PDF