30,386
edits
Bookwyrm1357 (talk | contribs) (removed statement that this is a quadratic function, checked wikipedia and quadratic is to 2nd degree, cubic is to 3rd degree) |
Tiddlywinks (talk | contribs) (→Gain formula: Making the explanation cover more space, but much easier to parse. For Gen VI, I did a fairly low-level test and it seemed to work as I wrote (except I couldn't test O-Powers)) |
||
Line 1,534: | Line 1,534: | ||
===Gain formula=== | ===Gain formula=== | ||
{{incomplete|section|Check Gen VI. Make an image for Gen VI's formula. It should probably replace the Gen I-IV formula; some of the variables will just always be 1 like Lucky Egg in Gen I.<br>Reason 2: Check Gen I, ''completely'', too. It does weird things, esp. with Exp. All... See [[User:Tiddlywinks/Gen I Exp|data]]}} | |||
[[File:ExpGainFormula.png|frame|Formula for experience gain from battle (Generation I to IV)]] | [[File:ExpGainFormula.png|frame|Formula for experience gain from battle (Generation I to IV)]] | ||
[[File:Delta exp gen5.png|frame|Formula for experience gain from battle (Generation V)]] | [[File:Delta exp gen5.png|frame|Formula for experience gain from battle (Generation V)]] | ||
Any Pokémon game only uses one formula to calculate a Pokémon's experience gain after a battle. Prior to [[Generation V]], this formula was basically the same, with small additions or changes between Generations. Generation V used a significantly different formula, though, scaling received experience depending on the difference in the levels of the opposing Pokémon and changing the divisor constant in the formula from 7 to 5. In general, this meant more experience for the winning Pokémon unless its level was lower than its opponent's. [[Generation VI]] switched back to using the old formula as its base, however, with a few of its own tweaks and additions. | |||
The formulas for Generations I-IV and for Generation V can be seen on the right. Generation VI's formula looks the same as the Generation I-IV formula, but further multiplied by factors p and f. Depending on the order of multiplication and where rounding down is done, these formulas may produce slightly different results than are seen in-game. | |||
The variables in these formulas evaluate as follows (presented in alphabetical order)... | |||
*''a'' is equal to... | |||
**1 if the fainted Pokémon is wild | |||
**1.5 if the fainted Pokémon is owned by a Trainer | |||
*''b'' is the base experience yield of the fainted Pokémon's species, values for the current Generation listed [[List of Pokémon by effort value yield|here]]. | |||
*''e'' is equal to... | |||
**1.5 if the winning Pokémon is holding a {{DL|Experience-affecting item|Lucky Egg}} | |||
**1 otherwise. | |||
*''f'' is equal to... | |||
**1.2 if the Pokémon has an [[Pokémon-Amie|Affection]] of two hearts or more | |||
**1 otherwise | |||
*''L'' is the [[level]] of the fainted Pokémon. | |||
*''L<sub>p</sub>'' is the level of the victorious Pokémon. | |||
*''p'' is equal to... | |||
**1 if no Exp. Point Power ([[Entralink#List of Pass Powers|Pass Power]]<sup>Gen V</sup> or [[Player Search System#Exp. Point Power|O-Power]]<sup>Gen VI</sup>) is active | |||
**If Exp. Point Power [x] is active... | |||
***0.5 for ↓↓↓, 0.66 for ↓↓, 0.8 for ↓, 1.2 for ↑, 1.5 for ↑↑, or 2 for ↑↑↑, S, or MAX | |||
*''s'' is equal to... | |||
**In Generations II-V... | |||
***If no Pokémon in the party is holding an {{DL|Experience-affecting item|Exp. Share}}... | |||
****The number of Pokémon that participated in the battle and have not fainted | |||
***If at least one Pokémon in the party is holding an {{DL|Experience-affecting item|Exp. Share}}... | |||
****Twice the number of Pokémon holding an Exp. Share, ''when calculating the experience of a Pokémon holding Exp. Share'' | |||
****Twice the number of Pokémon that participated and have not fainted, ''when calculating the experience of a Pokémon not holding Exp. Share'' | |||
**In Generation VI... | |||
***1, when calculating the experience of a Pokémon that participated in battle | |||
***2, when calculating the experience of a Pokémon that did not participate in battle and if Exp. Share is turned on | |||
*''t'' is equal to... | |||
**1 if the winning Pokémon's current owner is its Original Trainer | |||
**1.5 if the Pokémon was gained in a domestic trade | |||
**''Generation IV+ only'': 1.7 if the Pokémon was gained in an international trade | |||
====Example (Generation I to IV)==== | ====Example (Generation I to IV)==== | ||
An originally owned {{p|Skitty}} holding a | An originally owned {{p|Skitty}} holding a {{DL|Experience-affecting item|Lucky Egg}} and an internationally traded {{p|Meowth}} have just defeated a Level 78 Trainer-owned {{p|Garchomp}}, with an originally owned {{p|Salamence}} in the winner's [[party]] holding an {{DL|Experience-affecting item|Exp. Share}}. | ||
The base experience yield of a Garchomp is 218, meaning that a Level 78 Garchomp will normally yield 2429 experience points. Because the battle is a Trainer battle, this is multiplied by 1.5 to give 3643. | The base experience yield of a Garchomp is 218, meaning that a Level 78 Garchomp will normally yield 2429 experience points. Because the battle is a Trainer battle, this is multiplied by 1.5 to give 3643. |