Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix two minor issues in shield component
- Calculate percent operational from shield damage and not shield strength. By shield damage I mean that the actual generator sustained damage and is not operating at a 100%. By shield strength I mean the value of the shields after they absorb damage. - Calculate damaged from operational and not call percent. Operational is an internal variable that reports the percent the component is undamaged. Percent is a function that returns an average of the shield strength at the moment.
- Loading branch information