Merge branch 'china/dev' of http://60.1.1.230/gaoxin/JL_Client into china/dev

dev_chengFeng
gaoxin 2021-07-09 17:22:58 +08:00
commit e3eff1e553
5 changed files with 6 additions and 5 deletions

View File

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB

View File

@ -13,7 +13,7 @@ local endlessTreasure = ConfigManager.GetConfig(ConfigName.endlessTreasure)
this.limiteLevel = 0
this.EndlessDrop = {}
function this.Initialize()
this.JiuYaunLuId = 16
this.JiuYaunLuId = 1227
this.hungery = false -- 没有行动力了
this.leftEnergy = 0 -- 剩余行动力
this.totalEnergy = 0 -- 总行动力

View File

@ -51,7 +51,7 @@ function this:InitComponent()
this.btnFormat=Util.GetGameObject(this.rightDown,"btnFormat")
this.btnNode=Util.GetGameObject(this.rightDown,"btnNote")
this.btnJiuYuanLu=Util.GetGameObject(this.rightDown,"btnJiuYuanLu")
this.btnJiuYuanLu:GetComponent("Image").sprite = this.spLoader:LoadSprite("r_Map_JiuYuanLu")
this.btnJiuYuanLu:GetComponent("Image").sprite = this.spLoader:LoadSprite("r_Map_JiuYuanLu_zh")
this.centerDown = Util.GetGameObject(self.gameObject, "centerDown")
this.BtnBack = Util.GetGameObject(this.centerDown,"bg/btnBack")
this.selectHero = Util.GetGameObject(this.centerDown,"selectHero")

View File

@ -128,8 +128,8 @@ function EndLessMapView:BindEvent()
end
MsgPanel.ShowTwo("是否消耗一枚九元露复活所有神将并将血量恢复为100%", function()end, function()
NetManager.UseAddHpItemRequest(tostring(-1),function ()
this.btnJiuYuanLuNum.text = (this.num - 1)
PopupTipPanel.ShowTip("已将所有神将复活并恢复至满血!")
this:OnShow()
end)
end, "取消", "确认", "提示",false)
end)
@ -384,7 +384,8 @@ function EndLessMapView:OnShow()
EndLessMapManager.RrefreshFormation()
this:ShowHeroData()
end)
this.btnJiuYuanLuNum.text = BagManager.GetItemCountById(EndLessMapManager.JiuYaunLuId)
this.num = BagManager.GetItemCountById(EndLessMapManager.JiuYaunLuId)
this.btnJiuYuanLuNum.text = this.num
end
function EndLessMapView:ShowHeroData()