From 00916d353a461680aa6e9f1431a92743b1a3e903 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 28 五月 2019 14:12:38 +0800
Subject: [PATCH] 6970 【2.0】【后端】缥缈仙域仙草园(修复2星灵草园采完后不结算的bug)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTJG.py | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTJG.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTJG.py
index 3b71ffc..d2b1d95 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTJG.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTJG.py
@@ -491,7 +491,7 @@
## 装备一件件给
if ItemCommon.GetIsEquip(curItemData):
for _ in xrange(dropCount):
- curItem = ItemControler.GetOutPutItemObj(itemID, 1, isAuctionItem)
+ curItem = ItemControler.GetOutPutItemObj(itemID, 1, isAuctionItem, curPlayer=curPlayer)
if not curItem:
continue
if not itemControl.PutInItem(IPY_GameWorld.rptItem, curItem, event=[ChConfig.ItemGive_TJGDropItem, False, {}]):
@@ -500,7 +500,7 @@
#记录紫橙装数量用于通知
NoteEquip(curPlayer, curItemData.GetItemColor())
else:
- curItem = ItemControler.GetOutPutItemObj(itemID, dropCount, isAuctionItem)
+ curItem = ItemControler.GetOutPutItemObj(itemID, dropCount, isAuctionItem, curPlayer=curPlayer)
if not curItem:
continue
@@ -946,7 +946,7 @@
ipyDataMgr = IpyGameDataPY.IPY_Data()
- maxMapID = 0
+ maxMapID = 0 # 高级地图按表顺序行排
# ---找到可以挂机的最高级地图---
for i in xrange(ipyDataMgr.GetMapEventPointCount()):
mapInfo = ipyDataMgr.GetMapEventPointByIndex(i)
@@ -958,7 +958,7 @@
# ---判断地图表的任务和等级限制---
mapData = GameWorld.GetGameData().GetChinMap().GetMapByID(mapID)
if not mapData:
- continue
+ continue
enterLV = mapData.GetLV()
if curPlayer.GetLV() < enterLV:
@@ -967,8 +967,6 @@
if missionMapStep < openMapStep:
continue
- if mapID < maxMapID:
- continue
maxMapID = mapID
if not maxMapID:
--
Gitblit v1.8.0