From 71e78cbced24dd6b70aaa1dca1404ff10087ce3d Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 29 三月 2019 10:54:06 +0800
Subject: [PATCH] 3045 【主干】合服补偿创新号也会收到
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/ClearFruitAttr.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/ClearFruitAttr.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/ClearFruitAttr.py
index ad26787..d90846e 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/ClearFruitAttr.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/ClearFruitAttr.py
@@ -63,6 +63,8 @@
elif limitType == PlayerAttrFruit.Def_LimitType_Attr:
PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_AttrFruitAddValue % itemID, 0)
+ curPlayer.SetDict(ChConfig.Def_PlayerKey_FruitFightPowerEx % (funcIndex), 0)
+
itemData = GameWorld.GetGameData().GetItemByTypeID(itemID)
# 重置该物品所加的属性值
if itemData:
@@ -85,7 +87,7 @@
PlayerControl.PlayerControl(curPlayer).ReCalcAllState()
for itemID, itemCount in giveFruitItemList:
- if not ItemControler.GivePlayerItem(curPlayer, itemID, itemCount, True, [IPY_GameWorld.rptItem]):
+ if not ItemControler.GivePlayerItem(curPlayer, itemID, itemCount, 0, [IPY_GameWorld.rptItem]):
break
GameWorld.DebugAnswer(curPlayer, "OK!")
return
--
Gitblit v1.8.0