From 077a3ca83c6f6cb3bdae3aa66f8876798720e089 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 16 十二月 2025 21:53:05 +0800
Subject: [PATCH] 129 【战斗】战斗系统-服务端(孙尚香全部技能; 增加效果6028;)

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

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveTrigger/PassiveEff_5008.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveTrigger/PassiveEff_5008.py
index f013a6b..eeaaa6b 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveTrigger/PassiveEff_5008.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveTrigger/PassiveEff_5008.py
@@ -17,6 +17,8 @@
 
 import TurnBuff
 import GameWorld
+import TurnPassive
+import ChConfig
 import random
 
 def DoSkillEffectLogic(turnFight, batObj, tagObj, effSkill, curEffect, connSkill, connBuff, **kwargs):
@@ -40,7 +42,11 @@
         return
     
     random.shuffle(tagBuffList) # 随机
-    
+    if changeLayers < len(tagBuffList):
+        # 不足时才额外取其他被动增加的
+        effSkillTypeID = effSkill.GetSkillTypeID()
+        changeLayers += TurnPassive.GetTriggerEffectValue(turnFight, batObj, tagObj, ChConfig.PassiveEff_AddChangeLayers5008, connSkillTypeID=effSkillTypeID, **kwargs)
+        
     changeToLayer = 0
     for tagBuff in tagBuffList:
         if changeLayers <= 0:

--
Gitblit v1.8.0