Skip to content

Commit

Permalink
chore: refactor sbr logic
Browse files Browse the repository at this point in the history
  • Loading branch information
JayAndromeda committed Nov 15, 2023
1 parent 31c391b commit 9b7b295
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/perks/buff_perks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -437,11 +437,11 @@ pub fn buff_perks() {
Perks::AeonForce,
Box::new(
|_input: ModifierResponseInput| -> HashMap<BungieHash, StatBump> {
let val = _input.value;
let mut stats: HashMap<u32, i32> = HashMap::new();
stats.insert(StatHashes::RELOAD.into(), 10 * val as i32);
stats.insert(StatHashes::HANDLING.into(), 10 * val as i32);
stats
if _input.value == 0 {
return HashMap::new();
}
use StatHashes::*;
HashMap::from([(RELOAD.into(), 10), (HANDLING.into(), 10)])
},
),
);
Expand Down

0 comments on commit 9b7b295

Please sign in to comment.