Minor style fixes

This commit is contained in:
DarkPhoenix
2019-08-03 01:27:21 +03:00
parent 1ff7bdf1a7
commit d2b71d97d2
2 changed files with 4 additions and 4 deletions

View File

@@ -48,14 +48,14 @@ class Time2CapRegenGetter(SmoothPointGetter):
def _calculatePoint(self, x, miscParams, fit, tgt, commonData):
time = x
currentCapAmount = calculateCapAmount(
capAmount = calculateCapAmount(
maxCapAmount=commonData['maxCapAmount'],
capRegenTime=commonData['capRegenTime'],
time=time)
capRegen = calculateCapRegen(
maxCapAmount=commonData['maxCapAmount'],
capRegenTime=commonData['capRegenTime'],
currentCapAmount=currentCapAmount)
currentCapAmount=capAmount)
return capRegen

View File

@@ -48,14 +48,14 @@ class Time2ShieldRegenGetter(SmoothPointGetter):
def _calculatePoint(self, x, miscParams, fit, tgt, commonData):
time = x
currentShieldAmount = calculateShieldAmount(
shieldAmount = calculateShieldAmount(
maxShieldAmount=commonData['maxShieldAmount'],
shieldRegenTime=commonData['shieldRegenTime'],
time=time)
shieldRegen = calculateShieldRegen(
maxShieldAmount=commonData['maxShieldAmount'],
shieldRegenTime=commonData['shieldRegenTime'],
currentShieldAmount=currentShieldAmount)
currentShieldAmount=shieldAmount)
return shieldRegen