bug
parent
bdc2cd7ef9
commit
ba085f9c4b
|
@ -69,7 +69,7 @@ end
|
||||||
function this.GetHeroEquipPropAdd(_heroId,_equipPos)
|
function this.GetHeroEquipPropAdd(_heroId,_equipPos)
|
||||||
local heroDId= string.gsub(_heroId, "TEMP_", "")--不知道为什么有狗屁临时id
|
local heroDId= string.gsub(_heroId, "TEMP_", "")--不知道为什么有狗屁临时id
|
||||||
local heroData=HeroManager.GetSingleHeroData(heroDId)
|
local heroData=HeroManager.GetSingleHeroData(heroDId)
|
||||||
if heroData.equipStrong==nil then
|
if heroData.equipStrong==nil or heroData.equipStrong[_equipPos]==nil then
|
||||||
return 0
|
return 0
|
||||||
end
|
end
|
||||||
local lv=heroData.equipStrong[_equipPos]
|
local lv=heroData.equipStrong[_equipPos]
|
||||||
|
|
Loading…
Reference in New Issue