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:
blitzmann
2017-05-06 13:25:20 -04:00
3 changed files with 86 additions and 1 deletions

View File

@@ -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