From e181cc98f82452a92f8657c8dea67a33c942004a Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 10 一月 2025 18:12:25 +0800
Subject: [PATCH] 10361 【越南】【英语】【BT】【砍树】仙匠大会 - 服务端(无战令数据时防范报错)
---
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