From 11fe4059a5f65e1f27d78aa9a8d2a110e8122476 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期四, 11 四月 2019 19:16:13 +0800
Subject: [PATCH] 6457 【后端】【2.0】缥缈仙域开发单(新增表)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py | 26 ++++++++++++++++++++++++++
PySysDB/PySysDBPY.h | 10 ++++++++++
2 files changed, 36 insertions(+), 0 deletions(-)
diff --git a/PySysDB/PySysDBPY.h b/PySysDB/PySysDBPY.h
index a2bcec4..5452aa1 100644
--- a/PySysDB/PySysDBPY.h
+++ b/PySysDB/PySysDBPY.h
@@ -1797,6 +1797,7 @@
DWORD BossID; //副本BossID
BYTE CostEnergy; //消耗体力
BYTE NeedAlchemyLV; //出现的炼丹等级要求
+ list NeedLV; //出现的玩家等级要求
DWORD Weight; //权重
};
@@ -1810,4 +1811,13 @@
list Condition; //条件
list GearAward; //档位奖励
list BasicAward; //保底奖励
+};
+
+//缥缈仙域定制表
+
+struct tagFairyDomainAppoint
+{
+ WORD _Cnt; //次数
+ DWORD OpenServerDay; //事件编号
+ list Award; //定制奖励(没配走正常奖励规则)[[物品ID,数量,是否拍品],..]
};
\ No newline at end of file
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py
index a241056..064f2a2 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py
@@ -1389,6 +1389,7 @@
("DWORD", "BossID", 0),
("BYTE", "CostEnergy", 0),
("BYTE", "NeedAlchemyLV", 0),
+ ("list", "NeedLV", 0),
("DWORD", "Weight", 0),
),
@@ -1399,6 +1400,12 @@
("list", "Condition", 0),
("list", "GearAward", 0),
("list", "BasicAward", 0),
+ ),
+
+ "FairyDomainAppoint":(
+ ("WORD", "Cnt", 1),
+ ("DWORD", "OpenServerDay", 0),
+ ("list", "Award", 0),
),
}
@@ -4252,6 +4259,7 @@
self.BossID = 0
self.CostEnergy = 0
self.NeedAlchemyLV = 0
+ self.NeedLV = []
self.Weight = 0
return
@@ -4262,6 +4270,7 @@
def GetBossID(self): return self.BossID # 副本BossID
def GetCostEnergy(self): return self.CostEnergy # 消耗体力
def GetNeedAlchemyLV(self): return self.NeedAlchemyLV # 出现的炼丹等级要求
+ def GetNeedLV(self): return self.NeedLV # 出现的玩家等级要求
def GetWeight(self): return self.Weight # 权重
# 缥缈奇遇表
@@ -4282,6 +4291,19 @@
def GetCondition(self): return self.Condition # 条件
def GetGearAward(self): return self.GearAward # 档位奖励
def GetBasicAward(self): return self.BasicAward # 保底奖励
+
+# 缥缈仙域定制表
+class IPY_FairyDomainAppoint():
+
+ def __init__(self):
+ self.Cnt = 0
+ self.OpenServerDay = 0
+ self.Award = []
+ return
+
+ def GetCnt(self): return self.Cnt # 次数
+ def GetOpenServerDay(self): return self.OpenServerDay # 事件编号
+ def GetAward(self): return self.Award # 定制奖励(没配走正常奖励规则)[[物品ID,数量,是否拍品],..]
def Log(msg, playerID=0, par=0):
@@ -4591,6 +4613,8 @@
self.ipyFairyDomainLen = len(self.ipyFairyDomainCache)
self.ipyFairyAdventuresCache = self.__LoadFileData("FairyAdventures", IPY_FairyAdventures)
self.ipyFairyAdventuresLen = len(self.ipyFairyAdventuresCache)
+ self.ipyFairyDomainAppointCache = self.__LoadFileData("FairyDomainAppoint", IPY_FairyDomainAppoint)
+ self.ipyFairyDomainAppointLen = len(self.ipyFairyDomainAppointCache)
Log("IPY_FuncConfig count=%s" % len(self.ipyFuncConfigDict))
Log("IPY_DataMgr InitOK!")
return
@@ -5041,6 +5065,8 @@
def GetFairyDomainByIndex(self, index): return self.ipyFairyDomainCache[index]
def GetFairyAdventuresCount(self): return self.ipyFairyAdventuresLen
def GetFairyAdventuresByIndex(self, index): return self.ipyFairyAdventuresCache[index]
+ def GetFairyDomainAppointCount(self): return self.ipyFairyDomainAppointLen
+ def GetFairyDomainAppointByIndex(self, index): return self.ipyFairyDomainAppointCache[index]
IPYData = IPY_DataMgr()
def IPY_Data(): return IPYData
--
Gitblit v1.8.0