From 62e250b4736e682b3d466ef29667ad1ab9bd759e Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期二, 22 十月 2019 18:06:33 +0800 Subject: [PATCH] 8311 【恺英】【后端】新增装备评分参数(攻生命百分比,技能加减,法宝技能加减,技能CD减免) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py | 12 +++--------- 1 files changed, 3 insertions(+), 9 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py index 51c2515..7b83e00 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py @@ -6418,15 +6418,9 @@ def GetAtkBackMPPer(curPlayer): return 0 def SetAtkBackMPPer(curPlayer, value): return -## 玩家减技能CD值 -def GetReduceSkillCD(curPlayer): return curPlayer.GetBattleValEx3() -def SetReduceSkillCD(curPlayer, reduceSkillCD): - curPlayer.SetBattleValEx3(reduceSkillCD) - reducePerFormat = ReadChConfig.GetChConfig("SkillCDReducePer") - reducePer = eval(reducePerFormat) - curPlayer.SetDict(ChConfig.Def_PlayerKey_ReduceSkillCDPer, reducePer) - return -def GetReduceSkillCDPer(curPlayer): return curPlayer.GetDictByKey(ChConfig.Def_PlayerKey_ReduceSkillCDPer) +## 玩家减技能CD比例 +def GetReduceSkillCDPer(curPlayer): return curPlayer.GetBattleValEx3() +def SetReduceSkillCDPer(curPlayer, reducePer): return curPlayer.SetBattleValEx3(reducePer) ## 常规地图经验倍率加成 def GetCommMapExpRate(curPlayer): -- Gitblit v1.8.0