hch
2019-05-15 ca8b0b80370b2b5ac70354b243252839908930b1
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: