Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
wormtql committed Dec 19, 2023
2 parents b8f5c0d + f185df7 commit 3b9ddcc
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ impl TargetFunction for TighnariDefaultTargetFunction {
let dmg_q2 = Tighnari::damage::<SimpleDamageBuilder>(&&context, S::Q2, &CharacterSkillConfig::NoConfig, None);
let dmg_e = Tighnari::damage::<SimpleDamageBuilder>(&&context, S::E1, &CharacterSkillConfig::NoConfig, None);
let dmg =
dmg_c3.spread.unwrap().expectation +
(dmg_c3.spread.unwrap().expectation +
dmg_c4.spread.unwrap().expectation +
dmg_c4.normal.expectation * 3.0 + dmg_cc6 +
dmg_q1.spread.unwrap().expectation + dmg_q2.spread.unwrap().expectation +
(dmg_q1.normal.expectation + dmg_q2.normal.expectation) * 5.0 +
dmg_c4.normal.expectation * 3.0 + dmg_cc6) * 3.0 +
(dmg_q1.spread.unwrap().expectation + dmg_q2.spread.unwrap().expectation) * 2.0 +
(dmg_q1.normal.expectation + dmg_q2.normal.expectation) * 4.0 +
dmg_e.spread.unwrap().expectation;

dmg
Expand Down Expand Up @@ -76,4 +76,4 @@ impl TargetFunctionMetaTrait for TighnariDefaultTargetFunction {
fn create(character: &CharacterCommonData, weapon: &WeaponCommonData, config: &TargetFunctionConfig) -> Box<dyn TargetFunction> {
Box::new(TighnariDefaultTargetFunction)
}
}
}

0 comments on commit 3b9ddcc

Please sign in to comment.