Skip to content

Commit

Permalink
fix: non-rapid sniper vpp value (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
JayAndromeda authored Aug 24, 2024
1 parent 54c5e17 commit 22f58ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/weapons/reserve_calc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ fn glaives(_mag_size: f64, _mag_stat: i32, _inv_stat: i32) -> f64 {
}

fn sniper_rifles(_mag_size: f64, _mag_stat: i32, _inv_stat: i32) -> f64 {
let vpp = if _mag_stat >= 100 { 0.11 } else { 0.9 };
let vpp = if _mag_stat >= 100 { 0.11 } else { 0.09 };
let offset = if _mag_stat >= 100 { 17.0 } else { 15.0 };
vpp * _inv_stat as f64 + offset
}
Expand Down

0 comments on commit 22f58ef

Please sign in to comment.