Skip to content

Commit 4fd83ed

Browse files
authored
fixed a_thousand_blazing_suns WeaponEffect error
1 parent 12e8917 commit 4fd83ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mona_core/src/weapon/weapons/claymores/a_thousand_blazing_suns.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ impl<A: Attribute> WeaponEffect<A> for AThousandBlazingSunsEffect {
2121
let refine = data.refine as f64;
2222

2323
let crit_dmg_bonus = refine * 0.05 + 0.15;
24-
let bonus = crit_dmg_bonus * self.rate1 + 0.75 * self.rate2;
24+
let bonus = crit_dmg_bonus * self.rate1 * (1.0 + 0.75 * self.rate2);
2525
attribute.set_value_by(AttributeName::CriticalDamageBase, "「焚曜千阳」被动", bonus);
2626

2727
let atk_bonus = 0.07 * refine + 0.21;
28-
let bonus = atk_bonus * self.rate1 + 0.75 * self.rate2;
28+
let bonus = atk_bonus * self.rate1 * (1.0 + 0.75 * self.rate2);
2929
attribute.add_atk_percentage("「焚曜千阳」被动", bonus);
3030
}
3131
}

0 commit comments

Comments
 (0)