From 2ac66d87afe77a50a301d49a205a4d39cc06c0fd Mon Sep 17 00:00:00 2001 From: Ebag333 Date: Wed, 19 Oct 2016 10:54:59 -0700 Subject: [PATCH] commented out reload as not used --- eos/saveddata/fighterAbility.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/eos/saveddata/fighterAbility.py b/eos/saveddata/fighterAbility.py index c5b9aa1f5..0c830bc40 100644 --- a/eos/saveddata/fighterAbility.py +++ b/eos/saveddata/fighterAbility.py @@ -103,12 +103,16 @@ class FighterAbility(object): @property def cycleTime(self): speed = self.fighter.getModifiedItemAttr("{}Duration".format(self.attrPrefix)) + + # Factor in reload + ''' reload = self.reloadTime - #if self.fighter.owner.factorReload: - # numShots = self.numShots - # # Speed here already takes into consideration reactivation time - # speed = (speed * numShots + reload) / numShots if numShots > 0 else speed + if self.fighter.owner.factorReload: + numShots = self.numShots + # Speed here already takes into consideration reactivation time + speed = (speed * numShots + reload) / numShots if numShots > 0 else speed + ''' return speed