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/Player/PlayerGatherSoul.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGatherSoul.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGatherSoul.py
index 4e27ca7..27b7ad0 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGatherSoul.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGatherSoul.py
@@ -78,7 +78,7 @@
         
     soulGrade = ipyData.GetSoulGrade()
     exp *= float(IpyGameDataPY.GetFuncEvalCfg('GatherSoulLevelUp', 5, {}).get(soulGrade, 1))
-    return exp
+    return int(exp)
 
 
 ## 获取聚魂属性数值
@@ -521,8 +521,8 @@
         itemData = GameWorld.GetGameData().GetItemByTypeID(GatherSoulItemID)
         if not itemData:
             continue
-        if itemData.GetType() == ChConfig.Def_ItemType_GatherSoulCore:
-            continue
+#        if itemData.GetType() == ChConfig.Def_ItemType_GatherSoulCore:
+#            continue
         itemColor = itemData.GetItemColor()
         GatherSoulItemPlusLV = ItemControler.GetGatherSoulItemPlusLV(GatherSoulData) + 1 #客户端1开始
         totalLV += GatherSoulItemPlusLV

--
Gitblit v1.8.0