Fix Upgrade cost and some Starship actor sheet data

updated data to be inline with new structure, but not seeing it transfer through.  need to figure out why.
This commit is contained in:
supervj 2021-06-04 17:02:30 -04:00
parent 40641aed95
commit 3f4c8119ad
3 changed files with 19 additions and 8 deletions

View file

@ -386,7 +386,7 @@ export default class Actor5e extends Actor {
data.attributes.cost.baseBuild = sizeData.buildBaseCost;
data.attributes.workforce.minBuild = sizeData.buildMinWorkforce;
data.attributes.workforce.max = data.attributes.workforce.minBuild * 5;
data.attributes.cost.baseUpgrade = SW5E.upgradeBaseCost[tiers];
data.attributes.cost.baseUpgrade = SW5E.baseUpgradeCost[tiers];
data.attributes.cost.multUpgrade = sizeData.upgrdCostMult;
data.attributes.workforce.minUpgrade = sizeData.upgrdMinWorkforce;
// push to derived since based on attributes