From 552251b8776bb04709b5d3fca1e26238369e3366 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 05 十一月 2019 18:50:11 +0800
Subject: [PATCH] 8321 【主干】【后端】GM工具优化(查询排行榜展示优化)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillModule_20.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillModule_20.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillModule_20.py
index 7b3aa5f..a784c20 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillModule_20.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillModule_20.py
@@ -23,7 +23,7 @@
 ## 群体攻击百分比掉血,被攻击者各自计算百分比
 def UseSkill(attacker, defender, curSkill, tagRoundPosX, tagRoundPosY, isEnhanceSkill, tick):
     skillEffect = curSkill.GetEffect(0)
-    skillPer = skillEffect.GetEffectValue(0)
+    skillPer = skillEffect.GetEffectValue(0) / float(ChConfig.Def_MaxRateValue)
     skillEnhance = skillEffect.GetEffectValue(1)
     
     #---攻击遍历起点优先级 1.找指定点 2.防守者(包括自己)---

--
Gitblit v1.8.0