From 7090e3f4e6d9d386fd1fdd681889db6c921c9941 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 28 三月 2019 17:54:01 +0800
Subject: [PATCH] 6373 【后端】【2.0】删除无用功能代码、封包、配置(摆摊系统)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDiceEx.py |    7 +++++--
 1 files changed, 5 insertions(+), 2 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 ea7febe..e53692f 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDiceEx.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDiceEx.py
@@ -13,7 +13,8 @@
 #
 # 详细描述: 我要太极
 #---------------------------------------------------------------------
-"""Version = 2016-09-26 20:00"""
+#"""Version = 2016-09-26 20:00"""
+#---------------------------------------------------------------------
 
 import GameWorld
 import IPY_GameWorld
@@ -25,6 +26,7 @@
 import ChConfig
 import IpyGameDataPY
 import PlayerActivity
+import PlayerSuccess
 import ItemCommon
 
 
@@ -70,6 +72,7 @@
             return
         if not __DoDicelogic(curPlayer):
             return
+        PlayerSuccess.DoAddSuccessProgress(curPlayer, ShareDefine.SuccType_FeastRedPack_Dice, 1)
         
     elif diceType == 1:
         if not diceResult:
@@ -140,7 +143,7 @@
             PlayerControl.NotifyCode(curPlayer, "GeRen_chenxin_998371")
             return
         # 给物品
-        ItemControler.GivePlayerItem(curPlayer, itemInfo[0], itemInfo[1], 1, [IPY_GameWorld.rptItem], 
+        ItemControler.GivePlayerItem(curPlayer, itemInfo[0], itemInfo[1], 0, [IPY_GameWorld.rptItem], 
                                      event=[ChConfig.ItemGive_DiceEx, False, {}])
     reExp = PlayerControl.GetPlayerReExp(curPlayer)
     exp = eval(prizeInfo.get("exp", '0'))

--
Gitblit v1.8.0