check for old creatures

This commit is contained in:
Chris Schmalz
2025-08-29 23:27:30 -07:00
parent 18a751da66
commit 39c403306c
+4
View File
@@ -74,6 +74,10 @@ export class MothershipActor extends Actor {
//set values
system.netHP.value = ((Number(system.hits.max ?? 0)-Number(system.hits.value ?? 0)-1) * Number(system.health.max ?? 0)) + Number(system.health.value ?? 0);
system.netHP.max = Number(system.health.max ?? 0) * Number(system.hits.max ?? 0);
//notes
//check if actor has notes
system.notes ??= "";
}
// Prepare Ship type specific data