【魂印】前端容错

dev_chengFeng
zhangqiang 2021-06-02 10:16:57 +08:00
parent 39bb3d5c06
commit 18053ad192
1 changed files with 4 additions and 0 deletions

View File

@ -743,6 +743,10 @@ end
local allSoulPrintUpHeros = {}-- soulPrintSid = {heroDid,heroDid,heroDid}
--增加魂印装备的英雄did
function this.AddSoulPrintUpHeroDynamicId(soulPrintSid, heroDid)
if not equipConfig[soulPrintSid] then
LogYellow("魂印表里不存在,需要策划君! "..soulPrintSid)
return
end
if allSoulPrintUpHeros[soulPrintSid] then
table.insert(allSoulPrintUpHeros[soulPrintSid],heroDid)
else