13 【内政】淘金系统-自动淘金到期时仓库满,全部取出异常
| | |
| | | elif value1 == "a":
|
| | | ungetCnt = msgList[1] if len(msgList) > 1 else 0
|
| | | spaceList = IpyGameDataPY.GetFuncEvalCfg("GoldRush", 1)
|
| | | maxSpace = sum(spaceList) if PlayerGoldRush.GoldRushAutoCanUse(curPlayer) else spaceList[0]
|
| | | maxSpace = sum(spaceList)
|
| | | for index in range(maxSpace):
|
| | | if ungetCnt <= 0:
|
| | | break
|
| | |
| | | getList = []
|
| | | if isAll:
|
| | | spaceList = IpyGameDataPY.GetFuncEvalCfg("GoldRush", 1)
|
| | | maxSpace = sum(spaceList) if GoldRushAutoCanUse(curPlayer) else spaceList[0]
|
| | | maxSpace = sum(spaceList)
|
| | | for index in range(maxSpace):
|
| | | goldID = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_GoldRushWarehouse % index)
|
| | | if not goldID:
|