Added column for fighter abilities, fixed some fighter bugs, added some context menus to them

This commit is contained in:
blitzmann
2016-04-28 00:29:25 -04:00
parent b15f9766c1
commit ed6f00a893
7 changed files with 69 additions and 18 deletions

View File

@@ -401,6 +401,13 @@ class Fit(object):
eos.db.commit()
self.recalc(fit)
def changeActiveFighters(self, fitID, fighter, amount):
fit = eos.db.getFit(fitID)
fighter.amountActive = amount
eos.db.commit()
self.recalc(fit)
def removeProjected(self, fitID, thing):
fit = eos.db.getFit(fitID)
if isinstance(thing, eos.types.Drone):