hxp
2025-07-29 30a4b0bd9f63d27e633c5b3aac319eafb03ebf1e
Tool/Robot/DataReader/ChinMapReader.py
@@ -17,12 +17,9 @@
# 1. 构建表
## 改成读取服务器表
class ChinMapData():
    def __init__(self):
        #MapID    Name    Country    LV    ExistTime    MapFBType    AutoSize    Period    PeriodValue1    PeriodHour1
        #PeriodMinute1    PeriodValue2    PeriodHour2    PeriodMinute2    LocalReborn    SkillReborn    RebornMap
        #RebornMapX    RebornMapY    CanRide    CanOutPet    TreasureID
        self.MapID = 0
        self.LV = 0    
        self.TreasureID = 0  
@@ -59,6 +56,7 @@
            self.__Table.append(classObj)
            
    def FindMaxMapID(self, lv, fbID):
        # 地图顺序即
        maxMapID = self.__Table[0].MapID    # 默认第一张地图
        for mapData in self.__Table:
@@ -72,7 +70,7 @@
            if mapData.TreasureID != 0 and fbID < mapData.TreasureID:
                continue
            
            maxMapID = max(mapData.MapID, maxMapID)
            maxMapID = mapData.MapID
        
        return maxMapID