Merge branch 'T3DRebalance' of https://github.com/Ebag333/Pyfa into Ebag333-T3DRebalance

This commit is contained in:
blitzman
2016-12-10 01:37:44 -05:00
5 changed files with 44 additions and 5 deletions

View File

@@ -53,3 +53,8 @@ class Mode(ItemAttrShortcut, HandledItem):
for effect in self.item.effects.itervalues():
if effect.runTime == runTime and effect.activeByDefault:
effect.handler(fit, self, context=("module",))
def getValidCharges(self):
# Modes don't have charges, but it is queried for so return nothing.
validCharges = set()
return validCharges