注释神魂

onepiece_demo_arena
wangzhenxing 2024-01-12 11:41:17 +08:00
parent 242daceb46
commit f9b6c39b44
1 changed files with 44 additions and 43 deletions

View File

@ -15,49 +15,50 @@ function this.InitializeTableData()
if not this.GodSoulTableData[v.Id] then if not this.GodSoulTableData[v.Id] then
this.GodSoulTableData[v.Id] = {} this.GodSoulTableData[v.Id] = {}
end end
if not v.Soul then --屏蔽了神魂功能,这段代码先注释掉 2021/01/12
else -- if not v.Soul then
for i = 1,#v.Soul do -- else
if not this.GodSoulTableData[v.Id][v.Soul[i][1]] then -- for i = 1,#v.Soul do
this.GodSoulTableData[v.Id][v.Soul[i][1]] = {} -- if not this.GodSoulTableData[v.Id][v.Soul[i][1]] then
for j = 1,#v.SoulSkill do -- this.GodSoulTableData[v.Id][v.Soul[i][1]] = {}
if v.Soul[i][1] == v.SoulSkill[j][1] then -- for j = 1,#v.SoulSkill do
this.GodSoulTableData[v.Id][v.Soul[i][1]].skill = GetSkillConfigDesc(passiveSkillConfig[v.SoulSkill[j][2]]) -- if v.Soul[i][1] == v.SoulSkill[j][1] then
break -- this.GodSoulTableData[v.Id][v.Soul[i][1]].skill = GetSkillConfigDesc(passiveSkillConfig[v.SoulSkill[j][2]])
end -- break
end -- end
end -- end
local data = {} -- end
data.index = v.Soul[i][2] -- local data = {}
data.num = 1 --v.Soul[i][4] -- data.index = v.Soul[i][2]
local config = heroRankupGroup[v.Soul[i][3]] -- data.num = 1 --v.Soul[i][4]
if config.Issame == 1 then -- local config = heroRankupGroup[v.Soul[i][3]]
data.id = v.Id -- if config.Issame == 1 then
data.property = 0 -- data.id = v.Id
data.profession = 0 -- data.property = 0
elseif config.IsId > 0 then -- data.profession = 0
data.id = config.IsId -- elseif config.IsId > 0 then
data.property = 0 -- data.id = config.IsId
data.profession = 0 -- data.property = 0
else -- data.profession = 0
data.id = 0 -- else
if config.IsSameClan == 1 then -- data.id = 0
data.property = v.PropertyName -- if config.IsSameClan == 1 then
else -- data.property = v.PropertyName
data.property = 0 -- else
end -- data.property = 0
if config.IsSameJob == 1 then -- end
data.profession = v.Profession -- if config.IsSameJob == 1 then
else -- data.profession = v.Profession
data.profession = 0 -- else
end -- data.profession = 0
end -- end
data.star = config.StarLimit -- end
for j = 1,v.Soul[i][4] do -- data.star = config.StarLimit
table.insert(this.GodSoulTableData[v.Id][v.Soul[i][1]],data) -- for j = 1,v.Soul[i][4] do
end -- table.insert(this.GodSoulTableData[v.Id][v.Soul[i][1]],data)
end -- end
end -- end
-- end
end end
end end