白金魂宝神应修改提交

dev_chengFeng
wangzhenxing 2023-02-13 14:05:12 +08:00
parent b8f1abd4b8
commit 04ea826ab8
2 changed files with 6 additions and 3 deletions

View File

@ -436,7 +436,7 @@ function EquipTreasureStrongPopup:SetWindShow(_index)
this.btnShenyingText.text="升 级"
this.properList[0].rightTxt.text = curEquipData.treeLv+1
end
propertyShow = SacredTreeManager.GetPropText(curEquipData.treeLv,curEquipData.quantity-1)
propertyShow = SacredTreeManager.GetPropText(curEquipData.treeLv,curEquipData.id)
if isMax then
this.hintTxt.text = "神应等级已达上限"
else

View File

@ -185,9 +185,12 @@ function this.GetAttriDetail(index)
end
--获取当前等级和下一级的数据
function this.GetPropText(_treeLv,index)
function this.GetPropText(_treeLv,_id)
local data = {}
local maxSacredLevel = ConfigManager.GetConfigDataByKey(ConfigName.JewelConfig,"GodHoodPool",index).GodHoodMaxlv
local jewerConfig=ConfigManager.GetConfigData(ConfigName.JewelConfig,_id)
local maxSacredLevel = jewerConfig.GodHoodMaxlv
local index= jewerConfig.GodHoodPool
--local maxSacredLevel = ConfigManager.GetConfigDataByKey(ConfigName.JewelConfig,"GodHoodPool",index).GodHoodMaxlv
local level = _treeLv
local configData = ConfigManager.TryGetConfigDataByThreeKey(ConfigName.JewelRankupConfig,"Type",3,"Level",level,"PoolID",index)
local configNextData = ConfigManager.TryGetConfigDataByThreeKey(ConfigName.JewelRankupConfig,"Type",3,"Level",level+1,"PoolID",index)