mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Removed unneccessary term in skill point cost calculation
This commit is contained in:
parent
172c9e0689
commit
07d273aa09
@ -141,9 +141,7 @@ 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))
|
||||
((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)
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user