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