* 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:
parent
787acb12bf
commit
cfefc23df1
@ -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 _
|
||||
|
@ -2,8 +2,8 @@
|
||||
<description xmlns="http://openoffice.org/extensions/update/2006"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<identifier value="tw.idv.imacat.office.pokemongoiv" />
|
||||
<version value="0.8.0" />
|
||||
<version value="0.8.1" />
|
||||
<update-download>
|
||||
<src xlink:href="https://sourceforge.net/projects/aoo-extensions/files/18585/27/pokemongoiv.oxt" />
|
||||
<src xlink:href="https://sourceforge.net/projects/aoo-extensions/files/18585/29/pokemongoiv.oxt" />
|
||||
</update-download>
|
||||
</description>
|
||||
|
@ -246,9 +246,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 _
|
||||
|
Loading…
Reference in New Issue
Block a user