From 8709eea88b2eaf09582f06290167b9a997c8fc3e Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 05 十二月 2018 15:24:21 +0800
Subject: [PATCH] 4879 【后端】【1.3.100】宗门试练新增扫荡
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDiceEx.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDiceEx.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDiceEx.py
index ace558c..824ae88 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDiceEx.py
+++ b/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:
--
Gitblit v1.8.0