耐力模块初步完善

This commit is contained in:
UnKownOwO
2022-11-28 22:14:07 +08:00
parent 362ca86130
commit 3cd8a32818
10 changed files with 211 additions and 7 deletions

View File

@@ -201,6 +201,10 @@ func (g *GameManager) CombatInvocationsNotify(player *model.Player, payloadMsg p
sceneEntity.lastMoveReliableSeq = entityMoveInfo.ReliableSeq
logger.LOG.Debug("entity move, id: %v, pos: %v, uid: %v", sceneEntity.id, sceneEntity.pos, player.PlayerID)
}
// 处理耐力消耗
g.HandleStamina(player, motionInfo.State)
invokeHandler.addEntry(entry.ForwardType, entry)
default:
invokeHandler.addEntry(entry.ForwardType, entry)