Skip to content

Commit

Permalink
Fix Albedo C2 calculation (#1998)
Browse files Browse the repository at this point in the history
  • Loading branch information
RarePossum authored Feb 12, 2024
1 parent ffa4576 commit dfd6686
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/characters/albedo/burst.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func (c *char) Burst(p map[string]int) (action.Info, error) {
if hasC2 {
c2Count = c.c2stacks
c.c2stacks = 0
ai.FlatDmg = (c.Base.Def*(1+c.Stat(attributes.DEFP)) + c.Stat(attributes.DEF)) * float64(c2Count)
ai.FlatDmg = (c.Base.Def*(1+c.Stat(attributes.DEFP)) + c.Stat(attributes.DEF)) * float64(c2Count) * 0.3
}

// initial damage
Expand Down Expand Up @@ -69,7 +69,7 @@ func (c *char) Burst(p map[string]int) (action.Info, error) {

// C2 damage is recalculated once on burstHitmark
if hasC2 {
ai.FlatDmg = (c.Base.Def*(1+c.Stat(attributes.DEFP)) + c.Stat(attributes.DEF)) * float64(c2Count)
ai.FlatDmg = (c.Base.Def*(1+c.Stat(attributes.DEFP)) + c.Stat(attributes.DEF)) * float64(c2Count) * 0.3
}

// generate 7 blossoms
Expand Down

0 comments on commit dfd6686

Please sign in to comment.