From acbbad4fb7e7aff47ce3066d0ec6eccc34b43d30 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期五, 11 一月 2019 10:44:18 +0800
Subject: [PATCH] 5817 【后端】【1.5】限时抢购支持对应不同的职业

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/FunctionNPCCommon.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/FunctionNPCCommon.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/FunctionNPCCommon.py
index de88f3a..37d46ab 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/FunctionNPCCommon.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/FunctionNPCCommon.py
@@ -481,10 +481,10 @@
     jobItemList = ipyData.GetJobItem()
     totalItemList = []
     if itemID:
-        jobItemID = __GetShopJobItem(job, itemID, jobItemList)
+        jobItemID = GetShopJobItem(job, itemID, jobItemList)
         totalItemList.append([jobItemID, itemCount * clientBuyCount, isBind])
     for itemIDEx, itemCountEx, isBindEx in itemListEx:
-        jobItemID = __GetShopJobItem(job, itemIDEx, jobItemList)
+        jobItemID = GetShopJobItem(job, itemIDEx, jobItemList)
         totalItemList.append([jobItemID, itemCountEx * clientBuyCount, isBindEx])
     #允许价钱配置0,用来免费购买
     if not totalItemList:
@@ -603,7 +603,7 @@
         PlayerFairyCeremony.AddFCPartyActionCnt(curPlayer, ChConfig.Def_PPAct_Fireworks, clientBuyCount)
     return
 
-def __GetShopJobItem(job, itemID, jobItemList):
+def GetShopJobItem(job, itemID, jobItemList):
     ## 获取商城物品对应的职业物品, 职业从1开始
     for jobItemIDList in jobItemList:
         if type(jobItemIDList) not in [list, tuple]:

--
Gitblit v1.8.0