Merge branch 'feature/skill-filter' into dev
Conflicts: gui/characterEditor.py This implements a long-requested feature to be able to search skills in the character editor
This commit is contained in:
@@ -277,6 +277,15 @@ class Character(object):
|
||||
skills.append((skill.ID, skill.name))
|
||||
return skills
|
||||
|
||||
@staticmethod
|
||||
def getSkillsByName(text):
|
||||
items = eos.db.searchSkills(text)
|
||||
skills = []
|
||||
for skill in items:
|
||||
if skill.published is True:
|
||||
skills.append((skill.ID, skill.name))
|
||||
return skills
|
||||
|
||||
@staticmethod
|
||||
def setAlphaClone(char, cloneID):
|
||||
char.alphaCloneID = cloneID
|
||||
|
||||
Reference in New Issue
Block a user