12
edits
m (why change the example when the template is specifically designed with an example pokemon in mind?) Tag: Undo |
Avery Avery (talk | contribs) Tag: Undo |
||
Line 15: | Line 15: | ||
==Generation II== | ==Generation II== | ||
===Type=== | ===Type=== | ||
Consider an example Pokémon, like | Consider an example Pokémon, like Shellder with this set of IVs: | ||
{{Hidden Power calculation/II| | {{Hidden Power calculation/II|12|10|10|13|8}} | ||
The type is determined by taking the two {{wp|least significant bit}}s of the Attack and Defense IVs, then {{wp|Concatenation|concatenating}} these two values in that order. | The type is determined by taking the two {{wp|least significant bit}}s of the Attack and Defense IVs, then {{wp|Concatenation|concatenating}} these two values in that order. | ||
Line 82: | Line 82: | ||
<math> | <math> | ||
\begin{align} | \begin{align} | ||
HP_{type} & = 4 \times | HP_{type} & = 4 \times 10 \bmod 4 + 10 \bmod 4 \\ | ||
& = 4 \times | & = 4 \times 2 + 2 \\ | ||
& = | & = 8 + 2 \\ | ||
& = | & = 10 | ||
\end{align} | \end{align} | ||
</math> | </math> | ||
Since this value is equal to | Since this value is equal to 10, per the table above, this means that our Shellder has a {{type|Grass}} {{m|Hidden Power}}. | ||
===Power=== | ===Power=== | ||
Line 107: | Line 107: | ||
In our example, we get: | In our example, we get: | ||
{{Hidden Power calculation/II| | {{Hidden Power calculation/II|12<br>''N/A''|10<br>''1''|10<br>''1''|13<br>''1''|8<br>''1''}} | ||
<math> | <math> | ||
\begin{align} | \begin{align} | ||
HP_{power} & = \bigg\lfloor \frac{5 \times (1 + 2 \cdot 1 + 4 \cdot 1 + 8 \cdot 1) + | HP_{power} & = \bigg\lfloor \frac{5 \times (1 + 2 \cdot 1 + 4 \cdot 1 + 8 \cdot 1) + 0}{2}\bigg\rfloor + 31 \\ | ||
& = \bigg\lfloor \frac{5 \times (1 + 2 + 4 + 8) | & = \bigg\lfloor \frac{5 \times (1 + 2 + 4 + 8)}{2}\bigg\rfloor + 31 \\ | ||
& = \bigg\lfloor \frac{5 \times 15 | & = \bigg\lfloor \frac{5 \times 15}{2}\bigg\rfloor + 31 \\ | ||
& = \bigg\lfloor \frac{75 | & = \bigg\lfloor \frac{75}{2}\bigg\rfloor + 31 \\ | ||
& = \lfloor 37.5 \rfloor + 31 \\ | |||
& = \lfloor | & = 37 + 31 \\ | ||
& = | & = 68 | ||
& = | |||
\end{align} | \end{align} | ||
</math> | </math> | ||
Which means that our | Which means that our Shellder's Hidden Power's power is '''68'''. | ||
{{Hidden Power calculation/II| | {{Hidden Power calculation/II|12|10|10|13|8}} | ||
{| class="roundy" style="width: 650px; border: 2px solid #{{ | {| class="roundy" style="width: 650px; border: 2px solid #{{Grass color light}}" | ||
|- style="text-align: center; color: #FFF" | |- style="text-align: center; color: #FFF" | ||
| style="width: 33%; background: #{{ | | style="width: 33%; background: #{{Grass color}}; {{roundyleft|10px}}" | {{mcolor|Hidden Power|FFF}}: | ||
| style="background: #{{ | | style="background: #{{Grass color}}" | Type:<br>'''{{tcolor|Grass|FFF}}''' | ||
| style="background: #{{ | | style="background: #{{Grass color}}; {{roundyright|10px}}" | Power:<br>'''68''' | ||
|} | |} | ||
Line 138: | Line 137: | ||
==Generation III onward== | ==Generation III onward== | ||
===Type=== | ===Type=== | ||
Consider an | Consider an Unown with this set of IVs: | ||
{{Hidden Power calculation/IV| | {{Hidden Power calculation/IV|25|2|12|17|5|8|201Unown.png{{!}}100px}} | ||
Hidden Power's type of a Pokémon with given IVs is represented by a number, calculated with this formula: | Hidden Power's type of a Pokémon with given IVs is represented by a number, calculated with this formula: | ||
Line 213: | Line 212: | ||
In our example, we get: | In our example, we get: | ||
{{Hidden Power calculation/IV| | {{Hidden Power calculation/IV|25<br>''1''|2<br>''0''|12<br>''0''|17<br>''1''|5<br>''1''|8<br>''0''|201Unown.png{{!}}100px}} | ||
<math> | <math> | ||
\begin{align} | \begin{align} | ||
HP_{type} & = \left\lfloor \frac{(1 \cdot | HP_{type} & = \left\lfloor \frac{(1 \cdot 1 + 2 \cdot 0 + 4 \cdot 0 + 8 \cdot 1 + 16 \cdot 1 + 32 \cdot 0) \times 15}{63}\right\rfloor \\ | ||
& = \left\lfloor \frac{(0 + | & = \left\lfloor \frac{(1 + 0 + 0 + 8 + 16 + 0) \times 15}{63}\right\rfloor \\ | ||
& = \left\lfloor \frac{ | & = \left\lfloor \frac{25 \times 15}{63}\right\rfloor \\ | ||
& = \left\lfloor \frac{ | & = \left\lfloor \frac{375}{63}\right\rfloor & \bigg(\frac{690}{63} \approx 5.952\bigg)\\ | ||
& = | & = 5 | ||
\end{align} | \end{align} | ||
</math> | </math> | ||
Which means that our | Which means that our Unown has a {{type|Bug}} {{m|Hidden Power}}. | ||
===Damage=== | ===Damage=== | ||
Line 241: | Line 240: | ||
In our example, we get: | In our example, we get: | ||
{{Hidden Power calculation/IV| | {{Hidden Power calculation/IV|25<br>''0''|2<br>''1''|12<br>''0''|17<br>''0''|5<br>''0''|8<br>''0''|201Unown.png{{!}}100px}} | ||
<math> | <math> | ||
\begin{align} | \begin{align} | ||
HP_{power} &= \left\lfloor \frac{(1 \cdot | HP_{power} &= \left\lfloor \frac{(1 \cdot 0 + 2 \cdot 1 + 4 \cdot 0 + 8 \cdot 0 + 16 \cdot 0 + 32 \cdot 0) \times 40}{63}\right\rfloor + 30 \\ | ||
&= \left\lfloor \frac{( | &= \left\lfloor \frac{(0 + 2 + 0 + 0 + 0 + 0) \times 40}{63}\right\rfloor + 30 \\ | ||
&= \left\lfloor \frac{ | &= \left\lfloor \frac{2 \times 40}{63}\right\rfloor + 30 \\ | ||
&= \left\lfloor \frac{ | &= \left\lfloor \frac{80}{63}\right\rfloor + 30 \\ | ||
&= \lfloor | &= \lfloor 1 \rfloor + 30 \\ | ||
&= | &= 1 + 30 \\ | ||
&= | &= 31 \\ | ||
\end{align} | \end{align} | ||
</math> | </math> | ||
Which means that our | Which means that our Unown's Hidden Power's power is '''31'''. | ||
{{Hidden Power calculation/IV| | {{Hidden Power calculation/IV|25|2|12|17|5|8|201Unown.png{{!}}100px}}{{-}} | ||
{| class="roundy" style="width: 650px; border: 2px solid #{{ | {| class="roundy" style="width: 650px; border: 2px solid #{{Bug color light}}" | ||
|- style="text-align: center" | |- style="text-align: center" | ||
| style="width: 33%; background: #{{ | | style="width: 33%; background: #{{Bug color}}; {{roundyleft|10px}}" | {{mcolor|Hidden Power|000}}: | ||
| style="background: #{{ | | style="background: #{{Bug color}}" | Type:<br>'''{{tcolor|Bug|000}}''' | ||
| style="background: #{{ | | style="background: #{{Bug color}}; {{roundyright|10px}}" | Power:<br>'''31''' | ||
|} | |} | ||
edits