remove level, base cost and rep requirment from base augmentation obj

* added in place calculations for cost and level of augmentations given player context
* removed redundant logic for dynamically calculating cost,rep and level against the augmentation object
* replaced references to startingCost to baseCost as it is now always whatever it started at
This commit is contained in:
phyzical
2022-04-15 01:39:38 +08:00
parent c3a3994658
commit db97125d22
12 changed files with 102 additions and 126 deletions
@@ -18,7 +18,7 @@ export class GraftableAugmentation {
}
get cost(): number {
return this.augmentation.startingCost * CONSTANTS.AugmentationGraftingCostMult;
return this.augmentation.baseCost * CONSTANTS.AugmentationGraftingCostMult;
}
get time(): number {