From b63f2f2458257e9ef4ab67d0a0748fd5ec2948ae Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 30 十月 2019 17:26:40 +0800
Subject: [PATCH] 8318 【恺英】老服创角限制优化

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillModule_9.py |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillModule_9.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillModule_9.py
index c948028..ef800a7 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillModule_9.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillModule_9.py
@@ -48,7 +48,7 @@
     if defender:    # 有目标才算伤害
         
         skillEffect = curSkill.GetEffect(0)
-        skillPer = skillEffect.GetEffectValue(0) / float(ChConfig.Def_MaxRateValue)
+        skillPer = skillEffect.GetEffectValue(0)
         skillEnhance = skillEffect.GetEffectValue(1)
   
         #使用技能,无需提升暴击率
@@ -65,9 +65,8 @@
     #GameWorld.DebugLog("-----技能冲锋模板9 %s %s"%([attacker.GetPosX(), attacker.GetPosY()], [destX, destY]))
     attacker.ChangePos(destX, destY)
 
-    #===========================================================================
-    # if curSkill.GetSkillID() == ChConfig.Def_SkillID_Somersault:
-    #    attacker.SetDict(ChConfig.Def_PlayerKey_SomersaultTime, tick)
-    #===========================================================================
+    if curSkill.GetSkillID() == ChConfig.Def_SkillID_Somersault:
+        attacker.SetDict(ChConfig.Def_PlayerKey_SomersaultTime, tick)
+
     return result
     
\ No newline at end of file

--
Gitblit v1.8.0