mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
refactor: variable names
This commit is contained in:
parent
9e7937d98f
commit
2e74348813
@ -208,11 +208,11 @@ impl<'a> System<'a> for Sys {
|
||||
stat.max_health_modifier *= current_fraction;
|
||||
}
|
||||
},
|
||||
BuffEffect::MovementSpeed(ms) => {
|
||||
stat.move_speed_modifier *= *ms;
|
||||
BuffEffect::MovementSpeed(speed) => {
|
||||
stat.move_speed_modifier *= *speed;
|
||||
},
|
||||
BuffEffect::AttackSpeed(val) => {
|
||||
stat.attack_speed_modifier *= *val;
|
||||
BuffEffect::AttackSpeed(speed) => {
|
||||
stat.attack_speed_modifier *= *speed;
|
||||
},
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user