| | |
| | | GameWorld.DebugAnswer(curPlayer, "重置古宝: Gubao 0") |
| | | GameWorld.DebugAnswer(curPlayer, "设置古宝: Gubao 古宝ID 等级 星级") |
| | | GameWorld.DebugAnswer(curPlayer, "设置效果: Gubao e 古宝ID 效果类型 进度值") |
| | | GameWorld.DebugAnswer(curPlayer, "设置碎片: Gubao p 古宝ID 数量") |
| | | return |
| | | |
| | | gubaoIDList = [] |
| | |
| | | |
| | | PlayerGubao.Sync_GubaoItemEffInfo(curPlayer, force=True) |
| | | GameWorld.DebugAnswer(curPlayer, "重置古宝OK") |
| | | |
| | | elif value1 == "p": |
| | | gubaoID = msgList[1] if len(msgList) > 1 else 0 |
| | | pieceCount = msgList[2] if len(msgList) > 2 else 0 |
| | | ipyData = IpyGameDataPY.GetIpyGameData("Gubao", gubaoID) |
| | | if not ipyData: |
| | | GameWorld.DebugAnswer(curPlayer, "不存在该古宝!gubaoID=%s" % gubaoID) |
| | | return |
| | | PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_GubaoPiece % gubaoID, pieceCount) |
| | | GameWorld.DebugAnswer(curPlayer, "设置碎片数量: ID:%s,数量:%s" % (gubaoID, pieceCount)) |
| | | PlayerGubao.Sync_GubaoPieceInfo(curPlayer, [gubaoID]) |
| | | return |
| | | elif len(msgList) == 3: |
| | | gubaoID, lv, star = msgList |
| | | ipyData = IpyGameDataPY.GetIpyGameData("Gubao", gubaoID) |