Skip to content

Commit

Permalink
fix: refactor exotics with patch 7.3.5 change (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
JayAndromeda authored Mar 17, 2024
1 parent 0c6ec7a commit 689be2c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/perks/meta_perks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,12 @@ pub fn meta_perks() {
dmg_scale *= 1.0 - (0.6 * stat) / total_damage;
}
if _input.pvp {
if *_input.calc_data.weapon_type == WeaponType::SIDEARM
if _input.calc_data.intrinsic_hash == 425960662 {
dmg_scale *= 0.8;
} else if _input.calc_data.intrinsic_hash == 2984682260 {
dmg_scale *= 1.2;
crit_scale *= 1.1475;
} else if *_input.calc_data.weapon_type == WeaponType::SIDEARM
|| *_input.calc_data.weapon_type == WeaponType::SCOUTRIFLE
|| *_input.calc_data.weapon_type == WeaponType::AUTORIFLE
|| *_input.calc_data.weapon_type == WeaponType::PULSERIFLE
Expand All @@ -80,10 +85,6 @@ pub fn meta_perks() {
|| *_input.calc_data.weapon_type == WeaponType::GLAIVE
{
dmg_scale *= 1.2;
} else if _input.calc_data.intrinsic_hash == 425960662 {
dmg_scale *= 0.8;
} else if _input.calc_data.intrinsic_hash == 2984682260 {
dmg_scale *= 1.2;
}
}

Expand Down

0 comments on commit 689be2c

Please sign in to comment.