xdh
2019-04-25 88650853f1898815f4612280dd2ffc85af9ddd80
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py
@@ -1455,6 +1455,11 @@
                        ("DWORD", "BuffID", 0),
                        ("WORD", "BuffCD", 0),
                        ),
                "SkillElement":(
                        ("DWORD", "ElementSkillID", 1),
                        ("DWORD", "MainSkillID", 0),
                        ),
                }
@@ -4454,6 +4459,17 @@
    def GetBuffID(self): return self.BuffID # BuffID
    def GetBuffCD(self): return self.BuffCD # 间隔时间s
# 技能升级表
class IPY_SkillElement():
    def __init__(self):
        self.ElementSkillID = 0
        self.MainSkillID = 0
        return
    def GetElementSkillID(self): return self.ElementSkillID # 专精技能ID
    def GetMainSkillID(self): return self.MainSkillID # 主技能ID
def Log(msg, playerID=0, par=0):
    LogUI.Msg("%s\t%s\t%s" % (par, playerID, msg))
@@ -4774,6 +4790,8 @@
        self.ipyFairyDomainAppointLen = len(self.ipyFairyDomainAppointCache)
        self.ipyFBBuyBuffCache = self.__LoadFileData("FBBuyBuff", IPY_FBBuyBuff)
        self.ipyFBBuyBuffLen = len(self.ipyFBBuyBuffCache)
        self.ipySkillElementCache = self.__LoadFileData("SkillElement", IPY_SkillElement)
        self.ipySkillElementLen = len(self.ipySkillElementCache)
        Log("IPY_FuncConfig count=%s" % len(self.ipyFuncConfigDict))
        Log("IPY_DataMgr InitOK!")
        return
@@ -5236,6 +5254,8 @@
    def GetFairyDomainAppointByIndex(self, index): return self.ipyFairyDomainAppointCache[index]
    def GetFBBuyBuffCount(self): return self.ipyFBBuyBuffLen
    def GetFBBuyBuffByIndex(self, index): return self.ipyFBBuyBuffCache[index]
    def GetSkillElementCount(self): return self.ipySkillElementLen
    def GetSkillElementByIndex(self, index): return self.ipySkillElementCache[index]
IPYData = IPY_DataMgr()
def IPY_Data(): return IPYData