【关卡新条件】好感度等级获取方式修改,逍遥游完成次数协议添加
parent
6c259fbf26
commit
c46d18eb17
|
@ -188,6 +188,7 @@ SITUATIONCHALLENGERESPONSE_DROP_FIELD = protobuf.FieldDescriptor();
|
|||
SITUATIONCHALLENGERESPONSE_FIGHTDATA_FIELD = protobuf.FieldDescriptor();
|
||||
JOURNEYGETINFORESPONSE = protobuf.Descriptor();
|
||||
JOURNEYGETINFORESPONSE_INFOS_FIELD = protobuf.FieldDescriptor();
|
||||
JOURNEYGETINFORESPONSE_FINISHNUM_FIELD = protobuf.FieldDescriptor();
|
||||
JOURNEYGETONEINFOREQUEST = protobuf.Descriptor();
|
||||
JOURNEYGETONEINFOREQUEST_MAPID_FIELD = protobuf.FieldDescriptor();
|
||||
JOURNEYGETONEINFORESPONSE = protobuf.Descriptor();
|
||||
|
@ -1959,11 +1960,21 @@ JOURNEYGETINFORESPONSE_INFOS_FIELD.message_type = CommonProto_pb.JOURNEYINFO
|
|||
JOURNEYGETINFORESPONSE_INFOS_FIELD.type = 11
|
||||
JOURNEYGETINFORESPONSE_INFOS_FIELD.cpp_type = 10
|
||||
|
||||
JOURNEYGETINFORESPONSE_FINISHNUM_FIELD.name = "finishNum"
|
||||
JOURNEYGETINFORESPONSE_FINISHNUM_FIELD.full_name = ".rpc.protocols.JourneyGetInfoResponse.finishNum"
|
||||
JOURNEYGETINFORESPONSE_FINISHNUM_FIELD.number = 2
|
||||
JOURNEYGETINFORESPONSE_FINISHNUM_FIELD.index = 1
|
||||
JOURNEYGETINFORESPONSE_FINISHNUM_FIELD.label = 1
|
||||
JOURNEYGETINFORESPONSE_FINISHNUM_FIELD.has_default_value = false
|
||||
JOURNEYGETINFORESPONSE_FINISHNUM_FIELD.default_value = 0
|
||||
JOURNEYGETINFORESPONSE_FINISHNUM_FIELD.type = 5
|
||||
JOURNEYGETINFORESPONSE_FINISHNUM_FIELD.cpp_type = 1
|
||||
|
||||
JOURNEYGETINFORESPONSE.name = "JourneyGetInfoResponse"
|
||||
JOURNEYGETINFORESPONSE.full_name = ".rpc.protocols.JourneyGetInfoResponse"
|
||||
JOURNEYGETINFORESPONSE.nested_types = {}
|
||||
JOURNEYGETINFORESPONSE.enum_types = {}
|
||||
JOURNEYGETINFORESPONSE.fields = {JOURNEYGETINFORESPONSE_INFOS_FIELD}
|
||||
JOURNEYGETINFORESPONSE.fields = {JOURNEYGETINFORESPONSE_INFOS_FIELD, JOURNEYGETINFORESPONSE_FINISHNUM_FIELD}
|
||||
JOURNEYGETINFORESPONSE.is_extendable = false
|
||||
JOURNEYGETINFORESPONSE.extensions = {}
|
||||
JOURNEYGETONEINFOREQUEST_MAPID_FIELD.name = "mapId"
|
||||
|
|
|
@ -340,7 +340,7 @@ function this.CheckFightOpenRule(fightId)
|
|||
LogRed(tips[index]..", 当前:"..num)
|
||||
end
|
||||
elseif rule[1] == 5 then
|
||||
local _, tlv, _ = LikabilityManager.GetTotalHeroLikeLv(1)
|
||||
local _, tlv, _ = LikabilityManager.GetTotalHeroLikeLv(-1)
|
||||
if tlv < rule[2] then
|
||||
states[index] = false
|
||||
tips[index] = string.format("神将总好感度等级达%s", rule[2])
|
||||
|
|
Loading…
Reference in New Issue