Fix robot weapon, and rework encumbrance
All checks were successful
Release Creation / build (release) Successful in 53s

This commit is contained in:
2025-11-15 21:59:42 +01:00
parent 810271c2a2
commit 6aa0b3a58d
14 changed files with 36 additions and 40 deletions

View File

@@ -77,10 +77,7 @@ export default class FTLNomadProtagonist extends foundry.abstract.TypeDataModel
prepareDerivedData() {
super.prepareDerivedData();
let encMax = 10 + (2 * this.skills.physical.value)
if (encMax !== this.enc.max) {
this.enc.max = encMax
}
let encMax = this.enc.max // 10 + (2 * this.skills.physical.value)
let enc = 0
let armor = 0
for (let i of this.parent.items) {