hxp
2019-01-04 223d88c4b42d4541ed743b83cce2bbd4e1bdac59
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py
@@ -1133,6 +1133,12 @@
                        ("dict", "Attr", 0),
                        ),
                "CrossRealmPKDan":(
                        ("BYTE", "DanLV", 1),
                        ("list", "DanLVAwardList", 0),
                        ("list", "SeasonDanLVAwardList", 0),
                        ),
                "GatherSoul":(
                        ("DWORD", "ItemID", 1),
                        ("list", "AttrType", 0),
@@ -1154,6 +1160,12 @@
                        ("dict", "AttrInfo3", 0),
                        ("dict", "AttrInfo4", 0),
                        ("dict", "AttrInfo5", 0),
                        ),
                "MagicWeaponOfKing":(
                        ("DWORD", "MWID", 1),
                        ("BYTE", "AwardMark", 1),
                        ("dict", "AddAttr", 0),
                        ),
                }
@@ -3465,6 +3477,19 @@
    def GetFightPower(self): return self.FightPower # 增加战力
    def GetAttr(self): return self.Attr # 属性加成
# 跨服竞技场段位表
class IPY_CrossRealmPKDan():
    def __init__(self):
        self.DanLV = 0
        self.DanLVAwardList = []
        self.SeasonDanLVAwardList = []
        return
    def GetDanLV(self): return self.DanLV # 段位等级
    def GetDanLVAwardList(self): return self.DanLVAwardList # 段位达标奖励物品列表
    def GetSeasonDanLVAwardList(self): return self.SeasonDanLVAwardList # 赛季段位奖励物品列表
# 聚魂表
class IPY_GatherSoul():
    
@@ -3513,6 +3538,19 @@
    def GetAttrInfo3(self): return self.AttrInfo3 # 多属性系数
    def GetAttrInfo4(self): return self.AttrInfo4 # 初始属性(品质_属性值|…)
    def GetAttrInfo5(self): return self.AttrInfo5 # 阶段系数
# 王者法宝表
class IPY_MagicWeaponOfKing():
    def __init__(self):
        self.MWID = 0
        self.AwardMark = 0
        self.AddAttr = {}
        return
    def GetMWID(self): return self.MWID # 法宝ID
    def GetAwardMark(self): return self.AwardMark # 赛季奖励等级
    def GetAddAttr(self): return self.AddAttr # 属性
def Log(msg, playerID=0, par=0):
@@ -3748,12 +3786,16 @@
        self.ipyIceLodeStarAwardLen = len(self.ipyIceLodeStarAwardCache)
        self.ipyGodWeaponEffectCache = self.__LoadFileData("GodWeaponEffect", IPY_GodWeaponEffect)
        self.ipyGodWeaponEffectLen = len(self.ipyGodWeaponEffectCache)
        self.ipyCrossRealmPKDanCache = self.__LoadFileData("CrossRealmPKDan", IPY_CrossRealmPKDan)
        self.ipyCrossRealmPKDanLen = len(self.ipyCrossRealmPKDanCache)
        self.ipyGatherSoulCache = self.__LoadFileData("GatherSoul", IPY_GatherSoul)
        self.ipyGatherSoulLen = len(self.ipyGatherSoulCache)
        self.ipyGatherSoulCompoundCache = self.__LoadFileData("GatherSoulCompound", IPY_GatherSoulCompound)
        self.ipyGatherSoulCompoundLen = len(self.ipyGatherSoulCompoundCache)
        self.ipyGatherSoulAttrCache = self.__LoadFileData("GatherSoulAttr", IPY_GatherSoulAttr)
        self.ipyGatherSoulAttrLen = len(self.ipyGatherSoulAttrCache)
        self.ipyMagicWeaponOfKingCache = self.__LoadFileData("MagicWeaponOfKing", IPY_MagicWeaponOfKing)
        self.ipyMagicWeaponOfKingLen = len(self.ipyMagicWeaponOfKingCache)
        Log("IPY_FuncConfig count=%s" % len(self.ipyFuncConfigDict))
        Log("IPY_DataMgr InitOK!")
        return
@@ -4130,12 +4172,16 @@
    def GetIceLodeStarAwardByIndex(self, index): return self.ipyIceLodeStarAwardCache[index]
    def GetGodWeaponEffectCount(self): return self.ipyGodWeaponEffectLen
    def GetGodWeaponEffectByIndex(self, index): return self.ipyGodWeaponEffectCache[index]
    def GetCrossRealmPKDanCount(self): return self.ipyCrossRealmPKDanLen
    def GetCrossRealmPKDanByIndex(self, index): return self.ipyCrossRealmPKDanCache[index]
    def GetGatherSoulCount(self): return self.ipyGatherSoulLen
    def GetGatherSoulByIndex(self, index): return self.ipyGatherSoulCache[index]
    def GetGatherSoulCompoundCount(self): return self.ipyGatherSoulCompoundLen
    def GetGatherSoulCompoundByIndex(self, index): return self.ipyGatherSoulCompoundCache[index]
    def GetGatherSoulAttrCount(self): return self.ipyGatherSoulAttrLen
    def GetGatherSoulAttrByIndex(self, index): return self.ipyGatherSoulAttrCache[index]
    def GetMagicWeaponOfKingCount(self): return self.ipyMagicWeaponOfKingLen
    def GetMagicWeaponOfKingByIndex(self, index): return self.ipyMagicWeaponOfKingCache[index]
IPYData = IPY_DataMgr()
def IPY_Data(): return IPYData