* 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. ' Fills in the CP calculation.
For nI = 0 To UBound (maIVs) For nI = 0 To UBound (maIVs)
sCPM = fnGetCPMFormula (maIVs (nI).fLevel) sCPM = fnGetCPMFormula (maIVs (nI).fLevel)
sColIVAttack = "G" & (nI + 2) sColIVAttack = "G" & (nStartRow + nI + 1)
sColIVDefense = "H" & (nI + 2) sColIVDefense = "H" & (nStartRow + nI + 1)
sColIVStamina = "I" & (nI + 2) sColIVStamina = "I" & (nStartRow + nI + 1)
oCell = oSheet.getCellByPosition (nLeadCols - 1, nStartRow + nI) oCell = oSheet.getCellByPosition (nLeadCols - 1, nStartRow + nI)
sFormula = "=(" & sColIVAttack & "+" & sColIVDefense _ sFormula = "=(" & sColIVAttack & "+" & sColIVDefense _

View File

@ -1 +1 @@
0.8.0 0.8.1

View File

@ -2,8 +2,8 @@
<description xmlns="http://openoffice.org/extensions/update/2006" <description xmlns="http://openoffice.org/extensions/update/2006"
xmlns:xlink="http://www.w3.org/1999/xlink"> xmlns:xlink="http://www.w3.org/1999/xlink">
<identifier value="tw.idv.imacat.office.pokemongoiv" /> <identifier value="tw.idv.imacat.office.pokemongoiv" />
<version value="0.8.0" /> <version value="0.8.1" />
<update-download> <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> </update-download>
</description> </description>

View File

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