| | |
| | |
|
| | | #成就完成进度
|
| | | def GetSuccValue(curPlayer, succType, conds):
|
| | | condition = "" if not conds else str(conds).replace(" ", "")[1:-1]
|
| | | condition = "" if not conds else str(list(conds)).replace(" ", "")[1:-1]
|
| | | return curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_SuccessValue % (succType, condition))
|
| | | def SetSuccValue(curPlayer, succType, conds, value):
|
| | | condition = "" if not conds else str(conds).replace(" ", "")[1:-1]
|
| | | condition = "" if not conds else str(list(conds)).replace(" ", "")[1:-1]
|
| | | PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_SuccessValue % (succType, condition), value)
|
| | | return
|
| | |
|