Merge branch 'feature/sec-status-change' into dev
Add ability to change characters sec status
This commit is contained in:
@@ -279,6 +279,11 @@ class Character(object):
|
||||
char.alphaCloneID = cloneID
|
||||
eos.db.commit()
|
||||
|
||||
@staticmethod
|
||||
def setSecStatus(char, secStatus):
|
||||
char.secStatus = secStatus
|
||||
eos.db.commit()
|
||||
|
||||
@staticmethod
|
||||
def getSkillDescription(itemID):
|
||||
return eos.db.getItem(itemID).description
|
||||
@@ -290,7 +295,7 @@ class Character(object):
|
||||
@staticmethod
|
||||
def getSkillLevel(charID, skillID):
|
||||
skill = eos.db.getCharacter(charID).getSkill(skillID)
|
||||
return skill.level if skill.learned else "Not learned", skill.isDirty
|
||||
return float(skill.level) if skill.learned else "Not learned", skill.isDirty
|
||||
|
||||
@staticmethod
|
||||
def getDirtySkills(charID):
|
||||
|
||||
Reference in New Issue
Block a user