From 2638c8b67d1dcac1c774f942ac144579c6f82ec1 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 11 九月 2018 21:41:11 +0800
Subject: [PATCH] 3479 【后端】【主干】【1.0.15】助战发送喊话时新增逻辑(自动加入匹配中的队伍);

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/BaseAttack.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/BaseAttack.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/BaseAttack.py
index 8f294e4..28cfd70 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/BaseAttack.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/BaseAttack.py
@@ -741,13 +741,14 @@
         resultDict[familyID].append(obj)
         
     skillEffect = SkillCommon.GetSkillEffectByEffectID(curSkill, ChConfig.Def_Skill_Effect_AvgHurtFMCnt)
-    minSkillPer = 100   # 如果未配置默认最低值
+    minSkillPer = 0.01   # 如果未配置默认最低值
     if skillEffect:
         minSkillPer = skillEffect.GetEffectValue(0)
         
     attackList = []
     for familyID in resultDict:
         cnt = len(resultDict[familyID]) if familyID != 0 else 1 # 无仙盟承受100%伤害
+        
         skillPercent = max(skillPercent/cnt, minSkillPer)
         attackList.extend(__DoAreaAttack(attacker, curSkill, skillEnhance/cnt, skillPercent, resultDict[familyID],
                                      [], g_skillHurtList, tick))

--
Gitblit v1.8.0