mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
fix: better scaling
This commit is contained in:
parent
66cf4ab74c
commit
6dc1c05089
@ -308,7 +308,10 @@ impl Buff {
|
||||
),
|
||||
BuffKind::Frozen => (
|
||||
vec![
|
||||
BuffEffect::MovementSpeed(f32::min(0.1, 0.75 - nn_scaling(data.strength))),
|
||||
BuffEffect::MovementSpeed(f32::min(
|
||||
0.1,
|
||||
f32::powf(1.0 - nn_scaling(data.strength), 1.1),
|
||||
)),
|
||||
BuffEffect::AttackSpeed(f32::min(0.1, 1.0 - nn_scaling(data.strength))),
|
||||
],
|
||||
data.duration,
|
||||
|
Loading…
Reference in New Issue
Block a user