From 7d6b028c24c2e90109f118eb3008b655e9b063b8 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期二, 25 十二月 2018 14:26:34 +0800
Subject: [PATCH] 5512 子 【开发】【1.4】跨服竞技场 / 【后端】【1.4】跨服竞技场开发 -- 链接跨服状态通知gameserver
---
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