Skip to content

Commit 4587868

Browse files
committed
reset ns for pyromc when nighsoul state is active
1 parent 77b3ed6 commit 4587868

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

  • internal/characters/traveler/common/pyro

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)