【七界试炼】提交

dev_chengFeng
ZhangBiao 2021-09-24 14:06:09 +08:00
parent 35e6c617fb
commit c9305b4247
2 changed files with 10 additions and 10 deletions

View File

@ -11,8 +11,8 @@ local PassiveSkillConfig = ConfigManager.GetConfig(ConfigName.PassiveSkillConfig
local PassiveSkillLogicConfig = ConfigManager.GetConfig(ConfigName.PassiveSkillLogicConfig)
function this.Initialize()
this.curLevelId = 3004
this.curRank = 999
this.curLevelId = 1001
this.curRank = 1
this.curScore = 1
this.QijieType = 1
this.curProgress = 0
@ -39,7 +39,7 @@ function this.InitTreasureData()
data.Cost = configInfo.Cost
-- data.ConditionValue[1][2] = configInfo.ConditionValue[1][2]
data.Desc = configInfo.Desc
data.Buff = configInfo.Buff
data.Buff = configInfo.Buff[1]
data.state = 2 --0未激活1已激活2未购买
this.treasureList[data.Id] = data
end
@ -249,12 +249,12 @@ function this.GetTreasureEffect(treasureList)
-- LogGreen("3,tData.AttriType"..tostring(tData.AttriType))
attriList1[tData.AttriType].ValueList = {}
end
-- LogGreen("4,tData.Buff:"..tostring(tData.Buff))
-- LogGreen("4,tData.Buff[1]:"..tostring(tData.Buff[1]))
table.insert(attriList1[tData.AttriType].ValueList,tData)
end
for k,v in pairs(attriList1) do
for m,n in pairs(v.ValueList) do
local buffData = PassiveSkillLogicConfig[n.Buff]
local buffData = PassiveSkillLogicConfig[n.Buff[1]]
if not attriList2[k] then
attriList2[k] = {}
end
@ -263,12 +263,12 @@ function this.GetTreasureEffect(treasureList)
if not attriList2[k][buffData.Value[1]] then
attriList2[k][buffData.Value[1]] = {}
end
-- LogYellow("Desc:"..tostring(PassiveSkillConfig[n.Buff].Desc))
attriList2[k][buffData.Value[1]].Desc = PassiveSkillConfig[n.Buff].Desc
-- LogYellow("Desc:"..tostring(PassiveSkillConfig[n.Buff[1]].Desc))
attriList2[k][buffData.Value[1]].Desc = PassiveSkillConfig[n.Buff[1]].Desc
if attriList2[k][buffData.Value[1]].Value then
attriList2[k][buffData.Value[1]].Value = attriList2[k][buffData.Value[1]].Value + tonumber(PassiveSkillConfig[n.Buff].DescValue[1])/100
attriList2[k][buffData.Value[1]].Value = attriList2[k][buffData.Value[1]].Value + tonumber(PassiveSkillConfig[n.Buff[1]].DescValue[1])/100
else
attriList2[k][buffData.Value[1]].Value = tonumber(PassiveSkillConfig[n.Buff].DescValue[1])/100
attriList2[k][buffData.Value[1]].Value = tonumber(PassiveSkillConfig[n.Buff[1]].DescValue[1])/100
end
end
end

View File

@ -92,7 +92,7 @@ end
-- 编队数据匹配
function QiJieShiLianMonsterInfo:FormationAdapter()
self.titleText.text = string.format("%s·%s层",self.configData.Chapter,self.configData.Stage)
self.power.text = 999999
self.power.text = self.configData.Puwer
local bossTeaminfo = monsterGroup[self.configData.MonsterGroup].Contents[1]
for i = 1, #heroListGo do
if (bossTeaminfo[i]) and bossTeaminfo[i] > 0 then