MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / grantMissingSkills

Method grantMissingSkills

gui/characterSelection.py:119–128  ·  view source on GitHub ↗
(self, evt)

Source from the content-addressed store, hash-verified

117 event.Skip()
118
119 def grantMissingSkills(self, evt):
120 charID = self.getActiveCharacter()
121 sChar = Character.getInstance()
122
123 skillsMap = self._buildSkillsTooltipCondensed(self.reqs, skillsMap={})
124
125 for index in skillsMap:
126 sChar.changeLevel(charID, skillsMap[index][1], skillsMap[index][0], ifHigher=True)
127
128 self.refreshCharacterList()
129
130 def getActiveCharacter(self):
131 selection = self.charChoice.GetCurrentSelection()

Callers

nothing calls this directly

Calls 5

getActiveCharacterMethod · 0.95
refreshCharacterListMethod · 0.95
getInstanceMethod · 0.45
changeLevelMethod · 0.45

Tested by

no test coverage detected