Go Back   Smogon Community > Contributions & Corrections > Projects
Register FAQ Social Groups Calendar Search Today's Posts Mark Forums Read

Reply
Categories: HTML, Programming, Other
 
Thread Tools
Old Mar 29th, 2013, 12:40:30 PM   #1
Joim
It's only over when you give up
is a Battle Server Administratoris a Forum Moderatoris a Contributor to Smogon
 
Joim's Avatar
 
Moderator
Join Date: Oct 2012
Posts: 732
Joim is pronounced like joy-m, stress on "Jo". It's /ˈdʒɔɪm/.
Default Detailed Speed Calculator

So I found myself needing a fast speed calculation when playing some games (especially in Doubles trying things like TR Victini). I know there are several stat calculators, but I needed something better, something simple and past to calculate speed, so I made a little javascript code to do so.

Then I decided to make it better basing it on Honko's damage calc (I hope you don't mind), so I'm using his set js file, which is hosted in Pokemon Showdown, to calculate speed from all Pokemon sets in singles or one versus all, here it is.

It's useful mainly for weird situations with different boosts and strange speed tiers, but I already found it useful nonetheless, so I hope you find it useful as well.

It works on most navigators, but the set list won't work on Internet Explorer. You can still fill in the fields and calculate in IE since I'm using pure JavaScript for this project.
__________________
Intelligence speaks, wisdom listens.
Contributions: | | | | | Spanish Translation | May Seasonal | PS contributions
Smog articles: NFEs in NU | NU Spotlight: Drifblim | Seasonal Fun | Blue Best Rival
Projects: Joim's Lab: OMs in action | Speed Calc | Old Gens in PS
Gameplay: Play Smogon Doubles! | Joimmons
[15:24] <%Joim> I have so many fans! [15:24] <@TheImmortal> do they keep you cool
[12:00] <@mikel|away> i love a good twistie penis gif
Joim is offline   Reply With Quote
Old Mar 29th, 2013, 1:11:15 PM   #2
ganj4lF
Nobody is safe from the power of science!
is an official Team Rateris a Community Contributor
 
ganj4lF's Avatar
 
Join Date: Jun 2011
Posts: 710
Italy
Default

Your tool says a Timid Venusaur with max speed and an ability that doubles speed is slower than standard Timid Scarf Latios.

Quote:
The Latios has a speed of 525. The Venusaur has a speed of 516.
252 speed EVs 31 IVs Latios with Choice Scarf is faster than than 252 speed EVs 30 IVs Venusaur with Speed Doubling ability.
For some weird reason it ignores the boosting nature (of Venusaur) in this particular case.
__________________
Counter that Pokemon project: Mk III & Warstory | Mk IV
RMTs: The HOutsiders (also the other ones if anyone likes lurking my old posts)


Not accepting rating requests anymore. Sorry!
ganj4lF is offline   Reply With Quote
Old Mar 29th, 2013, 2:10:20 PM   #3
Joim
It's only over when you give up
is a Battle Server Administratoris a Forum Moderatoris a Contributor to Smogon
 
Joim's Avatar
 
Moderator
Join Date: Oct 2012
Posts: 732
Joim is pronounced like joy-m, stress on "Jo". It's /ˈdʒɔɪm/.
Default

Yeah, there was a problem with natures (thanks to adding that short select, hehe) that made it stay on set's nature, but it's now solved:
252 speed EVs 30 IVs Venusaur with Speed Doubling ability and a positive nature is faster than than 252 speed EVs 31 IVs Latios with Choice Scarf and a positive nature.

252 speed EVs 30 IVs Venusaur with Speed Doubling ability and a neutral nature is slower than than 252 speed EVs 31 IVs Latios with Choice Scarf and a positive nature.

As you can see I also added a fancy nature text :)
__________________
Intelligence speaks, wisdom listens.
Contributions: | | | | | Spanish Translation | May Seasonal | PS contributions
Smog articles: NFEs in NU | NU Spotlight: Drifblim | Seasonal Fun | Blue Best Rival
Projects: Joim's Lab: OMs in action | Speed Calc | Old Gens in PS
Gameplay: Play Smogon Doubles! | Joimmons
[15:24] <%Joim> I have so many fans! [15:24] <@TheImmortal> do they keep you cool
[12:00] <@mikel|away> i love a good twistie penis gif
Joim is offline   Reply With Quote
Old Mar 31st, 2013, 12:36:31 PM   #4
lousy918
 
lousy918's Avatar
 
Join Date: Jun 2012
Posts: 324
yes, it's spelt 'potatoes'
Default

quick feet is supposed to ignore paralysis’ speed reduction, but it doesn’t do so in the calc
i mean ofc we could just leave para blank and tick quick feet only but just pointing out a problem
also:
The Munchlax has a speed of 0. The Deoxys-S has a speed of 18144.
252 speed EVs 31 IVs paralyzed Munchlax with a negative nature is slower than than 252 speed EVs 31 IVs Deoxys-S with Choice Scarf, Tailwind, Quick Feet, Speed Doubling ability and a positive nature.
that was a random calc, but why does the calc ignore EVs and IVs? (it doesn’t just put 252 EVs and 31 IVs, it actually uses them for the calc, although i put 0 IVs and 0 EVs)
__________________
(13:00:26) ±Porygon: Your rank in Battle Factory is 1/422 [1180 points / 7 battles]

[14:51] ginganinja: I love Jirachi
lousy918 is offline   Reply With Quote
Old Mar 31st, 2013, 12:52:13 PM   #5
Joim
It's only over when you give up
is a Battle Server Administratoris a Forum Moderatoris a Contributor to Smogon
 
Joim's Avatar
 
Moderator
Join Date: Oct 2012
Posts: 732
Joim is pronounced like joy-m, stress on "Jo". It's /ˈdʒɔɪm/.
Default

You have a point, I've changed it so you can check paralyzed and Quick Feet and it just ignores Paralyze on Quick Feet.
Also, for some reason EVs and IVs were defaulting to max, but I've solved that now, thanks for noticing :)
__________________
Intelligence speaks, wisdom listens.
Contributions: | | | | | Spanish Translation | May Seasonal | PS contributions
Smog articles: NFEs in NU | NU Spotlight: Drifblim | Seasonal Fun | Blue Best Rival
Projects: Joim's Lab: OMs in action | Speed Calc | Old Gens in PS
Gameplay: Play Smogon Doubles! | Joimmons
[15:24] <%Joim> I have so many fans! [15:24] <@TheImmortal> do they keep you cool
[12:00] <@mikel|away> i love a good twistie penis gif
Joim is offline   Reply With Quote
Reply Smogon Community > Contributions & Corrections > Projects

« Previous Thread | Next Thread »
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -4. The time now is 9:52:55 AM.