From 6a57dcfce976a2a86d21371cbe2259e5b8a3db80 Mon Sep 17 00:00:00 2001 From: wangzhenxing Date: Thu, 10 Nov 2022 10:53:22 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A5=9E=E5=8D=B0=E6=8A=A5=E9=94=99=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ManagedResources/~Lua/Modules/GodPrint/GodPrintManager.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/ManagedResources/~Lua/Modules/GodPrint/GodPrintManager.lua b/Assets/ManagedResources/~Lua/Modules/GodPrint/GodPrintManager.lua index 342ad8a39b..173e31055c 100644 --- a/Assets/ManagedResources/~Lua/Modules/GodPrint/GodPrintManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/GodPrint/GodPrintManager.lua @@ -808,7 +808,7 @@ function this.GetAllSoulPrint(isUpHero,heroSId,_heroDid,heroData) for i = 1, #heroDids do if heroSId then 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 if Range[k] == heroSId and heroDid ~= heroDids[i] and HeroManager.IsHaveHero(heroDids[i]) then --这个魂印能装在这个英雄身上并且没有装在这个英雄身上 local singleSoulPrint = {id = soulPrintSid,upHero = heroDids[i]}