Add ability to look at tactical mode item info.

This commit is contained in:
Ebag333
2016-12-08 13:12:15 -08:00
parent 545c48266c
commit f5776a0cb2
2 changed files with 25 additions and 3 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