mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-03-01 00:35:36 +08:00
1.MongoDB、Redis兼容集群模式
2.离线数据接口化访问
This commit is contained in:
@@ -18,6 +18,10 @@ type StaminaInfo struct {
|
||||
DrownBackDelay uint8 // 溺水返回安全点延时
|
||||
}
|
||||
|
||||
func NewStaminaInfo() *StaminaInfo {
|
||||
return new(StaminaInfo)
|
||||
}
|
||||
|
||||
// SetStaminaCost 设置动作需要消耗的耐力
|
||||
func (s *StaminaInfo) SetStaminaCost(state proto.MotionState) {
|
||||
// 根据状态决定要修改的耐力
|
||||
|
||||
Reference in New Issue
Block a user