From 4bae95f8fc3275b277e8066a3e241d2ef8f4f84d Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 29 一月 2026 14:37:48 +0800
Subject: [PATCH] 423 【内政】命格系统-服务端(B251命格分解增加A814回包,类型27;)

---
 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