def seeCharacterEngravingPanel(characterId): EraPrint.plittleline() EraPrint.p(TextLoading.getTextData(TextLoading.stageWordPath, '7')) panelState = CacheContorl.panelState['CharacterEngravingPanel'] if panelState == "0": PyCmd.pcmd(panelStateOffText, 'CharacterEngravingPanel') EraPrint.p('\n') characterData = AttrHandle.getAttrData(characterId) characterEngraving = characterData['Engraving'] characterEngravingText = AttrText.getEngravingText(characterEngraving) EraPrint.plist(characterEngravingText, 3, 'center') return 'CharacterEngravingPanel' else: PyCmd.pcmd(panelStateOnText, 'CharacterEngravingPanel') EraPrint.p('\n') return 'CharacterEngravingPanel'
def seeCharacterSexExperiencePanel(characterId: int): ''' 查看角色性经验面板 Keyword arguments: characterId -- 角色Id ''' EraPrint.plittleline() EraPrint.pl(TextLoading.getTextData(TextLoading.stageWordPath, '5')) characterData = CacheContorl.characterData['character'][characterId] characterSexGradeList = characterData.SexGrade characterSex = CacheContorl.characterData['character'][characterId].Sex characterSexGradeTextList = AttrText.getSexGradeTextList( characterSexGradeList, characterSex) EraPrint.plist(characterSexGradeTextList, 4, 'center') EraPrint.pl(TextLoading.getTextData(TextLoading.stageWordPath, '7')) characterEngraving = characterData.Engraving characterEngravingText = AttrText.getEngravingText(characterEngraving) EraPrint.plist(characterEngravingText, 3, 'center')