ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerHero.py
@@ -1448,6 +1448,8 @@ for index in range(ipyDataMgr.GetHeroCount()): ipyData = ipyDataMgr.GetHeroByIndex(index) heroID = ipyData.GetHeroID() if not ipyData.GetPlayerCanUse(): continue if not GetHeroBookInitState(curPlayer, heroID): # 图鉴未激活 continue @@ -1476,6 +1478,8 @@ ipyDataMgr = IpyGameDataPY.IPY_Data() for index in range(ipyDataMgr.GetHeroCount()): ipyData = ipyDataMgr.GetHeroByIndex(index) if not ipyData.GetPlayerCanUse(): continue syncHeroIDList.append(ipyData.GetHeroID()) if not syncHeroIDList: