From 1e4ff76b469464e1c7dfd6de8e720b5aa589915a Mon Sep 17 00:00:00 2001 From: lvxinran Date: Thu, 15 Oct 2020 10:31:21 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=8D=E9=81=A5=E6=B8=B8=E6=88=98=E6=96=97?= =?UTF-8?q?=E5=8D=8F=E8=AE=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/CommonProto.proto | 2 +- protos/MapInfoProto.proto | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/protos/CommonProto.proto b/protos/CommonProto.proto index d19f34d..a038a2e 100644 --- a/protos/CommonProto.proto +++ b/protos/CommonProto.proto @@ -834,7 +834,7 @@ option optimize_for = SPEED; message JourneyMonsterInfo{ optional int32 monsterId = 1; optional int32 monsterIndex = 2; - optional int32 monsterHp = 3; + optional int64 monsterHp = 3;//所有怪物血量加和 optional int32 remainTime = 4; optional int32 attackNum = 5;//已经攻击的次数 optional int32 rewardShow = 6; diff --git a/protos/MapInfoProto.proto b/protos/MapInfoProto.proto index 04709e6..a5772b5 100644 --- a/protos/MapInfoProto.proto +++ b/protos/MapInfoProto.proto @@ -400,7 +400,11 @@ import "CommonProto.proto"; optional int32 count = 4;//剩余次数 } message JourneyFightRequest{ - optional int32 monsterIndex = 3; + optional int32 monsterIndex = 1; + } + message JourneyFightResponse{ + optional FightData fightData = 1;//战斗数据 + optional JourneyMonsterInfo monster = 2;//战斗之后的怪物信息 }