【建木神树】显示修改
parent
6f407db90a
commit
b6640cc370
File diff suppressed because it is too large
Load Diff
|
@ -48,7 +48,7 @@ local this = GMPanel
|
||||||
}
|
}
|
||||||
local baowuList = {
|
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#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 = {
|
local equipeList = {
|
||||||
"1#60159#1", "1#60184#1", "1#60194#1", "1#60199#1"
|
"1#60159#1", "1#60184#1", "1#60194#1", "1#60199#1"
|
||||||
|
|
|
@ -309,7 +309,12 @@ end
|
||||||
function this.ShowCurEquipData()
|
function this.ShowCurEquipData()
|
||||||
local equipConfigData=ConfigManager.GetConfigData(ConfigName.JewelConfig, curEquipData.id)
|
local equipConfigData=ConfigManager.GetConfigData(ConfigName.JewelConfig, curEquipData.id)
|
||||||
local itemConfigData=ConfigManager.GetConfigData(ConfigName.ItemConfig, 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.powerNum1.text=curPower
|
||||||
this.desc1.text=itemConfigData.ItemDescribe
|
this.desc1.text=itemConfigData.ItemDescribe
|
||||||
if type==3 and nextEquipData~=nil then
|
if type==3 and nextEquipData~=nil then
|
||||||
|
@ -476,7 +481,9 @@ function this.SetPropertyShow2(_infos,_preList,_grid)
|
||||||
local preCount=#_preList
|
local preCount=#_preList
|
||||||
for i = 1, dataCount-preCount do
|
for i = 1, dataCount-preCount do
|
||||||
local go = newObject(this.TextPre)
|
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.localScale = Vector3.one
|
||||||
go.transform.localPosition = Vector3.zero
|
go.transform.localPosition = Vector3.zero
|
||||||
go.gameObject:SetActive(false)
|
go.gameObject:SetActive(false)
|
||||||
|
@ -493,7 +500,7 @@ function this.SetPropertyShow2(_infos,_preList,_grid)
|
||||||
string = proper.Info.."+".._infos[value[1]].currValue/100 .."%"
|
string = proper.Info.."+".._infos[value[1]].currValue/100 .."%"
|
||||||
end
|
end
|
||||||
if index <= curTree then
|
if index <= curTree then
|
||||||
string = "<color=#3CD200>"..string.."</color>"
|
string = "<color=#66FF00>"..string.."</color>"
|
||||||
else
|
else
|
||||||
string = "<color=#828282>"..string.."\n".."<size=25>(四灵试炼"..attriConfig[index][2].."层解锁)</size></color>"
|
string = "<color=#828282>"..string.."\n".."<size=25>(四灵试炼"..attriConfig[index][2].."层解锁)</size></color>"
|
||||||
end
|
end
|
||||||
|
|
|
@ -24,7 +24,7 @@ end
|
||||||
|
|
||||||
function this.GetTowerLevel()
|
function this.GetTowerLevel()
|
||||||
-- return MonsterCampManager.GetFourElementTotalWave()
|
-- return MonsterCampManager.GetFourElementTotalWave()
|
||||||
return 100
|
return 150
|
||||||
end
|
end
|
||||||
|
|
||||||
--树等级表数据
|
--树等级表数据
|
||||||
|
|
Loading…
Reference in New Issue