Differenze tra le versioni di "Utente:SDoc94/Sandbox4"

m
nessun oggetto della modifica
m
m
La taglia del Magikarp è calcolata a partire dai suoi [[Punti individuali#Seconda generazione|DV]] e dal [[numero ID Allenatore]] dell'[[Allenatore Originale]]. La taglia avrebbe dovuto seguire una {{wp|distribuzione normale}} con un {{wp|valor medio}} centrato su 90 cm (l'altezza di Magikarp indicata nel [[Pokédex]]), ma a causa di vari errori nel codice, le dimensioni vere e proprie seguono quella distribuzione in maniera approssimativa.
 
====TassiProbabilità====
Nei giochi non in lingua inglese, i Magikarp giganti sono più rari del normale in quanto il gioco rigenera i DV dei Magikarp selvatici che dovrebbero essere alti 161,6 cm ed oltre il 95% delle volte, e i DV dei Magikarp con altezza compresa tra 160,0 e 161,5 cm il 76% delle volte. Nei giochi in lingua inglese, a causa di una svista, questi valori non sono stati correttamente convertiti in pollici e il gioco prova a rigenerare i DV di Magikarp più alti di 6'0" (182,9 cm), ma questo non ha effetto in quanto non esistono Magikarp di quelle dimensioni.
 
 
====Calcoli====
OnlySolo thegli lowestultimi twodue bytesbyte ofdel thevalore personalitydi valuepersonalità oro encryptiondella constantcostante aredi usedcrittografia invengono theutilizzati calculationnei calcoli:: ''p''<sub>1</sub> (highlightedevidenziato in <span style="background:#9999FF">blueblu</span> below)nello isschema thesottostante) leastè significantil byte meno significativo, whilementre ''p''<sub>2</sub> (highlightedevidenziato in <span style="background:#FF9999">redrosso</span>) isè theil secondsecondo leastbyte significantmeno bytesignificativo.
 
<code>00000000 00000000 <span style="background:#FF9999">00000000</span> <span style="background:#9999FF">00000000</span></code>
 
AdditionallyInoltre, onlysolo thei fourquattro {{wp|Ordine dei bit|bit con peso minore}} (o {{wp en|least significant bit|lsb}}s, ofdall'inglese each''least IVsignificant arebit'') di ciascuna IV usedsono inusati thenei calculationcalcoli: mathematicallymatematicamente, <math>\textit{stat}' = \textit{IV}_{\textit{stat}} \mod 16</math>.
 
Il primo passaggio del calcolo è il seguente:
The first step in the calculation is as follows:
 
<math display="block">y = 256 \cdot (p_1 \oplus (\text{HPPS}' \cdot (\text{AtkAtt}' \oplus \text{DefDif}'))) + (p_2 \oplus (\text{SpdVel}' \cdot (\text{SpAtkAttSp}' \oplus \text{SpDefDifSp}')))</math>
 
ForPer the nextlo step successivo, theil valuevalore ''y'' isè usedusato toper findtrovare thei correspondingcorrispettivi values ofvalori ''x<sub>0</sub>'', ''m'', ande ''y<sub>0</sub>'' indella thetabella following tablesottostante, whichche definesdefiniscono auna {{wp en|Piecewise linear function|piecewiseapprosimazione linearlineare a segmenti}} approximationdella offunzione theinversa della {{wp|Quantilefunzione function|inversedi ripartizione}} ofdi auna {{wp|Normaldistribuzione distribution|normalnormale}} {{wp|cumulativecon distributionuna function}}media withdi mean1000 1000e anddeviazione standard deviation 179. TheLa columncolonna selectedselezionata isè thela firstprima columncolonna wheredove ''y'' isè lessminore thandel thevalore ''y<sub>0</sub>'' value of thedella nextcolonna columnsuccessiva.
 
{| class="text-center roundy roundy-footer white-rows" style="{{#invoke: Css | horizGrad | type=hoenn | type2=sinnoh }}; padding: 0.3ex;"
{| class="roundtable" style="text-align:center; background:#C0C0FF; border:3px solid blue; margin:auto"
|-
! y (lessminore thandi): || 10 || 110 || 310 || 710 || 2710 || 7710 || 17710 || 32710 || 47710 || 57710 || 62710 || 64710 || 65210 || 65410 || 65510 || 65536
|-
! x<sub>0</sub>
|}
 
TheI valuesvalori ofdi ''x<sub>0</sub>'', ''m'', ande ''y<sub>0</sub>'' aresono thenpoi usedutilizzati toper convert the uniformly distributed valueconvertire ''y'' toal the normally distributed valuevalore ''x'' (theil fattore scaledi factorscala).
 
<math display="block">x = x_0 + \left\lfloor \frac{y - y_0}{m} \right\rfloor</math>
 
TheLa finalparte partfinale ofdel thecalcolo calculationserve scalesa scalare ''h'' (the speciesl' [[List ofElenco Pokémon byper heightaltezza|heightaltezza]] in tenthsdecimetri ofdella a meterspecie) bycon ''x'' (theil scalefattore factordi scala) toper produceottenere thela taglia effettiva del Pokémon's size in millimetersmillimetri. TheLa sizetaglia iscosì boundedottenuta betweenè compresa tra 0.,29 ande 1.,725 timesvolte thel'altezza standarddel metricPokémon heightindicata for the species (as listed in thenel Pokédex).
 
<math display="block">\textit{SizeTaglia} = \frac{h \cdot x}{10}</math>
 
L'arrotondamento del risultato finale differisce tra i giochi:
How the final result is rounded differs slightly between games:
* Nei giochi di terza generazione, la taglia è '''arrotondata per difetto''' al millimetro più vicino. Se il gioco converte le taglie in pollici, questa taglia arrotondata viene convertita e '''arrotondata per difetto''' al decimo di pollice più vicino.
* In the Generation III games, the size is '''rounded down''' to the nearest millimeter. If the game converts sizes to inches, this rounded size is converted and '''rounded down''' to the nearest tenth of an inch.
* Nei giochi di quarta generazione la taglia è '''arrotondata per difetto''' al millimetro più vicino. Se il gioco converte le taglie in pollici, questa taglia arrotondata viene convertita e '''arrotondata''' al decimo di pollice più vicino.
* In the Generation IV games, the size is '''rounded down''' to the nearest millimeter. If the game converts sizes to inches, this rounded size is converted and '''rounded''' to the nearest tenth of an inch (rounding half down).
* In {{DLPS|link=no}} la taglia è '''arrotondata''' al millimetro più vicino. Se il gioco converte le taglie in pollici, la taglia '''prima di essere arrotondata''' viene convertita e poi '''arrotondata''' al decimo di pollice più vicino.
* In Pokémon Brilliant Diamond and Shining Pearl, the size is '''rounded''' to the nearest millimeter. If the game converts sizes to inches, the size '''prior to rounding''' is converted and '''rounded''' to the nearest tenth of an inch.
 
===GenerationSettima VIIgenerazione===
====Pokémon SunSole, MoonLuna, UltraUltrasole Sun, and Ultrae MoonUltraluna====
{{main|Totem Pokémon}}
In {{game4|SMUSUM}}, [[Totem Pokémon]] are a type of [[variant Pokémon]] that are much larger and heavier than their standard counterparts. They are battled at the end of every [[island challenge|trial]], having been trained up by their respective [[Trial Captain]] to fulfill that role. Their increased weight can influence the mechanics of some moves, such as {{m|Low Kick}} and {{m|Sky Drop}}.
27 219

contributi