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;
|
stat.max_health_modifier *= current_fraction;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
BuffEffect::MovementSpeed(ms) => {
|
BuffEffect::MovementSpeed(speed) => {
|
||||||
stat.move_speed_modifier *= *ms;
|
stat.move_speed_modifier *= *speed;
|
||||||
},
|
},
|
||||||
BuffEffect::AttackSpeed(val) => {
|
BuffEffect::AttackSpeed(speed) => {
|
||||||
stat.attack_speed_modifier *= *val;
|
stat.attack_speed_modifier *= *speed;
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user