Ticket #44771

Lua control of a Unit's hitpoints and movement fragments

Open Date: 2022-06-07 22:13 Last Update: 2024-05-30 06:05

Reporter:
(Anonymous)
Owner:
Status:
Closed
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
2

Details

Add the ability to add or subtract hitpoints and movement fragments from a unit by calling unit.hp and unit.movement_fragments variables.

Ticket History (3/7 Histories)

2022-06-07 22:13 Updated by: None
  • New Ticket "Lua control of a Unit's hitpoints and movement fragments" created
2022-06-08 08:55 Updated by: cazfi
2024-05-12 08:09 Updated by: cazfi
  • Owner Update from (None) to cazfi
  • Resolution Update from None to Accepted
Comment

Movement points part split to -> https://redmine.freeciv.org/issues/591

Patch for hitpoints part attached.

2024-05-14 04:57 Updated by: cazfi
Comment

- Function return type corrected in .pkg

2024-05-30 06:05 Updated by: cazfi
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed

Edit

Please login to add comment to this ticket » Login