神印报错修改
parent
498457f6f5
commit
6a57dcfce9
|
@ -808,7 +808,7 @@ function this.GetAllSoulPrint(isUpHero,heroSId,_heroDid,heroData)
|
||||||
for i = 1, #heroDids do
|
for i = 1, #heroDids do
|
||||||
if heroSId then
|
if heroSId then
|
||||||
local Range = equipConfig[soulPrintSid].Range
|
local Range = equipConfig[soulPrintSid].Range
|
||||||
if Range and #Range > 0 and Range[1] > 0 then
|
if Range and #Range > 0 and tonumber(Range[1])~=nil and tonumber(Range[1]) > 0 then
|
||||||
for k = 1, #Range do
|
for k = 1, #Range do
|
||||||
if Range[k] == heroSId and heroDid ~= heroDids[i] and HeroManager.IsHaveHero(heroDids[i]) then --这个魂印能装在这个英雄身上并且没有装在这个英雄身上
|
if Range[k] == heroSId and heroDid ~= heroDids[i] and HeroManager.IsHaveHero(heroDids[i]) then --这个魂印能装在这个英雄身上并且没有装在这个英雄身上
|
||||||
local singleSoulPrint = {id = soulPrintSid,upHero = heroDids[i]}
|
local singleSoulPrint = {id = soulPrintSid,upHero = heroDids[i]}
|
||||||
|
|
Loading…
Reference in New Issue