From 8748bbbb0bcf027f0e77cc203aa60b2d68ddcebc Mon Sep 17 00:00:00 2001 From: hch <305670599@qq.com> Date: 星期四, 06 六月 2019 10:26:29 +0800 Subject: [PATCH] 6603 【后端】【2.0】增加新版的sp和被动技能 --- 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