From d0f353b00a2a805b3327e9fd7f49d55dcc0ec39a Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期四, 11 七月 2019 13:44:55 +0800 Subject: [PATCH] 7954 【主干】【后端】跨服PVP匹配机器人规则优化(改为由跨服服务器决定是否匹配机器人) --- ServerPython/CoreServerGroup/GameServer/Script/IpyGameDataPY.py | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ServerPython/CoreServerGroup/GameServer/Script/IpyGameDataPY.py b/ServerPython/CoreServerGroup/GameServer/Script/IpyGameDataPY.py index 91b57c2..6a43b21 100644 --- a/ServerPython/CoreServerGroup/GameServer/Script/IpyGameDataPY.py +++ b/ServerPython/CoreServerGroup/GameServer/Script/IpyGameDataPY.py @@ -432,6 +432,8 @@ ("BYTE", "DanLV", 1), ("WORD", "LVUpScore", 0), ("list", "MatchRange", 0), + ("BYTE", "MatchRobotRate", 0), + ("BYTE", "MatchRobotRateEx", 0), ), "CrossPenglaiZoneMap":( @@ -1370,12 +1372,16 @@ def __init__(self): self.DanLV = 0 self.LVUpScore = 0 - self.MatchRange = [] + self.MatchRange = [] + self.MatchRobotRate = 0 + self.MatchRobotRateEx = 0 return def GetDanLV(self): return self.DanLV # 段位等级 def GetLVUpScore(self): return self.LVUpScore # 升段位所需积分 - def GetMatchRange(self): return self.MatchRange # 可匹配到的玩家段位区间 [从段位A, 到段位B],配[]代表只匹配本段位的 + def GetMatchRange(self): return self.MatchRange # 可匹配到的玩家段位区间 [从段位A, 到段位B],配[]代表只匹配本段位的 + def GetMatchRobotRate(self): return self.MatchRobotRate # 匹配机器人基础概率,百分率 + def GetMatchRobotRateEx(self): return self.MatchRobotRateEx # 匹配机器人失败次数附加概率,百分率 # 跨服Boss蓬莱仙境分区地图表 class IPY_CrossPenglaiZoneMap(): -- Gitblit v1.8.0