[Freeciv-tickets] [freeciv] #44200: Even on survivable time, Helicopters don't heal

Back to archive index
OSDN Ticket System norep****@osdn*****
Sun Mar 27 03:36:21 JST 2022


#44200: Even on survivable time, Helicopters don't heal

  Open Date: 2022-03-26 20:36
Last Update: 2022-03-26 20:36

URL for this Ticket:
    https://osdn.net//projects/freeciv/ticket/44200
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44200

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2022-03-26 20:36 Updated by: cazfi
 * New Ticket "Even on survivable time, Helicopters don't heal" created


---------------------------------------------------------------------
Ticket Status:

      Reporter: cazfi
         Owner: (None)
          Type: Bugs
        Status: Open
      Priority: 5 - Medium
     MileStone: (None)
     Component: (None)
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

I don't know if this is as it should be, but it's certainly what I've expected:
hp_gain_coord() has the basic unit healing as:
if (!unit_class_get(punit)->hp_loss_pct) {
hp += (base + 9) / 10;
}
That is; basic unit healing never applies to Helicopters (or other hp_loss_pct units), even when the HP loss is not happening to them at their current location (i.e. when they are in a city, airbase, or carrier).
Is this behavior correct?

-- 
Ticket information of Freeciv project
Freeciv Project is hosted on OSDN

Project URL: https://osdn.net/projects/freeciv/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net/projects/freeciv/ticket/44200
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44200



More information about the Freeciv-tickets mailing list
Back to archive index