\( Damage = \dfrac{\left \lfloor{ \left[ \frac{2 \times Level_{1} + 10}{250} \times BasePwr \times \frac{ \left\{ \left( 2 \times BaseAtk + IV_{1} + \frac{EV_{1}}{4} \right) \times \frac{Level_{1}}{100} + 5 \right\} \times Nature_{1} \times AtkStatChange}{ \left\{ \left( 2 \times BaseDef + IV_{2} + \frac{EV_{2}}{4} \right) \times \frac{Level_{2}}{100} + 5 \right\} \times Nature_{2} \times DefStatChange} +2 \right] \times STAB \times Mod \times \frac{RanInt(85,100)}{100} }\right \rfloor}{\left( 2 \times BaseHP + IV^{\prime}_2 + \frac{EV^{\prime}_2}{4} \right) \times \frac{Level_{2}}{100} + 10 + Level_{2}} \times 100\% \)
Where
P1=AttackingPokeˊmon;P2=DefendingPokeˊmon
Level1=LevelofP1;Level2=LevelofP2,
BasePwr=Powerofselectedmove,
BaseAtk,BaseDef=BaseAttackofP1andBaseDefenseofP2respectively,
IV1,EV1=AttackIVsandEVsofP1respectively,
IV2,EV2=DefenseIVsandEVsofP2respectively,
BaseHP,IV2′,EV2′=BaseHP,HPIVsandHPEVsofP2respectively,
RanInt(x,y)={randomlychoosena∣x≤a≤y,a∈Z},
STAB={1.51ififattacktypematcheswithPokeˊmontypeattacktypedoesnotmatchwithPokeˊmontype,
AtkStatChangeistheAttackstatmodifierofP1andDefStatChangeistheDefensestatmodifierofP2,
Mod=typecompatibilitywhichcanbededucedfromthetypechart.
Letamatrix
N5×5=⎣⎢⎢⎢⎢⎡HardyBoldModestCalmTimidLonelyDocileMildGentleHastyAdamantImpishBashfulCarefulJollyNaughtyLaxRashQuirkyNaiveBraveRelaxedQuietSassySerious⎦⎥⎥⎥⎥⎤
Then,
Nature1=⎩⎪⎪⎪⎪⎪⎪⎪⎪⎨⎪⎪⎪⎪⎪⎪⎪⎪⎧1.11.00.9ififif{attackisphysicalattackisspecialandandi1=1,j1=1i1=2,j1=2⎩⎨⎧attackisphysicalattackisspecialandandi1=1,j1=1i1=j1i1=2,j1=2{attackisphysicalattackisspecialandandi1=1,j1=1i1=2,j1=2
Nature2=⎩⎪⎪⎪⎪⎪⎪⎪⎪⎨⎪⎪⎪⎪⎪⎪⎪⎪⎧1.11.00.9ififif{attackisphysicalattackisspecialandandi2=3,j2=3i2=4,j2=4⎩⎨⎧attackisphysicalattackisspecialandandi2=3,j2=3i2=j2i2=4,j2=4{attackisphysicalattackisspecialandandi2=3,j2=3i2=4,j2=4
Where(i1,j1)and(i2,j2)arethepositionsofthenaturesofP1andP2inN5×5respectively.
(e.g.thepositionofImpishnatureinN5×5is(2,3))
ForPokeˊmonShowdown(i.e.Level=100andallIVs=31thesimplifiedformulais
Damage=(2×BaseHP+141+4EV2′)⌊[BasePwr×{2×BaseDef+36+4EV2}×Nature2×DefStatChange{2×BaseAtk+36+4EV1}×Nature1×AtkStatChange+2]×STAB×Mod×100RanInt(85,100)⌋×84%
ThetypechartwhichwillgivethevalueofMod:
Easy Math Editor
This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.
When posting on Brilliant:
*italics*
or_italics_
**bold**
or__bold__
paragraph 1
paragraph 2
[example link](https://brilliant.org)
> This is a quote
\(
...\)
or\[
...\]
to ensure proper formatting.2 \times 3
2^{34}
a_{i-1}
\frac{2}{3}
\sqrt{2}
\sum_{i=1}^3
\sin \theta
\boxed{123}
Comments
I salute you
That is a: HELL!!! of a lot of LaTeX to write.
Log in to reply
Yeah lol I know.
Also yeah it took 4 hours straight to write that
Log in to reply
I salute you for your determination
i play too!! did you try this. great battle simulator.
Log in to reply
Yeah I play on PS, everyday. :)
Log in to reply
same here.
Log in to reply
Log in to reply
Log in to reply
Log in to reply
Log in to reply