Skip to content

Commit

Permalink
Merge pull request #300 from CortinthusYu/bugfix_wpn_mailedflower
Browse files Browse the repository at this point in the history
修复了饰铁之花攻击加成计算错误的问题
  • Loading branch information
wormtql authored Oct 3, 2023
2 parents 3925864 + 5dc8c99 commit 7f3a36a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mona_core/src/weapon/weapons/claymores/mailed_flower.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ impl MailedFlowerEffect {
impl<T: Attribute> WeaponEffect<T> for MailedFlowerEffect {
fn apply(&self, data: &WeaponCommonData, attribute: &mut T) {
let refine = data.refine as f64;
let value1 = (refine * 0.3 + 0.09)*self.rate;
let value1 = (refine * 0.03 + 0.09)*self.rate;
let value2 = (refine * 12.0 + 36.0)*self.rate;
attribute.add_atk_percentage("饰铁之花被动等效", value1);
attribute.set_value_by(AttributeName::ElementalMastery, "饰铁之花被动等效", value2);
Expand Down

0 comments on commit 7f3a36a

Please sign in to comment.