From 4df232daf6817c19f410e3187b7be7c33c74d9b0 Mon Sep 17 00:00:00 2001 From: xdh <xiefantasy@qq.com> Date: 星期二, 04 六月 2019 11:31:31 +0800 Subject: [PATCH] 6501 修改任务类型 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillModule_9.py | 8 +++++--- 1 files changed, 5 insertions(+), 3 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 4801d83..e1ecd0f 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,7 +65,9 @@ #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