无尽修改提交
parent
666f77c3db
commit
b1cf308eeb
|
@ -410,6 +410,13 @@ function this.BattleEnd(result)
|
|||
this.lastBattleResult.hpList[i] = msg.remainHpList[i]
|
||||
end
|
||||
this.lastBattleResult.drop = msg.enventDrop
|
||||
if this.lastBattleResult.drop then
|
||||
LogGreen("itemlist:"..#this.lastBattleResult.drop.itemlist)
|
||||
LogGreen("equipId:"..#this.lastBattleResult.drop.equipId)
|
||||
LogGreen("Hero:"..#this.lastBattleResult.drop.Hero)
|
||||
LogGreen("soulEquip:"..#this.lastBattleResult.drop.soulEquip)
|
||||
LogGreen("pokemon:"..#this.lastBattleResult.drop.pokemon)
|
||||
end
|
||||
this.lastBattleResult.missionDrop = msg.missionDrop
|
||||
this.lastBattleResult.result = msg.result
|
||||
this.lastBattleResult.mission = msg.mission
|
||||
|
|
|
@ -397,6 +397,9 @@ function EndLessMapView:ShowHeroData()
|
|||
--血量相关
|
||||
this.heroList[i].hpExp.value=heroData1.percentHp
|
||||
Util.SetGray(this.heroList[i].go,heroData1.percentHp<=0)--死啦
|
||||
Util.AddOnceClick( this.heroList[i].go,function()
|
||||
UIManager.OpenPanel(UIName.RoleInfoPopup, heroData)
|
||||
end)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -744,7 +744,9 @@ function this.RefreshMapData(buffer)
|
|||
local msg = MapInfoProto_pb.EndlessMapChange()
|
||||
msg:ParseFromString(data)
|
||||
LogGreen("推送的世界ID " .. msg.mapId)
|
||||
EndLessMapManager.openMapId = msg.mapId
|
||||
EndLessMapManager.openMapId = msg.mapId
|
||||
NetManager.RefreshEnergyRequest({1},function()
|
||||
end)
|
||||
end
|
||||
|
||||
function this.RestTreasureTaskData(buffer)
|
||||
|
|
Loading…
Reference in New Issue