Skip to content

Commit 1dabbc1

Browse files
committed
fixed burst flat dmg snapshot
1 parent 2476278 commit 1dabbc1

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

internal/characters/illuga/burst.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,10 @@ func (c *char) Burst(p map[string]int) (action.Info, error) {
3939
Element: attributes.Geo,
4040
Durability: 25,
4141
}
42-
43-
ai.FlatDmg += burst_em[c.TalentLvlBurst()] * c.Stat(attributes.EM)
44-
ai.FlatDmg += burst_def[c.TalentLvlBurst()] * c.TotalDef(false)
42+
c.Core.Tasks.Add(func() {
43+
ai.FlatDmg += burst_em[c.TalentLvlBurst()] * c.Stat(attributes.EM)
44+
ai.FlatDmg += burst_def[c.TalentLvlBurst()] * c.TotalDef(false)
45+
}, burstHitmark)
4546

4647
ap := combat.NewCircleHitOnTarget(c.Core.Combat.Player(), nil, 6.5)
4748

0 commit comments

Comments
 (0)