#!/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):
|
effEx1 = curEffect.GetEffectValue(0) # Ö§³Ö¶à¸öÊôÐÔ
|
effEx2 = curEffect.GetEffectValue(1) # Ö§³Ö¶à¸öÊôÐÔ
|
for effEX in [effEx1, effEx2]:
|
if not isinstance(effEX, list) or len(effEX) != 3:
|
continue
|
attrID, attrValue, calcType = effEX
|
GameWorld.DebugLogEx("¶îÍâbuffЧ¹ûID/ÊôÐÔIDÖµ: attrID=%s,attrValue=%s,calcType=%s", attrID, attrValue, calcType)
|
connBuff.AddEffectValueEx(attrID, attrValue, calcType)
|
return True
|