| | |
| | | paramDict["AtkReplyCoefficient"])) # 怪物攻击回复调整值
|
| | | MonterHurt = eval(FormulaControl.GetCompileFormula("NPCParam_MonterHurt", paramDict["MonterHurt"])) # 怪物固定伤害
|
| | | LostHPPerSecond = eval(FormulaControl.GetCompileFormula("NPCParam_LostHPPerSecond", paramDict["LostHPPerSecond"])) # 玩家每秒掉血量
|
| | | |
| | | attrStrengthenList = attrStrengthenDict.get(strengthenIpyData.GetLVStrengthenMark(), [])
|
| | | LVStrengthenMark = strengthenIpyData.GetLVStrengthenMark()
|
| | | attrStrengthenList = attrStrengthenDict.get(LVStrengthenMark, [])
|
| | | for attrKey, strengthenFormat in attrStrengthenList:
|
| | | strengthenValue = int(eval(FormulaControl.GetCompileFormula("NPCStrengthen_%s" % attrKey, strengthenFormat)))
|
| | | strengthenValue = int(eval(FormulaControl.GetCompileFormula("NPCStrengthen_%s_%s" % (attrKey,LVStrengthenMark), strengthenFormat)))
|
| | | #GameWorld.DebugLog(" %s=%s" % (attrKey, strengthenValue))
|
| | | locals()[attrKey] = strengthenValue # 创建该属性局部变量作为参数提供给后面属性计算时用
|
| | | attrDict[attrKey] = strengthenValue
|