| | |
| | |
|
| | | import GameWorld
|
| | | import ChConfig
|
| | |
|
| | | import BaseAttack
|
| | |
|
| | |
|
| | | ## buff线性增加属性
|
| | |
| | | def OnCalcBuffEx(defender, curEffect, calcDict, curBuff):
|
| | | attrType = curEffect.GetEffectValue(0)
|
| | |
|
| | | calcDict[attrType] = calcDict.get(attrType, 0) + curEffect.GetEffectValue(1)*curBuff.GetValue(0)
|
| | | calcDict[attrType] = calcDict.get(attrType, 0) + curEffect.GetEffectValue(1)*curBuff.GetValue()
|
| | | return
|
| | |
|
| | |
|
| | |
| | |
|
| | |
|
| | | def CalcBuffValue(attacker, defender, curSkill, changeBuffValueDict):
|
| | | return [GameWorld.GetGameWorld().GetTick()]
|
| | | # 被动1304赋值
|
| | | cnt = attacker.GetDictByKey("1304HitCnt")
|
| | | attacker.SetDict("1304HitCnt", 0)
|
| | | return [cnt]
|
| | |
|