1
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

This commit is contained in:
xinian
2026-02-16 02:30:26 +08:00
committed by cnb
parent e1f910848f
commit 3d110af911

View File

@@ -6,6 +6,7 @@ import (
"blazing/common/utils"
"blazing/cool"
"context"
"sync/atomic"
"blazing/logic/service/common"
"blazing/logic/service/fight/action"
@@ -117,7 +118,8 @@ func (f *FightC) battleLoop() {
// f.Our.Player.(*player.Player).MapNPC.Reset(7 * time.Second)
copier.Copy(&f.FightOverInfo, f.Our.Player.(*player.Player).Info)
f.Our.Player.(*player.Player).MapNPC.Reset(7 * time.Second)
atomic.StoreUint32(&f.Our.Player.(*player.Player).Canmon, 2)
f.Our.Player.(*player.Player).MapNPC.Reset(10 * time.Second)
// f.Our.Player.(*player.Player).Info.FightTime = f.Our.Player.(*player.Player).Info.FightTime + time.Now().Unix() - f.StartTime.Unix()
}