From 022df2f7485767b90ac67abfcafdb5c0e6af427f Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期三, 05 六月 2019 16:24:26 +0800
Subject: [PATCH] 6603 【后端】【2.0】增加新版的sp和被动技能
---
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