#!/usr/bin/python # -*- coding: GBK -*- #------------------------------------------------------------------------------- # ##@package Skill.PassiveTrigger.PassiveEff_5022 # # @todo:¶îÍâÔö¼ÓbuffЧ¹ûID/ÊôÐÔIDÖµ # @author hxp # @date 2025-10-30 # @version 1.0 # # ÏêϸÃèÊö: ¶îÍâÔö¼ÓbuffЧ¹ûID/ÊôÐÔIDÖµ # #------------------------------------------------------------------------------- #"""Version = 2025-10-30 16:00""" #------------------------------------------------------------------------------- import GameWorld def DoSkillEffectLogic(turnFight, batObj, tagObj, effSkill, curEffect, connSkill, connBuff, **kwargs): effValues = curEffect.GetEffectValues() for index in range(0, len(effValues), 2): attrID = effValues[index] attrValue = effValues[index + 1] if len(effValues) > index + 1 else 0 GameWorld.DebugLog("¶îÍâÔö¼ÓbuffЧ¹ûID/ÊôÐÔIDÖµ: attrID=%s,attrValue=%s" % (attrID, attrValue)) connBuff.AddEffectValueEx(attrID, attrValue) return True