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

Method maxWarpDistance

eos/saveddata/fit.py:1371–1379  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1369
1370 @property
1371 def maxWarpDistance(self):
1372 capacity = self.ship.getModifiedItemAttr("capacitorCapacity")
1373 mass = self.ship.getModifiedItemAttr("mass")
1374 warpCapNeed = self.ship.getModifiedItemAttr("warpCapacitorNeed")
1375
1376 if not warpCapNeed:
1377 return 0
1378
1379 return capacity / (mass * warpCapNeed)
1380
1381 @property
1382 def capStable(self):

Callers

nothing calls this directly

Calls 1

getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected