四象心法bug 修改
parent
bee3fa5099
commit
b25468cd26
|
|
@ -140,7 +140,7 @@ function this:BindEvent()
|
|||
end)
|
||||
|
||||
Util.AddClick(this.upStarBtn, function()
|
||||
-- if this.CheckXiuxingLv() then
|
||||
if this.CheckXiuxingLv() then
|
||||
local costArr=fourQuadConfig.RankupCost
|
||||
for i = 1, #costArr do
|
||||
if BagManager.GetTotalItemNum(costArr[i][1])<costArr[i][2]then
|
||||
|
|
@ -149,9 +149,9 @@ function this:BindEvent()
|
|||
end
|
||||
end
|
||||
NetManager.SendSixiangUpStarRequest(this.professionId,this.UpStarUpdate)
|
||||
-- else
|
||||
-- PopupTipPanel.ShowTip("修行等级不满足进阶条件")
|
||||
-- end
|
||||
else
|
||||
PopupTipPanel.ShowTip("修行等级不满足进阶条件")
|
||||
end
|
||||
end)
|
||||
|
||||
Util.AddClick(this.helpBtn, function()
|
||||
|
|
@ -406,7 +406,11 @@ function this.ShowAddPropNum(_professionId)
|
|||
if propertyList then
|
||||
for i = 1, #propertyList do
|
||||
local propertyInfo=propertyList[i]
|
||||
local addNum=propertyInfo.propertyNum-oldPropMap[propertyInfo.propertyId]
|
||||
local oldPropNum=0
|
||||
if oldPropMap[propertyInfo.propertyId] then
|
||||
oldPropNum=oldPropMap[propertyInfo.propertyId]
|
||||
end
|
||||
local addNum=propertyInfo.propertyNum-oldPropNum
|
||||
if addNum>0 then
|
||||
this.propPreMap[propertyInfo.propertyId].addValue.text=string.format("+%s",addNum);
|
||||
this.propPreMap[propertyInfo.propertyId].addValue.gameObject:SetActive(true)
|
||||
|
|
|
|||
|
|
@ -88,10 +88,10 @@ function Practice:BindEvent()
|
|||
PopupTipPanel.ShowTip("到达筑基期后解锁!")
|
||||
end
|
||||
end)
|
||||
--驭神按钮
|
||||
--四象心法按钮
|
||||
Util.AddClick(self.fourQuadrantBtn, function()
|
||||
if PlayerManager.level < globalSystemConfig.OpenRules[2] then
|
||||
PopupTipPanel.ShowTip(string.format("到达%s级后解锁!",globalSystemConfig.OpenRules[1][2]))
|
||||
PopupTipPanel.ShowTip(string.format("到达%s级后解锁!",globalSystemConfig.OpenRules[2]))
|
||||
else
|
||||
UIManager.OpenPanel(UIName.FourQuadrantPopup)
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue