Removing debugging

This commit is contained in:
blitzmann
2016-04-28 00:42:09 -04:00
parent 2fc83aa61c
commit 1669a5434c
5 changed files with 1 additions and 15 deletions

View File

@@ -11,6 +11,5 @@ grouped = True
type = "active"
runTime = "late"
def handler(fit, module, context):
print module.getModifiedItemAttr("fighterAbilityMicroWarpDriveSpeedBonus")
module.boostItemAttr("maxVelocity", module.getModifiedItemAttr("fighterAbilityMicroWarpDriveSpeedBonus"))
module.boostItemAttr("signatureRadius", module.getModifiedItemAttr("fighterAbilityMicroWarpDriveSignatureRadiusBonus"), stackingPenalties = True)

View File

@@ -97,7 +97,6 @@ class Fighter(HandledItem, HandledCharge, ItemAttrShortcut, ChargeAttrShortcut):
def __getAbilities(self):
"""Returns list of FighterAbilities that are loaded with data"""
print "getting list of abilities"
return [FighterAbility(effect) for effect in self.item.effects.values()]
def __calculateSlot(self, item):
@@ -168,7 +167,6 @@ class Fighter(HandledItem, HandledCharge, ItemAttrShortcut, ChargeAttrShortcut):
self.DAMAGE_TYPES2, self.DAMAGE_TYPES))
volley *= self.amountActive
print self.getModifiedItemAttr("{}DamageMultiplier".format(ability.attrPrefix))
volley *= self.getModifiedItemAttr("{}DamageMultiplier".format(ability.attrPrefix)) or 1
self.__volley += volley
self.__dps += volley / (cycleTime / 1000.0)

View File

@@ -65,7 +65,6 @@ class ResourcesViewFull(StatsView):
fighter_sizer = getattr(self, "boxSizerFighter")
drone_sizer = getattr(self, "boxSizerDrones")
print drone_sizer
if context != "fighter":
fighter_sizer.ShowItems(False)
drone_sizer.ShowItems(True)
@@ -73,7 +72,6 @@ class ResourcesViewFull(StatsView):
fighter_sizer.ShowItems(True)
drone_sizer.ShowItems(False)
self.panel.Layout()
self.headerPanel.Layout()

View File

@@ -205,13 +205,7 @@ class FighterDisplay(d.Display):
wx.PostEvent(self.mainFrame, mb.ItemSelected(itemID=int(data[1])))
def _merge(self, src, dst):
print "merge fighters {} -> {}".format(src, dst)
raise NotImplementedError()
sFit = service.Fit.getInstance()
fitID = self.mainFrame.getActiveFit()
if sFit.mergeDrones(fitID, self.drones[src], self.drones[dst]):
wx.PostEvent(self.mainFrame, GE.FitChanged(fitID=fitID))
return
'''
DRONE_ORDER = ('Light Scout Drones', 'Medium Scout Drones',

View File

@@ -267,6 +267,3 @@ class DmgPatternEditorDlg(wx.Dialog):
sDP = service.DamagePattern.getInstance()
toClipboard( sDP.exportPatterns() )
self.stNotice.SetLabel("Patterns exported to clipboard")
def contextChanged(self, event):
print "lol"