青龙秘宝修改 提交

dev_chengFeng
jiaoyangna 2021-06-09 18:48:24 +08:00
parent cf47376987
commit 7c1d58b3eb
1 changed files with 7 additions and 1 deletions

View File

@ -154,7 +154,13 @@ function this:showRewardQinglong()
local indirect ={}
local config = ConfigManager.GetConfigData(ConfigName.SpecialConfig,16)
local strs = string.split(config.Value,"|")
local curScore = BagManager.GetItemCountById(QinglongSerectTreasureManager.scoreId)
local configLv = 0
if QinglongSerectTreasureManager.GetLevel() - 1 < 0 then
configLv = 0
else
configLv = QinglongSerectTreasureManager.GetLevel() - 1
end
local curScore = ConfigManager.GetConfigDataByKey(ConfigName.TreasureSunlongConfig,"Level",configLv).Integral[1][2]
local Getlv = function(curScore)
local lv = 0
for k,v in ConfigPairs(ConfigManager.GetConfig(ConfigName.TreasureSunlongConfig)) do