MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / getMaxVelocity

Method getMaxVelocity

graphs/wrapper.py:57–72  ·  view source on GitHub ↗
(self, extraMultipliers=None, ignoreAfflictors=())

Source from the content-addressed store, hash-verified

55 return ''
56
57 def getMaxVelocity(self, extraMultipliers=None, ignoreAfflictors=()):
58 if self.isFit:
59 if extraMultipliers or ignoreAfflictors:
60 maxVelocity = self.item.ship.getModifiedItemAttrExtended(
61 'maxVelocity',
62 extraMultipliers=extraMultipliers,
63 ignoreAfflictors=ignoreAfflictors)
64 else:
65 maxVelocity = self.item.ship.getModifiedItemAttr('maxVelocity')
66 elif self.isProfile:
67 maxVelocity = self.item.maxVelocity
68 if extraMultipliers:
69 maxVelocity *= calculateMultiplier(extraMultipliers)
70 else:
71 maxVelocity = None
72 return maxVelocity
73
74 def getSigRadius(self, extraMultipliers=None, ignoreAfflictors=()):
75 if self.isFit:

Callers 6

getSubwarpSpeedMethod · 0.80
FitDamageStatsGraphClass · 0.80
getTackledSpeedFunction · 0.80
_getCommonDataMethod · 0.80
_getCommonDataMethod · 0.80

Calls 3

calculateMultiplierFunction · 0.90
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected