First draft of skill view of the character editor, can now switch characters and browse levels

This commit is contained in:
cncfanatics
2010-09-07 19:24:29 +02:00
parent 76764dd4cc
commit d40a796f85
2 changed files with 47 additions and 19 deletions

View File

@@ -51,3 +51,7 @@ class Character():
def getGroupDescription(self, groupID):
return eos.db.getMarketGroup(groupID).description
def getSkillLevel(self, charID, skillID):
skill = eos.db.getCharacter(charID).getSkill(skillID)
return skill.level if skill.learned else "Not learned"