예제 #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)