Skip to content

Commit

Permalink
fix heizou c6 cons check (#2138)
Browse files Browse the repository at this point in the history
  • Loading branch information
soloxcx committed Apr 3, 2024
1 parent 1f04b2d commit acace7e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
3 changes: 0 additions & 3 deletions internal/characters/heizou/heizou.go
Expand Up @@ -58,9 +58,6 @@ func (c *char) Init() error {
c.c1()
}

if c.Base.Cons >= 6 {
c.c6()
}
return nil
}

Expand Down
8 changes: 5 additions & 3 deletions internal/characters/heizou/skill.go
Expand Up @@ -97,9 +97,11 @@ func (c *char) skillRelease(delay int) action.Info {
}

snap := c.Snapshot(&ai)
c6CR, c6CD := c.c6()
snap.Stats[attributes.CR] += c6CR
snap.Stats[attributes.CD] += c6CD
if c.Base.Cons >= 6 {
c6CR, c6CD := c.c6()
snap.Stats[attributes.CR] += c6CR
snap.Stats[attributes.CD] += c6CD
}
c.Core.QueueAttackWithSnap(
ai,
snap,
Expand Down

0 comments on commit acace7e

Please sign in to comment.