From 21de130631a10fd9fe1c8042bef4700fa388c48e Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期二, 28 五月 2019 15:09:35 +0800
Subject: [PATCH] 6501 宝石数量获取修改

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

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/Operate_EquipStone.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/Operate_EquipStone.py
index fc67321..3753724 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/Operate_EquipStone.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/Operate_EquipStone.py
@@ -315,11 +315,10 @@
     ##指定等级的宝石数量
     cnt = 0
     holeIndexList = GetAllEquipPlaceHoleIndex()
-    maxHoleCount = len(holeIndexList)
     equipIndexList = GetAllStoneEquipIndexList()
     gameData = GameWorld.GetGameData()
     for equipIndex in equipIndexList:
-        for holeIndex in xrange(maxHoleCount):
+        for holeIndex in holeIndexList:
             curGemID = GetEquipIndexStoneIDAndIsBand(curPlayer, equipIndex, holeIndex)[0]
             if curGemID == 0:
                 continue

--
Gitblit v1.8.0