| | |
| | | import PlayerMagicWeapon
|
| | | import time
|
| | | import json
|
| | | import FormulaControl
|
| | | #---------------------------------------------------------------------
|
| | |
|
| | | ##检查玩家是否可以换装
|
| | |
| | | return
|
| | |
|
| | | lv = curPlayer.GetLV()
|
| | | OutOfPrintAttrFormatDict = IpyGameDataPY.GetFuncEvalCfg("OutOfPrintValue", 2, {})
|
| | | for i, attrID in enumerate(OutOfPrintAttrIDList):
|
| | | if str(attrID) not in OutOfPrintAttrFormatDict:
|
| | | continue
|
| | | attrFormat = OutOfPrintAttrFormatDict[str(attrID)]
|
| | | maxOOPValue = OutOfPrintAttrValueList[i]
|
| | | value = eval(IpyGameDataPY.GetFuncCompileCfg("OutOfPrintValue", 1))
|
| | | value = eval(FormulaControl.GetCompileFormula("OutOfPrintAttrFormat_%s" % attrID, attrFormat))
|
| | | GameWorld.DebugLog("加绝版属性: %s +%s" % (attrID, value))
|
| | | PlayerControl.CalcAttrDict_Type(attrID, value, allAttrListOutOfPrintEquip)
|
| | |
|