xdh
2018-11-19 cb377dffc51158398414ba261ff19bcf87a978ef
4767 【1.3】【后端】我要天机改投骰子增加保底
1个文件已修改
2 ■■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDiceEx.py 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDiceEx.py
@@ -109,6 +109,8 @@
            return
        result = GameWorld.ChangeDataByDigitPlace(result, i, resultNum)
        #GameWorld.DebugLog("    摇骰子结果 resultNum=%s, result=%s" % (resultNum, result))
    if isChange and str(result).count('6') == 0:
        result = GameWorld.ChangeDataByDigitPlace(result, 0, 6)
    GameWorld.DebugLog("    摇骰子结果 result=%s,isChange=%s" % (result, isChange))
    PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_Dice_Result, result)
    if result == 666666: