完善客户端协议

This commit is contained in:
flswld
2023-01-19 19:29:52 +08:00
parent a00bee14d0
commit 2983c16272
3254 changed files with 57101 additions and 93258 deletions

View File

@@ -221,10 +221,10 @@ func (f *FightRoutine) attackHandle(gameMsg *mq.GameMsg) {
case cmd.CombatInvocationsNotify:
req := payloadMsg.(*proto.CombatInvocationsNotify)
for _, entry := range req.InvokeList {
if entry.ForwardType != proto.ForwardType_FORWARD_TYPE_TO_ALL {
if entry.ForwardType != proto.ForwardType_FORWARD_TO_ALL {
continue
}
if entry.ArgumentType != proto.CombatTypeArgument_COMBAT_TYPE_ARGUMENT_EVT_BEING_HIT {
if entry.ArgumentType != proto.CombatTypeArgument_COMBAT_EVT_BEING_HIT {
continue
}
hitInfo := new(proto.EvtBeingHitInfo)