耐力模块细节优化

This commit is contained in:
UnKownOwO
2022-11-30 22:31:54 +08:00
parent 11e9e6a76d
commit a1203f4f70
3 changed files with 101 additions and 66 deletions

View File

@@ -1,13 +1,12 @@
package model
import (
"hk4e/protocol/proto"
)
import "hk4e/protocol/proto"
type StaminaInfo struct {
PrevState proto.MotionState
PrevPos *Vector
CurState proto.MotionState
CurPos *Vector
RestoreDelay uint8
State proto.MotionState // 动作状态
Cost int32 // 消耗或恢复的耐力
RestoreDelay uint8 // 恢复延迟
PrevPos *Vector
CurPos *Vector
}