From 54b3ca452de08e8cf5723a0715cc0c3853c2df3a Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期六, 01 十二月 2018 16:35:48 +0800
Subject: [PATCH] 2549 【BUG】【1.3】玩家登录时过天处理离线期间所获得的助战仙缘币异常
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py | 32 ++++++++++++++++++++++++++++++++
1 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py
index d196599..312d7e5 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py
@@ -465,8 +465,11 @@
"FBHelpBattle":(
("DWORD", "DataMapID", 1),
("BYTE", "LineID", 1),
+ ("DWORD", "FightPowerMin", 0),
("DWORD", "RobotFightPower", 0),
("WORD", "RobotLV", 0),
+ ("DWORD", "RobotBaseHurt", 0),
+ ("WORD", "RobotHPCoefficient", 0),
("dict", "RobotSkillsDict", 0),
),
@@ -1115,6 +1118,12 @@
("BYTE", "Star", 0),
("list", "LVLimit", 0),
("list", "ItemList", 0),
+ ),
+
+ "GodWeaponEffect":(
+ ("BYTE", "GWType", 0),
+ ("WORD", "Level", 0),
+ ("char", "NotifyCode", 0),
),
}
@@ -2020,15 +2029,21 @@
def __init__(self):
self.DataMapID = 0
self.LineID = 0
+ self.FightPowerMin = 0
self.RobotFightPower = 0
self.RobotLV = 0
+ self.RobotBaseHurt = 0
+ self.RobotHPCoefficient = 0
self.RobotSkillsDict = {}
return
def GetDataMapID(self): return self.DataMapID # 数据地图ID
def GetLineID(self): return self.LineID # 功能线路ID
+ def GetFightPowerMin(self): return self.FightPowerMin # 助战最低战力,也是副本保底战力
def GetRobotFightPower(self): return self.RobotFightPower # 助战NPC战力
def GetRobotLV(self): return self.RobotLV # 助战NPC等级
+ def GetRobotBaseHurt(self): return self.RobotBaseHurt # 助战NPC保底伤害
+ def GetRobotHPCoefficient(self): return self.RobotHPCoefficient # 助战NPC生命系数
def GetRobotSkillsDict(self): return self.RobotSkillsDict # 助战NPC技能, {"职业":[技能列表], ...}
# 副本刷怪标识点表
@@ -3392,6 +3407,19 @@
def GetStar(self): return self.Star # 星数
def GetLVLimit(self): return self.LVLimit # 等级范围
def GetItemList(self): return self.ItemList # 奖励
+
+# 神兵特效表
+class IPY_GodWeaponEffect():
+
+ def __init__(self):
+ self.GWType = 0
+ self.Level = 0
+ self.NotifyCode = ""
+ return
+
+ def GetGWType(self): return self.GWType # 神兵类型
+ def GetLevel(self): return self.Level # 神兵等级
+ def GetNotifyCode(self): return self.NotifyCode # 广播
def Log(msg, playerID=0, par=0):
@@ -3625,6 +3653,8 @@
self.ipyMagicWeaponFBLen = len(self.ipyMagicWeaponFBCache)
self.ipyIceLodeStarAwardCache = self.__LoadFileData("IceLodeStarAward", IPY_IceLodeStarAward)
self.ipyIceLodeStarAwardLen = len(self.ipyIceLodeStarAwardCache)
+ self.ipyGodWeaponEffectCache = self.__LoadFileData("GodWeaponEffect", IPY_GodWeaponEffect)
+ self.ipyGodWeaponEffectLen = len(self.ipyGodWeaponEffectCache)
Log("IPY_FuncConfig count=%s" % len(self.ipyFuncConfigDict))
Log("IPY_DataMgr InitOK!")
return
@@ -3999,6 +4029,8 @@
def GetMagicWeaponFBByIndex(self, index): return self.ipyMagicWeaponFBCache[index]
def GetIceLodeStarAwardCount(self): return self.ipyIceLodeStarAwardLen
def GetIceLodeStarAwardByIndex(self, index): return self.ipyIceLodeStarAwardCache[index]
+ def GetGodWeaponEffectCount(self): return self.ipyGodWeaponEffectLen
+ def GetGodWeaponEffectByIndex(self, index): return self.ipyGodWeaponEffectCache[index]
IPYData = IPY_DataMgr()
def IPY_Data(): return IPYData
--
Gitblit v1.8.0