名望特权添加容错 同常规

tcx_xiyou_bt_ios hotfix/xiyou_bt/cdn_xiyouBtTest_and/1.1.9
wangzhenxing 2024-05-20 18:25:09 +08:00
parent 58c76bba22
commit 2ec8e9716b
1 changed files with 6 additions and 1 deletions

View File

@ -159,7 +159,12 @@ function this.GetMingWangLv(index)
local config=ConfigManager.TryGetConfigDataByDoubleKey(ConfigName.PrestigeConfig,"Type",2,"Level",index)
if config then
if config.Experience~=nil then
return config.Experience[2]
if config.Experience[2] then
return config.Experience[2]
else
return 0
end
else
return 0
end