refactor: variable names

This commit is contained in:
Adam Whitehurst 2021-05-30 13:40:25 -07:00
parent 9e7937d98f
commit 2e74348813

View File

@ -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;
},
};
}