mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-17 21:02:27 +08:00
溺水传送优化 溺水安全点无果
This commit is contained in:
@@ -81,6 +81,7 @@ func (p *Player) InitAll() {
|
||||
p.GameObjectGuidMap = make(map[uint64]GameObject)
|
||||
p.CoopApplyMap = make(map[uint32]int64)
|
||||
p.StaminaInfo = new(StaminaInfo)
|
||||
p.StaminaInfo.DrownBackPos = new(Vector)
|
||||
p.VehicleInfo = new(VehicleInfo)
|
||||
p.VehicleInfo.LastCreateEntityIdMap = make(map[uint32]uint32)
|
||||
p.InitAllAvatar()
|
||||
|
||||
@@ -15,6 +15,7 @@ type StaminaInfo struct {
|
||||
LastSkillTime int64 // 最后释放技能的时间
|
||||
LastSkillStartTime int64 // 最后执行开始技能耐力消耗的时间
|
||||
DrownBackTime int64 // 溺水返回安全点的时间
|
||||
DrownBackPos *Vector // 溺水返回的安全点坐标
|
||||
}
|
||||
|
||||
// SetStaminaCost 设置动作需要消耗的耐力
|
||||
|
||||
Reference in New Issue
Block a user