From c5731326acc36a3cfc6870ddb51ce2cc86e2cdc5 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 09 一月 2025 17:00:16 +0800
Subject: [PATCH] 10361 【越南】【英语】【BT】【砍树】仙匠大会 - 服务端
---
Tool/RobotTest/DataReader/MapEventPointReader.py | 22 ++++------------------
1 files changed, 4 insertions(+), 18 deletions(-)
diff --git a/Tool/RobotTest/DataReader/MapEventPointReader.py b/Tool/RobotTest/DataReader/MapEventPointReader.py
index 6975fbf..ab4f8cb 100644
--- a/Tool/RobotTest/DataReader/MapEventPointReader.py
+++ b/Tool/RobotTest/DataReader/MapEventPointReader.py
@@ -17,33 +17,19 @@
class MapEventPoint():
def __init__(self):
- #int int int int int int int int string string string
- self.Key = 0
self.MapID = 0
self.NPCID = 0
- self.IsShowInfo = 0
- self.Colour = 0
self.LowLV = 0
self.HighestLV = 0
self.Defense = 0
- self.Drop1 = ""
- self.Drop2 = ""
- self.EXP = ""
- self.count = 12
def ReadFromList(self, curList):
- self.Key = CommFunc.ToIntDef(curList[0])
self.MapID = CommFunc.ToIntDef(curList[1])
self.NPCID = CommFunc.ToIntDef(curList[2])
- self.IsShowInfo = CommFunc.ToIntDef(curList[3])
- self.Colour = CommFunc.ToIntDef(curList[4])
- self.LowLV = CommFunc.ToIntDef(curList[5])
- self.HighestLV = CommFunc.ToIntDef(curList[6])
- self.Defense = CommFunc.ToIntDef(curList[7])
- self.Drop1 = CommFunc.ToIntDef(curList[8])
- self.Drop2 = CommFunc.ToIntDef(curList[9])
- self.EXP = CommFunc.ToIntDef(curList[10])
+ self.LowLV = CommFunc.ToIntDef(curList[7])
+ self.HighestLV = CommFunc.ToIntDef(curList[8])
+ self.Defense = CommFunc.ToIntDef(curList[9])
return
@@ -101,6 +87,7 @@
classObj.ReadFromList(lineList)
self.__NPCPoint[classObj.NPCID] = classObj
+
return
@@ -121,7 +108,6 @@
if maxlv < point.LowLV:
maxlv = point.LowLV
pointNPCID = point.NPCID
-
npcPoint = self.__NPCPoint.get(pointNPCID, None)
if not npcPoint:
--
Gitblit v1.8.0