From 84f9abc7067dde4e6b504a1ba2e9f0600a6de46b Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期二, 12 三月 2019 20:58:56 +0800
Subject: [PATCH] 4042 【后端】【2.0】邮件包含附件时不能删除邮件 - 服务端添加防范
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/UseItem/Item_AddKillBossCnt.py | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/UseItem/Item_AddKillBossCnt.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/UseItem/Item_AddKillBossCnt.py
index a437b28..830b2a4 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/UseItem/Item_AddKillBossCnt.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/UseItem/Item_AddKillBossCnt.py
@@ -10,13 +10,15 @@
# @version 1.0
#
#------------------------------------------------------------------------------
-"""Version = 2017-07-10 19:50"""
+#"""Version = 2017-07-10 19:50"""
#------------------------------------------------------------------------------
#导入
import ItemCommon
import PlayerControl
import ChConfig
import BossHurtMng
+import CrossRealmPlayer
+import ShareDefine
#------------------------------------------------------------------------------
#------------------------------------------------------------------------------
@@ -40,4 +42,8 @@
saveDataDict = {"bossTypeIndex":bossTypeIndex, 'addCnt':addCnt}
ItemCommon.DelItem(curPlayer, curRoleItem, useCnt, True, ChConfig.ItemDel_AddKillBossCnt, saveDataDict)
PlayerControl.NotifyCode(curPlayer, 'WorldBossCountItem', [itemTypeID, bossTypeIndex, addCnt])
+
+ if bossTypeIndex == ShareDefine.Def_Boss_Func_Dogz:
+ setCrossDict = {ChConfig.Def_PDict_Boss_KillCntItemAddCnt % bossTypeIndex:itemAddKillCnt + addCnt}
+ CrossRealmPlayer.SetCrossPlayerNomalDict(curPlayer, setCrossDict, isDelay=False)
return True
--
Gitblit v1.8.0