Hidden Power (move)/Calculation: Difference between revisions

This is the correct formula. Source: http://tasvideos.org/forum/viewtopic.php?p=363108#363108
(This is the correct formula. Source: http://tasvideos.org/forum/viewtopic.php?p=363108#363108)
Line 87: Line 87:
:* x depends on the Defense IV.
:* x depends on the Defense IV.
:* y depends on the Attack IV.
:* y depends on the Attack IV.
* Z is equal to the Special IV if the Special IV is less than 3; otherwise Z is equal to 3.
* Z is equal to the Special IV mod 4 (its remainder when divided by 4).


Hidden Power's power is therefore a number ranging from 31 to 70, inclusively.  
Hidden Power's base power is therefore a number ranging from 31 to 70, inclusively.  


In our example, we get:
In our example, we get:
Line 95: Line 95:
{{Hidden Power calculation/II|14<br>''N/A''|15<br>''1''|15<br>''1''|15<br>''1''|14<br>''1''}}
{{Hidden Power calculation/II|14<br>''N/A''|15<br>''1''|15<br>''1''|15<br>''1''|14<br>''1''}}


HP Power = Floor[(5*(1 + '''2*1''' + '''4*1''' + '''8*1''') + 3)/2+31] = Floor[(5*('''1 + 2 + 4 + 8''') + 3)/2+31] = Floor[('''5*15''' + 3)/2+31] = Floor[('''75 + 3''')/2+31] = Floor['''78/2'''+31] = Floor['''39+31'''] = '''Floor[70]''' = '''70''', which means that our Pikachu's Hidden Power's power is '''70'''
HP Power = Floor[(5*(1 + '''2*1''' + '''4*1''' + '''8*1''') + 3)/2+31] = Floor[(5*('''1 + 2 + 4 + 8''') + 2)/2+31] = Floor[('''5*15''' + 2)/2+31] = Floor[('''75 + 2''')/2+31] = Floor['''77/2'''+31] = Floor['''36.5+31'''] = '''Floor[69.5]''' = '''69''', which means that our Pikachu's Hidden Power's power is '''69'''


{{Hidden Power calculation/II|14|15|15|15|14}}
{{Hidden Power calculation/II|14|15|15|15|14}}
2,613

edits