From 32eb6324fda311933515d82252b8b0b8751dcbbb Mon Sep 17 00:00:00 2001 From: Tom Prince Date: Fri, 28 Jun 2024 20:52:36 -0600 Subject: [PATCH] MISC: Simplify graftingIntBonus calculation. (#1445) The weight of the intelligence bonus is a multiplier to the percentage increase. So, rather than calculate it with a weight of 3 and then divide by 3, we can just calculate it with a weight of 1. --- src/PersonObjects/Grafting/GraftingHelpers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PersonObjects/Grafting/GraftingHelpers.ts b/src/PersonObjects/Grafting/GraftingHelpers.ts index 644282391..ac9853392 100644 --- a/src/PersonObjects/Grafting/GraftingHelpers.ts +++ b/src/PersonObjects/Grafting/GraftingHelpers.ts @@ -21,7 +21,7 @@ export const getGraftingAvailableAugs = (): AugmentationName[] => { }; export const graftingIntBonus = (): number => { - return 1 + (calculateIntelligenceBonus(Player.skills.intelligence, 3) - 1) / 3; + return calculateIntelligenceBonus(Player.skills.intelligence, 1); }; export const calculateGraftingTimeWithBonus = (aug: GraftableAugmentation): number => {