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