| | |
| | | ("BYTE", "LayerCnt", 0),
|
| | | ("BYTE", "LayerMax", 0),
|
| | | ("DWORD", "BuffRepeat", 0),
|
| | | ("DWORD", "DieContinue", 0),
|
| | | ("BYTE", "DispersedLimit", 0),
|
| | | ("DWORD", "FightPower", 0),
|
| | | ("char", "SkillMotionName", 0),
|
| | | ),
|
| | |
| | | def GetLayerCnt(self): return self.attrTuple[34] # Buff层数 BYTE
|
| | | def GetLayerMax(self): return self.attrTuple[35] # 最大层数 BYTE
|
| | | def GetBuffRepeat(self): return self.attrTuple[36] # Buff叠加规则 DWORD
|
| | | def GetDieContinue(self): return self.attrTuple[37] # Buff死亡存在 DWORD
|
| | | def GetDispersedLimit(self): return self.attrTuple[37] # 驱散限制 BYTE
|
| | | def GetFightPower(self): return self.attrTuple[38] # 技能战斗力 DWORD
|
| | | def GetSkillMotionName(self): return self.attrTuple[39] # 技能动作名 char |
| | | |
| | |
| | |
|
| | | def __StrToList(self, strValue):
|
| | | setList = []
|
| | | if (strValue.startswith("[") and strValue.endswith("]")) or (strValue.startswith("(") and strValue.endswith(")")):
|
| | | setList = eval(strValue)
|
| | | elif strValue in ["0", "-", ""]:
|
| | | pass
|
| | | elif strValue.isdigit():
|
| | | setList = (int(strValue),)
|
| | | else:
|
| | | if ChConfig.Def_Str_Montant in strValue: # |分割的优先
|
| | | for value in strValue.split(ChConfig.Def_Str_Montant):
|
| | | if value.isdigit():
|
| | | value = int(value)
|
| | |
| | | setList.append(value)
|
| | | if setList:
|
| | | setList = tuple(setList)
|
| | | elif (strValue.startswith("[") and strValue.endswith("]")) or (strValue.startswith("(") and strValue.endswith(")")):
|
| | | setList = eval(strValue)
|
| | | elif strValue in ["0", "-", ""]:
|
| | | pass
|
| | | elif strValue.isdigit():
|
| | | setList = (int(strValue),)
|
| | | return setList
|
| | |
|
| | | |