dev_chengFeng
yuanshuai 2022-09-01 18:26:30 +08:00
parent bdc2cd7ef9
commit ba085f9c4b
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ end
function this.GetHeroEquipPropAdd(_heroId,_equipPos)
local heroDId= string.gsub(_heroId, "TEMP_", "")--不知道为什么有狗屁临时id
local heroData=HeroManager.GetSingleHeroData(heroDId)
if heroData.equipStrong==nil then
if heroData.equipStrong==nil or heroData.equipStrong[_equipPos]==nil then
return 0
end
local lv=heroData.equipStrong[_equipPos]