Added No.174 Igglybuff. Fixed the legal range of HP from 10 to 500 (was from 0 to 200). Fixed the error when the Pokémon has no evolution form. Advanced the version number to 0.2.5.

This commit is contained in:
依瑪貓 2016-12-15 16:56:47 +08:00
parent 6965883232
commit ccb0b62b98
8 changed files with 37 additions and 25 deletions

View File

@ -547,6 +547,7 @@ Function fnFindIV ( _
End If
subReadStarDust
nEvolved = UBound (aBaseStats.mEvolved)
If nEvolved > -1 Then
ReDim Preserve maEvBaseStats (nEvolved) As New aStats
For nI = 0 To nEvolved
aTempStats = fnGetBaseStats (aBaseStats.mEvolved (nI))
@ -556,6 +557,7 @@ Function fnFindIV ( _
.nStamina = aTempStats.nStamina
End With
Next nI
End If
nN = -1
For fLevel = 1 To UBound (mStarDust) Step fStep
If mStarDust (CInt (fLevel - 0.5)) = aQuery.nStarDust Then

View File

@ -13,7 +13,7 @@
' limitations under the License.
' 1Data: The Pokémon GO data for IV calculation
' by imacat <imacat@mail.imacat.idv.tw>, 2016-12-06
' by imacat <imacat@mail.imacat.idv.tw>, 2016-12-15
' Generated with 9Load.subReadDataSheets ()
Option Explicit
@ -171,7 +171,8 @@ Function fnGetBaseStatsData As Variant
Array ("Dragonair", "148", 122, 163, 138, Array ("Dragonite")), _
Array ("Dragonite", "149", 182, 263, 201, Array ()), _
Array ("Mewtwo", "150", 212, 330, 200, Array ()), _
Array ("Mew", "151", 200, 210, 209, Array ()))
Array ("Mew", "151", 200, 210, 209, Array ()), _
Array ("Igglybuff", "174", 180, 69, 34, Array ("Jigglypuff", "Wigglytuff")))
End Function
' fnGetCPMData: Returns the combat power multiplier data.

View File

@ -1 +1 @@
0.2.4
0.2.5

View File

@ -824,6 +824,11 @@
<value>%origin%/icons/pokemons/mew.png</value>
</prop>
</node>
<node oor:name="PokemonIgglybuff" oor:op="replace">
<prop oor:name="Url" oor:type="xs:string" oor:localized="true">
<value>%origin%/icons/pokemons/igglybuff.png</value>
</prop>
</node>
</node>
<!-- Localized messages -->

View File

@ -549,6 +549,7 @@ Function fnFindIV ( _
End If
subReadStarDust
nEvolved = UBound (aBaseStats.mEvolved)
If nEvolved &gt; -1 Then
ReDim Preserve maEvBaseStats (nEvolved) As New aStats
For nI = 0 To nEvolved
aTempStats = fnGetBaseStats (aBaseStats.mEvolved (nI))
@ -558,6 +559,7 @@ Function fnFindIV ( _
.nStamina = aTempStats.nStamina
End With
Next nI
End If
nN = -1
For fLevel = 1 To UBound (mStarDust) Step fStep
If mStarDust (CInt (fLevel - 0.5)) = aQuery.nStarDust Then

View File

@ -15,7 +15,7 @@
&apos; limitations under the License.
&apos; 1Data: The Pokémon GO data for IV calculation
&apos; by imacat &lt;imacat@mail.imacat.idv.tw&gt;, 2016-12-06
&apos; by imacat &lt;imacat@mail.imacat.idv.tw&gt;, 2016-12-15
&apos; Generated with 9Load.subReadDataSheets ()
Option Explicit
@ -173,7 +173,8 @@ Function fnGetBaseStatsData As Variant
Array (&quot;Dragonair&quot;, &quot;148&quot;, 122, 163, 138, Array (&quot;Dragonite&quot;)), _
Array (&quot;Dragonite&quot;, &quot;149&quot;, 182, 263, 201, Array ()), _
Array (&quot;Mewtwo&quot;, &quot;150&quot;, 212, 330, 200, Array ()), _
Array (&quot;Mew&quot;, &quot;151&quot;, 200, 210, 209, Array ()))
Array (&quot;Mew&quot;, &quot;151&quot;, 200, 210, 209, Array ()), _
Array (&quot;Igglybuff&quot;, &quot;174&quot;, 180, 69, 34, Array (&quot;Jigglypuff&quot;, &quot;Wigglytuff&quot;)))
End Function
&apos; fnGetCPMData: Returns the combat power multiplier data.

View File

@ -162,6 +162,7 @@
<dlg:menuitem dlg:value="Dragonite"/>
<dlg:menuitem dlg:value="Mewtwo"/>
<dlg:menuitem dlg:value="Mew"/>
<dlg:menuitem dlg:value="Igglybuff"/>
</dlg:menupopup>
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.script:PokemonGoIV.0Main.subLstPokemonSelected?language=Basic&amp;location=application" script:language="Script"/>
</dlg:menulist>
@ -171,7 +172,7 @@
<script:event script:event-name="on-textchange" script:macro-name="vnd.sun.star.script:PokemonGoIV.0Main.subBtnOKCheck?language=Basic&amp;location=application" script:language="Script"/>
</dlg:numericfield>
<dlg:text dlg:id="txtHP" dlg:tab-index="18" dlg:left="50" dlg:top="41" dlg:width="15" dlg:height="8" dlg:value="&amp;30.DlgMain.txtHP.Label"/>
<dlg:numericfield dlg:id="numHP" dlg:tab-index="2" dlg:left="65" dlg:top="39" dlg:width="15" dlg:height="12" dlg:decimal-accuracy="0" dlg:value-min="0" dlg:value-max="200">
<dlg:numericfield dlg:id="numHP" dlg:tab-index="2" dlg:left="65" dlg:top="39" dlg:width="15" dlg:height="12" dlg:decimal-accuracy="0" dlg:value-min="10" dlg:value-max="500">
<script:event script:event-name="on-textchange" script:macro-name="vnd.sun.star.script:PokemonGoIV.0Main.subBtnOKCheck?language=Basic&amp;location=application" script:language="Script"/>
</dlg:numericfield>
<dlg:text dlg:id="txtStarDust" dlg:tab-index="19" dlg:left="90" dlg:top="41" dlg:width="30" dlg:height="8" dlg:value="&amp;33.DlgMain.txtStarDust.Label"/>

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB