zhexu14 6550400604
Track damage (#3351)
This PR partially addresses #3313 by:
- Tracking DCS hit events and storing the unit hit point updates in
state.json
- Adding logic to kill aircraft when the hit points is reduced to 1, as
opposed to the DCS logic of hit points to 0. This behavior allows
Liberation to track deaths to parked aircraft, which are uncontrolled
and seem to have different damage logic in DCS.
- Tracking damage to TheaterGroundObjects across turns and killing the
unit when the unit's hitpoints reduces to 1 or lower.

Intention is to build on this PR by also tracking front line objects and
statics (buildings). However, larger refactoring is required and so
splitting those into a separate PR.
2024-03-09 15:07:38 +11:00
..
2023-06-11 23:54:41 -07:00
2024-01-01 13:31:26 -08:00
2024-01-27 23:14:57 +00:00
2020-08-31 13:01:05 -07:00
2024-03-09 15:07:38 +11:00
2023-06-27 18:04:31 -07:00
2023-06-12 17:56:38 -07:00
2024-01-27 23:14:57 +00:00
2023-12-06 16:45:38 -08:00
2020-06-29 17:31:47 -04:00
2019-03-27 08:47:29 +02:00
2019-07-03 23:35:22 +02:00
2020-08-20 22:14:59 +02:00