| | |
| | | import GameObj
|
| | | import ChNPC
|
| | | import PassiveBuffEffMng
|
| | | import CalcNoLineEffect
|
| | | import CalcLineEffect
|
| | |
|
| | | import random
|
| | | import math
|
| | |
| | | else:
|
| | | DoNPCAttrStrengthen(curNPC, isReborn)
|
| | |
|
| | | #其他功能属性
|
| | | otherAttrList = [{} for _ in range(4)]
|
| | | #副本增加属性
|
| | | plusAttrDict = FBLogic.CalcFBNPCPlusAttr(curNPC)
|
| | | for attrID, attrValue in plusAttrDict.items():
|
| | | if not attrValue or not attrID:
|
| | | continue
|
| | | PlayerControl.CalcAttrDict_Type(attrID, attrValue, otherAttrList)
|
| | | #GameWorld.DebugLog("NPC plusAttrDict=%s" % plusAttrDict)
|
| | | #GameWorld.DebugLog("NPC otherAttrList=%s" % otherAttrList)
|
| | | CalcNoLineEffect.ChangeNPCAttrInNoLineEffectList(curNPC, otherAttrList[ChConfig.CalcAttr_BattleNoline])
|
| | | CalcLineEffect.ChangeNPCAttrInLineEffectList(curNPC, otherAttrList[ChConfig.CalcAttr_Battle])
|
| | | |
| | | #计算buf对战斗属性的改变
|
| | | allAttrList = SkillShell.CalcBuffer_NPCBattleEffect(curNPC)
|
| | |
|