File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
internal/characters/xilonen
ui/packages/docs/src/components/Hitlag Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ func (c *char) canUseNightsoul() bool {
6060func (c * char ) enterNightsoul () {
6161 c .nightsoulState .EnterBlessing (45 )
6262 c .nightsoulSrc = c .Core .F
63- c .Core . Tasks . Add (c .nightsoulPointReduceFunc ( c . nightsoulSrc ), 6 )
63+ c .nightsoulPointReduceTask (c .nightsoulSrc )
6464 c .NormalHitNum = rollerHitNum
6565 c .NormalCounter = 0
6666
@@ -89,15 +89,15 @@ func (c *char) exitNightsoul() {
8989 c .DeleteStatus (c6key )
9090}
9191
92- func (c * char ) nightsoulPointReduceFunc (src int ) func () {
93- return func () {
92+ func (c * char ) nightsoulPointReduceTask (src int ) {
93+ const tickInterval = .1
94+ c .QueueCharTask (func () {
9495 if c .nightsoulSrc != src {
9596 return
9697 }
98+ // reduce 0.5 point every 6f, which is 5 per second
9799 c .reduceNightsoulPoints (0.5 )
98- // reduce 0.5 point per 6, which is 5 per second
99- c .Core .Tasks .Add (c .nightsoulPointReduceFunc (src ), 6 )
100- }
100+ }, 60 * tickInterval )
101101}
102102
103103func (c * char ) applySamplerShred (ele attributes.Element , enemies []combat.Enemy ) {
Original file line number Diff line number Diff line change 39053905 "ability" : " E" ,
39063906 "hitHaltTimeScale" : 0.01 ,
39073907 "canBeDefenseHalt" : true ,
3908- "deployable" : false
3908+ "deployable" : true
39093909 }
39103910 ]
39113911 },
You can’t perform that action at this time.
0 commit comments