【建木神树】显示修改

dev_chengFeng
ZhangBiao 2021-01-27 11:50:44 +08:00
parent 6f407db90a
commit b6640cc370
4 changed files with 1447 additions and 242 deletions

View File

@ -48,7 +48,7 @@ local this = GMPanel
}
local baowuList = {
"1#100005#1", "1#100010#1", "1#100015#1", "1#100020#1", "1#100025#1","1#100030#1", "1#100035#1","1#100040#1",
"1#100001#100", "1#100006#100", "1#100011#100", "1#100020#100", "1#100021#100","1#100026#100", "1#100031#100","1#100036#100",
-- "1#100001#100", "1#100006#100", "1#100011#100", "1#100020#100", "1#100021#100","1#100026#100", "1#100031#100","1#100036#100",
}
local equipeList = {
"1#60159#1", "1#60184#1", "1#60194#1", "1#60199#1"

View File

@ -309,7 +309,12 @@ end
function this.ShowCurEquipData()
local equipConfigData=ConfigManager.GetConfigData(ConfigName.JewelConfig, curEquipData.id)
local itemConfigData=ConfigManager.GetConfigData(ConfigName.ItemConfig, curEquipData.id)
local curPower=EquipTreasureManager.CalculateWarForce(curEquipData.idDyn)
local curPower = 0
if not curEquipData.idDyn then
curPower = EquipTreasureManager.CalculateWarForceBySid(curEquipData.id, curEquipData.lv, curEquipData.refineLv, curEquipData.treeLv)
else
curPower = EquipTreasureManager.CalculateWarForce(curEquipData.idDyn)
end
this.powerNum1.text=curPower
this.desc1.text=itemConfigData.ItemDescribe
if type==3 and nextEquipData~=nil then
@ -476,7 +481,9 @@ function this.SetPropertyShow2(_infos,_preList,_grid)
local preCount=#_preList
for i = 1, dataCount-preCount do
local go = newObject(this.TextPre)
go.transform:SetParent(_grid.transform)
local t = math.floor((i+1)/2)
local trans = Util.GetGameObject(_grid.transform,"line ("..t..")")
go.transform:SetParent(trans.transform)
go.transform.localScale = Vector3.one
go.transform.localPosition = Vector3.zero
go.gameObject:SetActive(false)
@ -493,7 +500,7 @@ function this.SetPropertyShow2(_infos,_preList,_grid)
string = proper.Info.."+".._infos[value[1]].currValue/100 .."%"
end
if index <= curTree then
string = "<color=#3CD200>"..string.."</color>"
string = "<color=#66FF00>"..string.."</color>"
else
string = "<color=#828282>"..string.."\n".."<size=25>(四灵试炼"..attriConfig[index][2].."层解锁)</size></color>"
end

View File

@ -24,7 +24,7 @@ end
function this.GetTowerLevel()
-- return MonsterCampManager.GetFourElementTotalWave()
return 100
return 150
end
--树等级表数据