Ticket #44771

Lua control of a Unit's hitpoints and movement fragments

Date d'ouverture: 2022-06-07 22:13 Dernière mise à jour: 2024-05-30 06:05

Rapporteur:
(Anonyme)
Propriétaire:
État:
Atteints
Composant:
Priorité:
5 - moyen
Sévérité:
5 - moyen
Résolution:
Fixed
Fichier:
2

Détails

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
  • Propriétaire Update from (Aucun) to cazfi
  • Résolution Update from Aucun to Accepted
Commentaire

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

Patch for hitpoints part attached.

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

- Function return type corrected in .pkg

2024-05-30 06:05 Updated by: cazfi
  • État Update from Ouvert to Atteints
  • Résolution Update from Accepted to Fixed

Modifier

Please login to add comment to this ticket » Connexion