From 8bf2e133de607c17a898bec2264f55aa463a3fa7 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期五, 10 五月 2019 16:37:12 +0800
Subject: [PATCH] 6603 【后端】【2.0】增加新版的sp和被动技能 - 4012状态判定增加 查找是否释放者

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/BuffProcess_1033.py |   29 -----------------------------
 1 files changed, 0 insertions(+), 29 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/BuffProcess_1033.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/BuffProcess_1033.py
index 18ebcb4..d22dcbc 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/BuffProcess_1033.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/BuffProcess_1033.py
@@ -40,9 +40,6 @@
     layer = max(curBuff.GetLayer(), 1)
     #单次伤害, 毒有层级的情况
     singleDecHP = curBuff.GetValue()*layer
-    #hurtPer = FindBuffPer(defender, curBuff)    # 找到另外一个buff对中毒的伤害加成
-    
-    #singleDecHP = int((hurtPer + ChConfig.Def_MaxRateValue)*1.0/ChConfig.Def_MaxRateValue*singleDecHP)
     #GameWorld.DebugLog("1033---------%s-%s-%s-%s"%(curBuff.GetValue(), layer, hurtPer, singleDecHP ) )
     #buff拥有者
     buffOwner = SkillCommon.GetBuffOwner(curBuff)
@@ -120,32 +117,6 @@
     return
 
 
-
-# 找到对应加成伤害的毒
-def FindBuffPer(curObj, curBuff):
-    ownerID = curBuff.GetOwnerID()
-    ownerType = curBuff.GetOwnerType()
-    
-    if not ownerType:
-        return 0
-    
-    buffManager = curObj.GetDeBuffState()
-    curEffect, plusValue, skillID = BuffSkill.FindBuffEffectByOwnertID(buffManager, ChConfig.Def_Skill_Effect_ProBloodPer, ownerID, ownerType)
-    if not curEffect:
-        return 0
-    
-    # buff相同归属者的指定buff才有伤害加成
-    for i in range(buffManager.GetBuffCount()):
-        findBuff = buffManager.GetBuff(i)
-        if findBuff.GetBuffID() != skillID:
-            continue
-        if findBuff.GetOwnerID() != ownerID:
-            continue
-        
-        if curEffect.GetEffectValue(1) == curBuff.GetBuffID():
-            return curEffect.GetEffectValue(0)
-
-    return 0
 
     
 

--
Gitblit v1.8.0