massif-press / compcon

Digital character creator and player sheets for the LANCER TTRPG
https://compcon.app
GNU General Public License v3.0
271 stars 98 forks source link

[BUG] Pilot Telemetry doesn’t update Structure Damage #2466

Open Dragynwulf opened 1 month ago

Dragynwulf commented 1 month ago

Describe the bug Damage to Mech Structure is not added to Pilot Dossier Telemetry when a mission is ended, despite there being an entry for it.

To Reproduce Steps to reproduce the behavior:

  1. Go to Active Mode
  2. Apply damage to the mech until a structure roll is forced.
  3. Apply the structure roll.
  4. End the Combat.
  5. End the Mission.
  6. See that 0 structure damage has been recorded in the mission summary. Other statistics are logged, however.
  7. Look at pilot sheet > Dossier, and see that telemetry has been updated, but Structure Lost entry remains at 0.

Expected behavior Damage done to structure during a mission should be added to Pilot Telemetry at mission end, like other telemetry data is.

Desktop (please complete the following information):

Additional context The Mech in question has an NHP from the Technophile talent. I doubt this makes a difference, but in case it does, I am including this here.