Talk:Experience: Difference between revisions

(→‎ERRATIC behaviour in Mathematica: ugh. this page is just too big..)
Line 1,906: Line 1,906:
::Just tested, it gets 50% in 5th gen as well. -- [[User:Trainer Hunter|Trainer]] [[User talk:Trainer Hunter|Hunter]] -- 23:38, 21 December 2011 (UTC)
::Just tested, it gets 50% in 5th gen as well. -- [[User:Trainer Hunter|Trainer]] [[User talk:Trainer Hunter|Hunter]] -- 23:38, 21 December 2011 (UTC)
:::I used to do this in Gen III. It is true there as well. --[[User:SnorlaxMonster|<span style="color:#A70000">'''Snorlax'''</span>]][[User talk:SnorlaxMonster|<span style="color:#0000A7">'''Monster'''</span>]] 01:17, 22 December 2011 (UTC)
:::I used to do this in Gen III. It is true there as well. --[[User:SnorlaxMonster|<span style="color:#A70000">'''Snorlax'''</span>]][[User talk:SnorlaxMonster|<span style="color:#0000A7">'''Monster'''</span>]] 01:17, 22 December 2011 (UTC)
== A most accuracy GenV formula for Exp. Points gained in battle ==
(I'm spanish so, I'm sorry if my english isn't perfect)
I'm working and testing the actual formula for gain Exp. Points in battles and, in some cases, I noticed that the actual formula has some little mistakes in certain specific cases. I modified the actual formula, and with this new version I didn't fail any case until now. I will try to explain it as well as I can:
- Step 1: Calculate total Exp. Points.
    totalExp = tct((b x L) x a)
    NOTE: tct() meas truncate decimals.
- Step 2: Calculate particular Exp. Points.
    This step is slightly different from the actual formula.
    "aux1" is equal to 1 if the Pokémon has participated in the battle or 0 if not.
    "aux2" is equal to 1 if the Pokémon has Exp. Share equipped or 0 if not.
    "s1"  is the number of Pokémon that participated in the battle and have not fainted. If any Pokémon in the party is holding an Exp. Share, "s1" is
    equal to twice the number of Pokémon that participated instead.
    "s2" is equal to twice the number of Pokémon holding the Exp. Share in the party.
    partExp = (aux1 x tct(totalExp / (5 x s1))) + (aux2 x tct(totalExp / (5 x s2)))
- Step 3: Calculate Exp. Points per level multiplier.
    This step is slightly different from the actual formula.
    multiplier = tct((tct((2L + 10)^2.5) x 1000) / tct((L + Lp + 10)^2.5))
- Step 4: Semi final Exp. Points.
    This step is slightly different from the actual formula.
    sFinal = tct((partExp x multiplier) / 1000) + 1
- Step 5: Final Exp. Points.
    finalExp = tct(tct(tct(sFinal x t) x e) x p)
    NOTE: I can't test if that's the real order, because I don't have any international traded Pokémon and any Exp. Point Power.
1

edit