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

This commit is contained in:
昔念
2026-02-14 08:01:34 +08:00
parent 180d735706
commit 50fd54c6d9

View File

@@ -18,6 +18,7 @@ import (
"github.com/alpacahq/alpacadecimal"
"github.com/gogf/gf/v2/util/gconv"
"github.com/jinzhu/copier"
)
func (f *FightC) battleLoop() {
@@ -115,6 +116,7 @@ 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).Info.FightTime = f.Our.Player.(*player.Player).Info.FightTime + time.Now().Unix() - f.StartTime.Unix()
}