示例#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)