Пример #1
0
 def GetPowerOutput(self):
     ghostTypeID = self.GetGhostFittedTypeID()
     fittingChanges = FittingStatsChanges(ghostTypeID)
     powerOutput = self.GetAttribute(const.attributePowerOutput)
     multiplyPower = fittingChanges.GetMultiplyPower()
     xtraPower = fittingChanges.GetExtraPower()
     return ModifiedAttribute(value=powerOutput, multiplier=multiplyPower, addition=xtraPower)
Пример #2
0
 def UpdateCargoSpace(self):
     typeID = self.controller.GetGhostFittedTypeID()
     fittingChanges = FittingStatsChanges(typeID)
     xtraCargoSpace = fittingChanges.GetExtraCargoSpaceMultiplier()
     self.Update(xtraCargoSpace)
Пример #3
0
 def GetCalibrationOutput(self):
     fittingChanges = FittingStatsChanges(self.GetGhostFittedTypeID())
     calibrationOutput = self.GetAttribute(const.attributeUpgradeCapacity)
     return ModifiedAttribute(value=calibrationOutput)
Пример #4
0
 def GetCalibrationLoad(self):
     fittingChanges = FittingStatsChanges(self.GetGhostFittedTypeID())
     calibrationLoad = self.GetAttribute(const.attributeUpgradeLoad)
     caliXtraLoad = fittingChanges.GetExtraCalibrationLoad()
     return ModifiedAttribute(value=calibrationLoad, addition=caliXtraLoad, higherIsBetter=False)
Пример #5
0
 def GetCPUOutput(self):
     fittingChanges = FittingStatsChanges(self.GetGhostFittedTypeID())
     cpuOutput = self.GetAttribute(const.attributeCpuOutput)
     multiplyCpu = fittingChanges.GetMultiplyCpu()
     xtraCpu = fittingChanges.GetExtraCpu()
     return ModifiedAttribute(value=cpuOutput, multiplier=multiplyCpu, addition=xtraCpu)
Пример #6
0
 def GetCPULoad(self):
     fittingChanges = FittingStatsChanges(self.GetGhostFittedTypeID())
     cpuLoad = self.GetAttribute(const.attributeCpuLoad)
     xtraCpuLoad = fittingChanges.GetExtraCpuLoad()
     return ModifiedAttribute(value=cpuLoad, addition=xtraCpuLoad, higherIsBetter=False)