Skip to content

Commit bfcbac5

Browse files
authored
reset ns for pyromc when nighsoul state is active (#2459)
1 parent 77b3ed6 commit bfcbac5

File tree

1 file changed

+6
-1
lines changed
  • internal/characters/traveler/common/pyro

1 file changed

+6
-1
lines changed

internal/characters/traveler/common/pyro/skill.go

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,13 @@ func (c *Traveler) particleCB(a combat.AttackCB) {
250250
}
251251

252252
func (c *Traveler) enterNightsoul(src int) {
253+
points := 42.0
254+
if !c.nightsoulState.HasBlessing() {
255+
points += c.nightsoulState.Points()
256+
}
257+
253258
c.nightsoulSrc = src
254-
c.nightsoulState.EnterTimedBlessing(c.nightsoulState.Points()+42, 12*60, c.exitNightsoul)
259+
c.nightsoulState.EnterTimedBlessing(points, 12*60, c.exitNightsoul)
255260
c.QueueCharTask(c.nightsoulPointReduceFunc(c.nightsoulSrc), nightsoulReduceDelay)
256261
}
257262

0 commit comments

Comments
 (0)