From 07d273aa09fd352bf314ccb777dbc006ea9b079e Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 21 Oct 2022 00:20:11 -0400 Subject: [PATCH] Removed unneccessary term in skill point cost calculation --- common/src/comp/skillset/mod.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/common/src/comp/skillset/mod.rs b/common/src/comp/skillset/mod.rs index a2c7d3980b..d8a598d36f 100644 --- a/common/src/comp/skillset/mod.rs +++ b/common/src/comp/skillset/mod.rs @@ -141,10 +141,8 @@ impl SkillGroupKind { match self { Self::Weapon(ToolKind::Sword) => { let level = level as f32; - ((400.0 * (level / (level + 20.0)).powi(2) - + 2.0 * level.sqrt() - + 4.0 * E.powf(0.025 * level)) - .min(u32::MAX as f32) as u32) + ((400.0 * (level / (level + 20.0)).powi(2) + 5.0 * E.powf(0.025 * level)) + .min(u32::MAX as f32) as u32) .saturating_mul(25) }, _ => {