白金魂宝神应修改提交

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.btnShenyingText.text="升 级"
this.properList[0].rightTxt.text = curEquipData.treeLv+1 this.properList[0].rightTxt.text = curEquipData.treeLv+1
end end
propertyShow = SacredTreeManager.GetPropText(curEquipData.treeLv,curEquipData.quantity-1) propertyShow = SacredTreeManager.GetPropText(curEquipData.treeLv,curEquipData.id)
if isMax then if isMax then
this.hintTxt.text = "神应等级已达上限" this.hintTxt.text = "神应等级已达上限"
else else

View File

@ -185,9 +185,12 @@ function this.GetAttriDetail(index)
end end
--获取当前等级和下一级的数据 --获取当前等级和下一级的数据
function this.GetPropText(_treeLv,index) function this.GetPropText(_treeLv,_id)
local data = {} 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 level = _treeLv
local configData = ConfigManager.TryGetConfigDataByThreeKey(ConfigName.JewelRankupConfig,"Type",3,"Level",level,"PoolID",index) 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) local configNextData = ConfigManager.TryGetConfigDataByThreeKey(ConfigName.JewelRankupConfig,"Type",3,"Level",level+1,"PoolID",index)