命石修改提交

dev_one_discount
wangzhenxing 2023-09-01 23:41:45 +08:00
parent f792ab4c7d
commit c39a4e1fcc
2 changed files with 5 additions and 5 deletions

View File

@ -203,7 +203,7 @@ function this:SetSelectBtn(_btn)
this.tabsBtn:SetActive(sortIndex == ItemBaseType.EquipTreasure)
this.fenJieBtn:SetActive(sortIndex == ItemBaseType.SoulPrint or sortIndex == ItemBaseType.Equip or sortIndex == ItemBaseType.EquipTreasure or sortIndex == ItemBaseType.GodPrint)--装备
this.fenJieBtn:GetComponent("Image").sprite = this.spLoader:LoadSprite(tostring(ImgList[sortIndex]))--装备
this.oneKey:SetActive(sortIndex == ItemBaseType.Gem)
this.oneKey:SetActive(false)
this.itemNumText:SetActive(sortIndex == ItemBaseType.Equip or sortIndex == ItemBaseType.SoulPrint or sortIndex == ItemBaseType.EquipTreasure)--装备 法宝
end

View File

@ -63,7 +63,7 @@ function this.InitGemsInfo(msg)
end
end
-- HeroPropManager.SetFuncPropDirty(Func_Prop_Type.Gem)
HeroPropManager.SetFuncPropDirty(Func_Prop_Type.Gem)
-- --获取新战力
-- NetManager.RequestUserForceChange(FormationTypeDef.FORMATION_NORMAL)
-- local tempPower = FormationManager.GetFormationPower(FormationTypeDef.FORMATION_NORMAL)
@ -131,7 +131,7 @@ function this.GetAllAttri()
local data = {}
--命石
for k, v in pairs(this.myGemList) do
if v.pro and #v.pro then
if v.pro and #v.pro>0 then
for j=1,#v.pro do
local proId=v.pro[j][1]
local value=v.pro[j][2]
@ -150,7 +150,7 @@ function this.GetAllAttri()
end
--高级命石
for k, v in pairs(this.sperGemList) do
if v.pro and #v.pro then
if v.pro and #v.pro>0 then
for j=1,#v.pro do
local proId=v.pro[j][1]
local value=v.pro[j][2]
@ -161,7 +161,7 @@ function this.GetAllAttri()
if propertyConfig[proId].Style==1 then
data[proId] = data[proId] + value
elseif propertyConfig[proId].Style==2 then
data[proId] = data[proId] + value/10000
data[proId] = data[proId] + value
end
end
end