From e42a83be74a36868aeaf8e43ee20babb38e0397b Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期日, 14 十二月 2025 18:58:12 +0800
Subject: [PATCH] 129 【战斗】战斗系统-服务端(孙鲁育所有技能;增加效果6025)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/TurnSkill.py |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/TurnSkill.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/TurnSkill.py
index 9b56267..6046bb0 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/TurnSkill.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/TurnSkill.py
@@ -845,8 +845,13 @@
     
     calcCureResults = []
     relativeObj = GetRelativeObj(turnFight, curBatObj)
+    multiValue = 1
+    addCureMulti = TurnPassive.GetTriggerEffectValue(turnFight, curBatObj, None, ChConfig.PassiveEff_AddCureMulti, useSkill)
+    if addCureMulti:
+        multiValue += addCureMulti / 100.0
+        
     for tagBatObj in useSkill.GetTagObjList():
-        cureHP = CalcCureHP(turnFight, curBatObj, tagBatObj, useSkill, relativeObj=relativeObj)
+        cureHP = CalcCureHP(turnFight, curBatObj, tagBatObj, useSkill, relativeObj=relativeObj, multiValue=multiValue)
         poisonCureOwner = GetPoisonCureOwner(tagBatObj)
         calcCureResults.append([tagBatObj, cureHP, poisonCureOwner])
         
@@ -2588,7 +2593,7 @@
     TurnAttack.AddTurnObjCureHP(atkObj, atkObj, suckHP, cureHP)
     return
 
-def CalcCureHP(turnFight, userObj, tagObj, curSkill, relativeObj=None):
+def CalcCureHP(turnFight, userObj, tagObj, curSkill, relativeObj=None, multiValue=1):
     ''' 计算治疗值
     '''
     
@@ -2629,6 +2634,10 @@
         cureHP += cureHPEx
         GameWorld.DebugLogEx("    额外治疗值(%s): cureType=%s,baseValue=%s,skillPer=%s,cureHP=%s", cureHPEx, cureType, baseValue, skillPer, cureHP)
         
+    if multiValue and multiValue != 1:
+        cureHP = int(cureHP * multiValue)
+        GameWorld.DebugLogEx("    治疗倍值: cureHP=%s,multiValue=%s", cureHP, multiValue)
+        
     hurtShareEff = curSkill.GetEffectByID(ChConfig.SkillEff_HurtShare)
     if hurtShareEff:
         tagCnt = max(1, len(curSkill.GetTagObjList()))

--
Gitblit v1.8.0