Skip to content

Commit 8338d99

Browse files
authored
fix sethos flatdmg bonus for N2-2 during burst (#2447)
1 parent 253170d commit 8338d99

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

internal/characters/sethos/attack.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,16 @@ func (c *char) Attack(p map[string]int) (action.Info, error) {
5858
1,
5959
)
6060

61-
for i, mult := range attack[c.NormalCounter] {
61+
counter := c.NormalCounter
62+
for i, mult := range attack[counter] {
6263
c.QueueCharTask(func() {
6364
var c4cb combat.AttackCBFunc
6465
if c.StatusIsActive(burstBuffKey) {
65-
ai.Abil = fmt.Sprintf("Dusk Bolt %v", c.NormalCounter)
66+
ai.Abil = fmt.Sprintf("Dusk Bolt %v", counter)
6667
ai.AttackTag = attacks.AttackTagExtra
6768
ai.ICDTag = attacks.ICDTagElementalBurst
6869
ai.Element = attributes.Electro
69-
ai.FlatDmg += burstEM[c.TalentLvlBurst()] * c.Stat(attributes.EM)
70+
ai.FlatDmg = burstEM[c.TalentLvlBurst()] * c.Stat(attributes.EM)
7071

7172
deltaPos := c.Core.Combat.Player().Pos().Sub(c.Core.Combat.PrimaryTarget().Pos())
7273
dist := deltaPos.Magnitude()
@@ -89,7 +90,7 @@ func (c *char) Attack(p map[string]int) (action.Info, error) {
8990
travel,
9091
c4cb,
9192
)
92-
}, attackHitmarks[c.NormalCounter][i])
93+
}, attackHitmarks[counter][i])
9394
}
9495

9596
defer c.AdvanceNormalIndex()

0 commit comments

Comments
 (0)