From 91b977d74b2289c46ae5b52622182085cb5ce3bf Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期四, 20 六月 2019 17:23:44 +0800
Subject: [PATCH] 6603 【后端】【2.0】增加新版的sp和被动技能 - 专精暴击关联技能

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/AttackCommon.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/AttackCommon.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/AttackCommon.py
index 0a6a433..fca9730 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/AttackCommon.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/AttackCommon.py
@@ -1404,9 +1404,9 @@
     aSuperHitRate = atkObj.GetSuperHitRate()
     dSuperHitRateReduce = PlayerControl.GetSuperHitRateReduce(defObj)
     superHitRate = eval(ReadChConfig.GetChConfig("CalcSuperHitRate"))
-    superHitRate += PassiveBuffEffMng.GetValueByPassiveBuffTriggerType(atkObj, defObj, None, 
+    superHitRate += PassiveBuffEffMng.GetValueByPassiveBuffTriggerType(atkObj, defObj, curSkill, 
                                                                        ChConfig.TriggerType_Buff_AddSuperHitRate)
-    superHitRate += PassiveBuffEffMng.GetPassiveSkillValueByTriggerType(atkObj, defObj, None, 
+    superHitRate += PassiveBuffEffMng.GetPassiveSkillValueByTriggerType(atkObj, defObj, curSkill, 
                                                                        ChConfig.TriggerType_Buff_AddSuperHitRate)
     if superHitRate <= 0:
         return

--
Gitblit v1.8.0