From 3ce8b5df3f2994b94a7103636a7b720f1532fca7 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期四, 25 九月 2025 18:00:54 +0800 Subject: [PATCH] 129 【战斗】战斗系统-服务端(司马微技能;增加效果6014-增加技能概率;) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveTrigger/PassiveEff_5011.py | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveTrigger/PassiveEff_5011.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveTrigger/PassiveEff_5011.py index 3293030..34209f9 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveTrigger/PassiveEff_5011.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveTrigger/PassiveEff_5011.py @@ -18,7 +18,7 @@ import TurnSkill import IpyGameDataPY -def DoSkillEffectLogic(turnFight, batObj, tagObj, effSkill, curEffect, connSkill): +def DoSkillEffectLogic(turnFight, batObj, tagObj, effSkill, curEffect, connSkill, connBuff, **kwargs): skillID = curEffect.GetEffectValue(0) # 技能ID,为0时释放本技能 if not skillID: passiveSkill = effSkill @@ -28,8 +28,8 @@ return effectID = curEffect.GetEffectID() effSkillID = effSkill.GetSkillID() - return TurnSkill.OnUsePassiveSkill(turnFight, batObj, tagObj, passiveSkill, connSkill, effSkillID, effectID) + return TurnSkill.OnUsePassiveSkill(turnFight, batObj, tagObj, passiveSkill, connSkill, effSkillID, effectID, connBuff) -def DoBuffEffectLogic(turnFight, batObj, tagObj, effBuff, curEffect, connSkill): +def DoBuffEffectLogic(turnFight, batObj, tagObj, effBuff, curEffect, connSkill, connBuff, **kwargs): effSkill = effBuff.GetSkillData().GetIpyData() - return DoSkillEffectLogic(turnFight, batObj, tagObj, effSkill, curEffect, connSkill) + return DoSkillEffectLogic(turnFight, batObj, tagObj, effSkill, curEffect, connSkill, connBuff, **kwargs) -- Gitblit v1.8.0