重击耐力消耗、持续耐力消耗完善

This commit is contained in:
UnKownOwO
2022-12-12 23:20:42 +08:00
parent 3e9e375e19
commit 9dc864ff69
5 changed files with 116 additions and 34 deletions

View File

@@ -279,6 +279,9 @@ func (g *GameManager) EvtDoSkillSuccNotify(player *model.Player, payloadMsg pb.M
return
}
logger.LOG.Debug("EvtDoSkillSuccNotify: %v", req)
// 记录耐力消耗的技能id 技能持续消耗需要这个获取到技能id
player.StaminaInfo.SetLastSkill(req.CasterId, req.SkillId)
}
func (g *GameManager) EvtAvatarEnterFocusNotify(player *model.Player, payloadMsg pb.Message) {