From 345583c976863943932363dde9ff4aab01f41e94 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期四, 20 六月 2019 20:39:59 +0800
Subject: [PATCH] 7446 【后端】灵根称号修改为每级增加多少点
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_XMZZ.py | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_XMZZ.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_XMZZ.py
index f36ce5f..fe4c9a0 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_XMZZ.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_XMZZ.py
@@ -450,8 +450,7 @@
prizeItemList = winCntAwardDict[str(prizeEx)]
# 给物品 [奖励物品id,个数,是否绑定]
for itemID, itemCnt, isBind in prizeItemList:
- if not ItemControler.GivePlayerItem(curPlayer, itemID, itemCnt, 0,
- [IPY_GameWorld.rptItem], True, showSysInfo=True):
+ if not ItemControler.GivePlayerItem(curPlayer, itemID, itemCnt, 0, [IPY_GameWorld.rptItem]):
playerID = curPlayer.GetPlayerID()
GameWorld.ErrLog("OnGetXMZZPrizeResult(), give item itemid:%s,count:%s" % (itemID, itemCnt), playerID)
@@ -534,9 +533,9 @@
lastStartTime = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_XMZZLastStartTime)
curTime = int(time.time())
costTime = (curTime-lastStartTime)*1000
- overDict = {FBCommon.Over_score:addScore, FBCommon.Over_extrScore:updExtraScore,
+ overDict = {FBCommon.Over_score:updScore, FBCommon.Over_extrScore:updExtraScore,
FBCommon.Over_extraExp:updExtraExp, FBCommon.Over_extraExpPoint:updExtraExpPoint,
- FBCommon.Over_exp:exp, FBCommon.Over_expPoint:expPoint, FBCommon.Over_costTime:costTime,
+ FBCommon.Over_exp:updExp, FBCommon.Over_expPoint:updExpPoint, FBCommon.Over_costTime:costTime,
'conWinCnt':conWinCnt}
FBCommon.NotifyFBOver(curPlayer, ChConfig.Def_FBMapID_XMZZ, 0, isWin, overDict)
PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_XMZZLastStartTime, 0)
--
Gitblit v1.8.0