-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
5 changed files
with
194 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters