mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-09 10:32:26 +08:00
完善文档
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user