From 11567f95682fc68fae07fbea58fb29a4173e68b6 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 19 十二月 2025 17:23:47 +0800
Subject: [PATCH] 129 【战斗】战斗系统-服务端(貂蝉、吕布部分潜能;)

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