|  |  | 
 |  |  |             for index in range(ipyDataMgr.GetGubaoCount()): | 
 |  |  |                 ipyData = ipyDataMgr.GetGubaoByIndex(index) | 
 |  |  |                 gubaoID = ipyData.GetGubaoID() | 
 |  |  |                 if curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_GubaoPiece % gubaoID): | 
 |  |  |                     PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_GubaoPiece % gubaoID, 0) | 
 |  |  |                     if gubaoID not in gubaoIDList: | 
 |  |  |                         gubaoIDList.append(gubaoID) | 
 |  |  |                 _, star = PlayerGubao.GetGubaoLVInfo(curPlayer, gubaoID) | 
 |  |  |                 if not star: | 
 |  |  |                     continue | 
 |  |  |                 if gubaoID not in gubaoIDList: | 
 |  |  |                 gubaoIDList.append(gubaoID) | 
 |  |  |                 PlayerGubao.SetGubaoLVInfo(curPlayer, gubaoID, 0, 0) | 
 |  |  |                 for effType in PlayerGubao.GubaoEffTtemIypeList: | 
 |  |  | 
 |  |  |      | 
 |  |  |     PlayerGubao.RefreshGubaoAttr(curPlayer) | 
 |  |  |     PlayerGubao.Sync_GubaoInfo(curPlayer, gubaoIDList) | 
 |  |  |     PlayerGubao.Sync_GubaoPieceInfo(curPlayer, gubaoIDList)     | 
 |  |  |     return | 
 |  |  |  | 
 |  |  |  |