Eranziel / foundryvtt-lancer

A Foundry VTT game system for LANCER RPG.
GNU General Public License v3.0
107 stars 64 forks source link

[BUG] Deployable HP config always resets to 5 on page refresh #669

Closed Eranziel closed 5 months ago

Eranziel commented 5 months ago

Describe the bug Deployables' max HP is reset to 5 whenever the page is refreshed. This seems to be regardless of whether they have a deployer, and also ignores any hp bonus conferred by the deployer.

Eranziel commented 5 months ago

Reproduction steps:

The Deployable shown above was created in Lancer 1.6.1/v10 and migrated to 2.0.X/v11, but the issue is also apparent on newly created deployables. having a deployer set also does not seem to affect this.

BoltsJ commented 5 months ago

There is a report on discord that this can also affect EDef and Size. Probably others.

For that, report they are creating a deployable with size 1, 1hp, 5 def and 5 edef.