From 1805ff4886157bd46f68916dedfff0fc67f5c543 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期三, 11 八月 2021 18:22:36 +0800 Subject: [PATCH] 9134 【BT3】【主干】新增物品获得活动积分(增加直接给货币物品类型65,A值数量,B值货币类型) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/MakeItemCount.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/MakeItemCount.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/MakeItemCount.py index 973cb4a..319702e 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/MakeItemCount.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/MakeItemCount.py @@ -51,7 +51,7 @@ if not itemData: GameWorld.DebugAnswer(curPlayer, '该物品不存在 = %s' % (itemID)) return - if itemID in ChConfig.Def_TransformItemIDList: + if itemID in ChConfig.Def_TransformItemIDList or itemData.GetType() == ChConfig.Def_ItemType_AutoUseMoney: curItem = ItemControler.GetOutPutItemObj(itemID, itemCount, curPlayer=curPlayer) PlayerItemControler = ItemControler.PlayerItemControler(curPlayer) if not PlayerItemControler.PutInItem(IPY_GameWorld.rptItem, curItem, event=event): -- Gitblit v1.8.0