耐力模块细节优化

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

No files matched your search

+7 -8
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
}