完善文档

This commit is contained in:
flswld committed 2022-12-30 18:27:51 +08:00
1 parent 6fd3d6a349
commit 2bc157dd2d
22 files changed
+467 -233

No files matched your search

+4
View File
@@ -238,6 +238,10 @@ func (f *FightRoutine) attackHandle(gameMsg *mq.GameMsg) {
continue
}
attackResult := hitInfo.AttackResult
if attackResult == nil {
logger.Error("attackResult is nil")
continue
}
// logger.Debug("run attack handler, attackResult: %v", attackResult)
target := f.entityMap[attackResult.DefenseId]
if target == nil {