| | |
| | | totalSoulDust += soulDust
|
| | | delPlaceDict[place] = [GatherSoulData, soulidList, int(soulDust), soulSplinters, soulCore]
|
| | |
|
| | | if not delPlaceDict:
|
| | | return
|
| | | if delPlaceDict:
|
| | | ItemCommon.DelVPackItem(curPlayer, packIndex, delPlaceDict.keys(), ChConfig.ItemDel_GatherSoul)
|
| | | addDataDict = {"delPlaceDict":delPlaceDict, "isAuto":isAuto}
|
| | |
| | | for itemID, itemCnt in giveMaterialDict.items():
|
| | | ItemControler.GivePlayerItem(curPlayer, itemID, itemCnt, 0, [ShareDefine.rptGatherSoul])
|
| | | GameWorld.DebugLog("聚魂分解: isAuto=%s,PlaceIndexList=%s, delPlaceDict=%s, giveMaterialDict=%s" % (isAuto, placeList, delPlaceDict, giveMaterialDict))
|
| | | if not isAuto:
|
| | | curPlayer.Sync_MakeItemAnswer(ShareDefine.Def_mitGatherSoulDecompose, 1)
|
| | | return
|
| | |
|
| | |
|