|  |  |  | 
|---|
|  |  |  | import PlayerSuccess | 
|---|
|  |  |  | import PlayerWeekParty | 
|---|
|  |  |  | import ShareDefine | 
|---|
|  |  |  | import EventShell | 
|---|
|  |  |  | #import EquipZhuXian | 
|---|
|  |  |  |  | 
|---|
|  |  |  | g_stoneCanPlaceList = [] #可镶嵌的位置 | 
|---|
|  |  |  | 
|---|
|  |  |  | Sycn_StoneHoleInfo(curPlayer, [equipPackIndex]) | 
|---|
|  |  |  | #成就 | 
|---|
|  |  |  | DoStoneSuccess(curPlayer) | 
|---|
|  |  |  |  | 
|---|
|  |  |  | EventShell.EventRespons_InlayStone(curPlayer) | 
|---|
|  |  |  | return | 
|---|
|  |  |  |  | 
|---|
|  |  |  | def DoStoneSuccess(curPlayer): | 
|---|
|  |  |  | 
|---|
|  |  |  | def GetTotalStoneLV(curPlayer): | 
|---|
|  |  |  | ##宝石总等级 | 
|---|
|  |  |  | totalStoneLV = 0 | 
|---|
|  |  |  | equipIndexList = GetAllStoneEquipIndexList() | 
|---|
|  |  |  | holeIndexList = GetAllEquipPlaceHoleIndex() | 
|---|
|  |  |  | gameData = GameWorld.GetGameData() | 
|---|
|  |  |  | playerEquip = curPlayer.GetItemManager().GetPack(IPY_GameWorld.rptEquip) | 
|---|
|  |  |  | for equipIndex in xrange(playerEquip.GetCount()): | 
|---|
|  |  |  | if equipIndex not in ShareDefine.RoleEquipType : | 
|---|
|  |  |  | continue | 
|---|
|  |  |  | for equipIndex in equipIndexList: | 
|---|
|  |  |  | for holeIndex in holeIndexList: | 
|---|
|  |  |  | curGemID = GetEquipIndexStoneIDAndIsBand(curPlayer, equipIndex, holeIndex)[0] | 
|---|
|  |  |  | if curGemID == 0: | 
|---|