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:
parent
6965883232
commit
ccb0b62b98
@ -547,6 +547,7 @@ Function fnFindIV ( _
|
|||||||
End If
|
End If
|
||||||
subReadStarDust
|
subReadStarDust
|
||||||
nEvolved = UBound (aBaseStats.mEvolved)
|
nEvolved = UBound (aBaseStats.mEvolved)
|
||||||
|
If nEvolved > -1 Then
|
||||||
ReDim Preserve maEvBaseStats (nEvolved) As New aStats
|
ReDim Preserve maEvBaseStats (nEvolved) As New aStats
|
||||||
For nI = 0 To nEvolved
|
For nI = 0 To nEvolved
|
||||||
aTempStats = fnGetBaseStats (aBaseStats.mEvolved (nI))
|
aTempStats = fnGetBaseStats (aBaseStats.mEvolved (nI))
|
||||||
@ -556,6 +557,7 @@ Function fnFindIV ( _
|
|||||||
.nStamina = aTempStats.nStamina
|
.nStamina = aTempStats.nStamina
|
||||||
End With
|
End With
|
||||||
Next nI
|
Next nI
|
||||||
|
End If
|
||||||
nN = -1
|
nN = -1
|
||||||
For fLevel = 1 To UBound (mStarDust) Step fStep
|
For fLevel = 1 To UBound (mStarDust) Step fStep
|
||||||
If mStarDust (CInt (fLevel - 0.5)) = aQuery.nStarDust Then
|
If mStarDust (CInt (fLevel - 0.5)) = aQuery.nStarDust Then
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
' limitations under the License.
|
' limitations under the License.
|
||||||
|
|
||||||
' 1Data: The Pokémon GO data for IV calculation
|
' 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 ()
|
' Generated with 9Load.subReadDataSheets ()
|
||||||
|
|
||||||
Option Explicit
|
Option Explicit
|
||||||
@ -171,7 +171,8 @@ Function fnGetBaseStatsData As Variant
|
|||||||
Array ("Dragonair", "148", 122, 163, 138, Array ("Dragonite")), _
|
Array ("Dragonair", "148", 122, 163, 138, Array ("Dragonite")), _
|
||||||
Array ("Dragonite", "149", 182, 263, 201, Array ()), _
|
Array ("Dragonite", "149", 182, 263, 201, Array ()), _
|
||||||
Array ("Mewtwo", "150", 212, 330, 200, 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
|
End Function
|
||||||
|
|
||||||
' fnGetCPMData: Returns the combat power multiplier data.
|
' fnGetCPMData: Returns the combat power multiplier data.
|
||||||
|
@ -824,6 +824,11 @@
|
|||||||
<value>%origin%/icons/pokemons/mew.png</value>
|
<value>%origin%/icons/pokemons/mew.png</value>
|
||||||
</prop>
|
</prop>
|
||||||
</node>
|
</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>
|
</node>
|
||||||
|
|
||||||
<!-- Localized messages -->
|
<!-- Localized messages -->
|
||||||
|
@ -549,6 +549,7 @@ Function fnFindIV ( _
|
|||||||
End If
|
End If
|
||||||
subReadStarDust
|
subReadStarDust
|
||||||
nEvolved = UBound (aBaseStats.mEvolved)
|
nEvolved = UBound (aBaseStats.mEvolved)
|
||||||
|
If nEvolved > -1 Then
|
||||||
ReDim Preserve maEvBaseStats (nEvolved) As New aStats
|
ReDim Preserve maEvBaseStats (nEvolved) As New aStats
|
||||||
For nI = 0 To nEvolved
|
For nI = 0 To nEvolved
|
||||||
aTempStats = fnGetBaseStats (aBaseStats.mEvolved (nI))
|
aTempStats = fnGetBaseStats (aBaseStats.mEvolved (nI))
|
||||||
@ -558,6 +559,7 @@ Function fnFindIV ( _
|
|||||||
.nStamina = aTempStats.nStamina
|
.nStamina = aTempStats.nStamina
|
||||||
End With
|
End With
|
||||||
Next nI
|
Next nI
|
||||||
|
End If
|
||||||
nN = -1
|
nN = -1
|
||||||
For fLevel = 1 To UBound (mStarDust) Step fStep
|
For fLevel = 1 To UBound (mStarDust) Step fStep
|
||||||
If mStarDust (CInt (fLevel - 0.5)) = aQuery.nStarDust Then
|
If mStarDust (CInt (fLevel - 0.5)) = aQuery.nStarDust Then
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
' limitations under the License.
|
' limitations under the License.
|
||||||
|
|
||||||
' 1Data: The Pokémon GO data for IV calculation
|
' 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 ()
|
' Generated with 9Load.subReadDataSheets ()
|
||||||
|
|
||||||
Option Explicit
|
Option Explicit
|
||||||
@ -173,7 +173,8 @@ Function fnGetBaseStatsData As Variant
|
|||||||
Array ("Dragonair", "148", 122, 163, 138, Array ("Dragonite")), _
|
Array ("Dragonair", "148", 122, 163, 138, Array ("Dragonite")), _
|
||||||
Array ("Dragonite", "149", 182, 263, 201, Array ()), _
|
Array ("Dragonite", "149", 182, 263, 201, Array ()), _
|
||||||
Array ("Mewtwo", "150", 212, 330, 200, 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
|
End Function
|
||||||
|
|
||||||
' fnGetCPMData: Returns the combat power multiplier data.
|
' fnGetCPMData: Returns the combat power multiplier data.
|
||||||
|
@ -162,6 +162,7 @@
|
|||||||
<dlg:menuitem dlg:value="Dragonite"/>
|
<dlg:menuitem dlg:value="Dragonite"/>
|
||||||
<dlg:menuitem dlg:value="Mewtwo"/>
|
<dlg:menuitem dlg:value="Mewtwo"/>
|
||||||
<dlg:menuitem dlg:value="Mew"/>
|
<dlg:menuitem dlg:value="Mew"/>
|
||||||
|
<dlg:menuitem dlg:value="Igglybuff"/>
|
||||||
</dlg:menupopup>
|
</dlg:menupopup>
|
||||||
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.script:PokemonGoIV.0Main.subLstPokemonSelected?language=Basic&location=application" script:language="Script"/>
|
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.script:PokemonGoIV.0Main.subLstPokemonSelected?language=Basic&location=application" script:language="Script"/>
|
||||||
</dlg:menulist>
|
</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&location=application" script:language="Script"/>
|
<script:event script:event-name="on-textchange" script:macro-name="vnd.sun.star.script:PokemonGoIV.0Main.subBtnOKCheck?language=Basic&location=application" script:language="Script"/>
|
||||||
</dlg:numericfield>
|
</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="&30.DlgMain.txtHP.Label"/>
|
<dlg:text dlg:id="txtHP" dlg:tab-index="18" dlg:left="50" dlg:top="41" dlg:width="15" dlg:height="8" dlg:value="&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&location=application" script:language="Script"/>
|
<script:event script:event-name="on-textchange" script:macro-name="vnd.sun.star.script:PokemonGoIV.0Main.subBtnOKCheck?language=Basic&location=application" script:language="Script"/>
|
||||||
</dlg:numericfield>
|
</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="&33.DlgMain.txtStarDust.Label"/>
|
<dlg:text dlg:id="txtStarDust" dlg:tab-index="19" dlg:left="90" dlg:top="41" dlg:width="30" dlg:height="8" dlg:value="&33.DlgMain.txtStarDust.Label"/>
|
||||||
|
BIN
oxt/icons/pokemons/igglybuff.png
Normal file
BIN
oxt/icons/pokemons/igglybuff.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
Loading…
Reference in New Issue
Block a user