* Fixed the error that the CP and IV% formulas were not referring to the correct IV cells for the following Pokémons on the same sheet.

* Advanced to version 0.8.1
This commit is contained in:
2017-11-29 12:49:43 +08:00
parent 787acb12bf
commit cfefc23df1
4 changed files with 9 additions and 9 deletions

View File

@ -244,9 +244,9 @@ Sub subCreateReport ( _
' Fills in the CP calculation.
For nI = 0 To UBound (maIVs)
sCPM = fnGetCPMFormula (maIVs (nI).fLevel)
sColIVAttack = "G" & (nI + 2)
sColIVDefense = "H" & (nI + 2)
sColIVStamina = "I" & (nI + 2)
sColIVAttack = "G" & (nStartRow + nI + 1)
sColIVDefense = "H" & (nStartRow + nI + 1)
sColIVStamina = "I" & (nStartRow + nI + 1)
oCell = oSheet.getCellByPosition (nLeadCols - 1, nStartRow + nI)
sFormula = "=(" & sColIVAttack & "+" & sColIVDefense _