From e36d3d08ba14c81bfc159a2797d7c36b5f159ebc Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 18 十月 2019 13:29:08 +0800
Subject: [PATCH] 4597 【主干】拍品装备无法兑换活跃令(拍品改为可兑换)

---
 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