| | |
| | | import GameWorld
|
| | |
|
| | | def DoSkillEffectLogic(turnFight, batObj, tagObj, effSkill, curEffect, connSkill, connBuff, **kwargs):
|
| | | attrID = curEffect.GetEffectValue(0)
|
| | | attrValue = curEffect.GetEffectValue(1)
|
| | | GameWorld.DebugLog("额外增加buff效果ID/属性ID值: attrID=%s,attrValue=%s" % (attrID, attrValue))
|
| | | connBuff.AddEffectValueEx(attrID, attrValue)
|
| | | 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
|