From 3c9851cf6305114c7107136d2acb09f1a033f49a Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 21 一月 2026 18:00:38 +0800
Subject: [PATCH] 438 【方案】方案预设-服务端(增加解锁类型2-命格感悟等级;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/TurnBuff.py |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/TurnBuff.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/TurnBuff.py
index b762825..08acc2a 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/TurnBuff.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/TurnBuff.py
@@ -226,6 +226,7 @@
     ownerID = buffOwner.GetID()
     buffID = buff.GetBuffID()
     timing = batObj.GetTiming()
+    skillType = buffSkill.GetSkillType()
     remainTime = buffSkill.GetLastTime()
     remainTime += TurnPassive.GetTriggerEffectValue(turnFight, buffOwner, batObj, ChConfig.PassiveEff_AddBuffTime, buffSkill)
     
@@ -240,7 +241,7 @@
     if curBuffState:
         buffMgr.AddBuffState(curBuffState, buffID)
         
-    if buffSkill.GetSkillType() == ChConfig.Def_SkillType_Halo:
+    if skillType == ChConfig.Def_SkillType_Halo:
         __addHaloBuffEffObjID(curID, buff, skillID, ownerID, haloSrcBuff)
         
     if afterLogic and buffSkill:
@@ -254,6 +255,10 @@
     if curBuffState and IsControlledHardState(curBuffState):
         buffSkill.AddAfterLogic(ChConfig.AfterLogic_TriggerAddBuff, [ChConfig.TriggerWay_BeControlledHard, batObj, buff, buffOwner])
         
+    #添加持续减益buff
+    if skillType == ChConfig.Def_SkillType_LstDepBuff:
+        buffSkill.AddAfterLogic(ChConfig.AfterLogic_TriggerAddBuff, [ChConfig.TriggerWay_AddDOTBuff, batObj, buff, buffOwner])
+        
     return buff
 
 def IsControlledHardState(state):

--
Gitblit v1.8.0