This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user