Skip to content

Commit

Permalink
Merge pull request #349 from wangmumu0601/Increase-the-maximum-level
Browse files Browse the repository at this point in the history
[Increase, fix]: increase maximum level, fix a_thousand_blazing_suns
  • Loading branch information
wormtql authored Jan 4, 2025
2 parents 162b583 + 4fd83ed commit a7884f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ impl<A: Attribute> WeaponEffect<A> for AThousandBlazingSunsEffect {
let refine = data.refine as f64;

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

let atk_bonus = 0.07 * refine + 0.21;
let bonus = atk_bonus * self.rate1 + 0.75 * self.rate2;
let bonus = atk_bonus * self.rate1 * (1.0 + 0.75 * self.rate2);
attribute.add_atk_percentage("「焚曜千阳」被动", bonus);
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/NewArtifactPlanPage/EnemyConfig.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
:model-value="modelValue.level"
@update:modelValue="handleInput('level', $event)"
:min="60"
:max="100"
:max="120"
></el-input-number>
</div>

Expand Down

0 comments on commit a7884f8

Please sign in to comment.