From ad26af07b15757b4a85ec056a2c8d2a0f8e7e133 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期六, 22 九月 2018 01:40:15 +0800
Subject: [PATCH] 3798 【后端】运营活动时间优化,开服日常限时活动定制时间优化(修复活动日期相连时活动时间异常bug)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py |   15 +++------------
 1 files changed, 3 insertions(+), 12 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py
index 5dc1f5b..99e5fb4 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py
@@ -32,7 +32,6 @@
 import ReadChConfig
 import DataRecordPack
 import ChItem
-import SkillDataBoost
 import PlayerActivity
 import ShareDefine
 import PlayerGodWeapon
@@ -930,7 +929,8 @@
         return
 
     if not CheckClientAttackTick(curPlayer, clientTick, tick):
-        AttackFailNotify(curPlayer, curSkill, ChConfig.SkillFail_AtkInterval)   
+        AttackFailNotify(curPlayer, curSkill, ChConfig.SkillFail_AtkInterval)  
+        curPlayer.Sync_ClientTick() 
         return
 
     #已经在攻击中
@@ -2993,14 +2993,6 @@
 # @return 概率
 def GetSkillOfSeriesHitRate(attacker, defender, exSkill):
     baseRate = exSkill.GetHappenRate()
-    #===========================================================================
-    # addRate = SkillDataBoost.GetSkillBoostValeByType(attacker, exSkill, ChConfig.BoostType_HappenRate)
-    # weakRate = 0
-    # if defender:
-    #    weakRate = SkillDataBoost.GetSkillWeakenValeByType(defender, exSkill, ChConfig.WeakenType_HappenRate)
-    # hitRate = max(0, baseRate + addRate - weakRate)
-    #===========================================================================
-    #GameWorld.DebugLog("触发几率: base=%s,add=%s,weak=%s, hitRate=%s" % (baseRate, addRate, weakRate, hitRate))
     return baseRate
 
 ##检查触发技能的使用条件
@@ -3124,7 +3116,6 @@
         tagRoundPosX = attacker.GetPosX()
         tagRoundPosY = attacker.GetPosY()
         
-    #curSkill = SkillDataBoost.ChangeSkillData(attacker, defender, curSkill, isEnhanceSkill)
     
     #这个技能是Buff
     if SkillCommon.IsBuff(curSkill):
@@ -3241,7 +3232,7 @@
     
     moduleSuffix = GetBuffModuleSuffix(curEffect)
     
-    changeBuffValueDict = {}#SkillDataBoost.GetBuffValueDict(curSkill, effectID)
+    changeBuffValueDict = {}
     
     #是否是持续性技能
     if curSkill.GetSkillType() in ChConfig.Def_LstBuff_List:

--
Gitblit v1.8.0