Hidden Power (move)/Calculation: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
m
→‎Type: roundy table
m (→‎Type: roundy table)
Line 26: Line 26:
The summed value is then multiplied by 15 and divided by 63, to be sure that the number representing Hidden Power Type will range from 0 to 15, inclusively (16 values in total). The calculated number is then [[wp:Floor_function|rounded down (''floor[]'')]], which simply means that only integral part of the calculated number is considered.
The summed value is then multiplied by 15 and divided by 63, to be sure that the number representing Hidden Power Type will range from 0 to 15, inclusively (16 values in total). The calculated number is then [[wp:Floor_function|rounded down (''floor[]'')]], which simply means that only integral part of the calculated number is considered.


The resulting number will correspond to a type; utilize the table below.  
The resulting number will correspond to a type as marked below.


{|border="1" style="border: 1px solid black; border-collapse: collapse; color=#FFFF" cellspacing="1" cellpadding="3"
{| class="roundy" style="background: #{{platinum color}}; border: 3px solid #{{platinum color light}}; {{roundy|10px}}"
!Number
! style="background: #{{platinum color light}}; {{roundytl|10px}}" | Number
!Type
! style="background: #{{platinum color light}}; {{roundytr|10px}}" | Type
|-style="background-color: #{{Fighting color}}; color:#FFFFFF" align="center"
|-style="background-color: #{{Fighting color}}; color:#FFFFFF" align="center"
| 0
| 0

Navigation menu