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 Dec 20th, 2011, 3:25:14 AM   #51
whitefag
 
Join Date: Jul 2010
Posts: 46
Tomsk, Siberia
Default

Quote:
Originally Posted by Fat MaestroXXVI View Post
hmmm
the question is: who's wrong?
Furthermore...
via http://masara.byethost15.com/Silverl...cTestPage.html
252 Atk Terrakion Stone Edge vs 0 HP/0 Def Multiscale Dragonite: 52.32% - 62.23% (169 - 201)

via http://www.honko.freehosting.com/manly_calc.html
Stone Edge: 170-204 (52.63 - 63.15%)

http://kalashnikov.pokecenter.ru/damage/
52% - 61% (168 - 200 HP)
===

Masara: 252 Atk Terrakion Stone Edge vs 0 HP/0 Def Dragonite: 104.95% - 124.46% (339 - 402)

Honko: Stone Edge: 338-402 (104.64 - 124.45%)

Mine: 104% - 124% (338 - 402 HP)
===

Masara: 252 Atk Life Orb Terrakion Stone Edge vs 0 HP/0 Def Multiscale Dragonite: 68.73% - 80.8% (222 - 261)

Honko: Stone Edge: 222-264 (68.73 - 81.73%)

Mine: 67% - 80% (218 - 260 HP)
===

Masara: 252 Atk Life Orb Terrakion Stone Edge vs 0 HP/0 Def Dragonite: 137.46% - 161.61% (444 - 522)

Honko: Stone Edge: 440-522 (136.22 - 161.6%)

Mine: 135% - 161% (438 - 522 HP)

Multiscale is kinda understandable, it was added in gen 5 and no additional research in damage formula was made, we all just assumed that it applies the same way old modifiers apply, so maybe we put this modifier in different spots in our formulas...
But why results without Multiscale differ is beyound my understanding. I remember finding an error in old version of masara's calc (he forgot one rounding), I have no idea if it's fixed now.
whitefag is offline   Reply With Quote
Old Dec 20th, 2011, 4:07:26 AM   #52
whitefag
 
Join Date: Jul 2010
Posts: 46
Tomsk, Siberia
Default

Ok, step-by-step calculation using the formula.
Scenario without Multiscale:
Neutral natured Terrakion with 252 Atk EVs vs Neutral natured Dragonite with 0 HP and 0 Def EVs
All IVs are 31, lvl 100, Stone Edge, no held items or modifiers.
Terrakion's Attack is 357
Dragonite's Defense is 226, HP is 323

((((((100 × 2 ÷ 5) + 2) × 100 × 357 ÷ 50) ÷ 226) + 2) × R ÷ 100) × 1.5 × 2)
So it's 402 when random modifier is max and 338 when Terrakion is out of luck.
However, if we do not round down after applying STAB modofier, we have 169.5 * 2 = 339, so that's probably where Super Basic's error is.

Now if we give our Terrakion LO:
The formula is almost the same:
(((((((100 × 2 ÷ 5) + 2) × 100 × 357 ÷ 50) ÷ 226)+ 2) [134] × 1.3) × R ÷ 100) × 1.5 × 2)
Results are: 440 - 522. So, this time, only Honko's calc is correct. And I have no idea where a lesser number came from...

Scenario with Multiscale:
Assuming Multiscale applies the same way Filter and Solid Rock do (this needs research however), we simply need to divide numbers above by two (and round down of course)
Without LO: 169 - 201
With LO: 220 - 261
whitefag is offline   Reply With Quote
Old Dec 21st, 2011, 11:09:17 AM   #53
Honko
pronounced "Honko"
is a Tiering Contributoris a Contributor to Smogon
 
Honko's Avatar
 
Join Date: Dec 2009
Posts: 1,023
Default

Yeah, all the new BW items and abilities I had to guess where to add it to the formula, so they might be in the wrong place resulting in small rounding errors. When a sexy researcher publishes the full formula for this gen I'll definitely fix everything, but until then things like Multiscale and Sheer Force may or may not be off by a point or two.
__________________
Honko is online now   Reply With Quote
Old Dec 21st, 2011, 11:40:29 AM   #54
Violatic
is a Battle Server Moderator
 
Join Date: Apr 2011
Posts: 20
Default

I had an idea for this although I don't know how implementable it is.

Before I make my suggestion I'd like to say this is a fantastic tool.

I think the most useful part of it is deciding what EVs / Moves are most useful for each set. Would it be possible to get it to run a comparison between two pokes at tell you the pokes which one 1HKO's compared to the other (so you could compare say Scald vs Surf) and also 2HKO's. Again I have no idea how easy it is to do so if it isn't just say so and I won't mind.

I was also curious if it was worth implementing things like Leftovers into sets for damage done, given that they heal that much off.

It is a great tool!
__________________
Violatic is offline   Reply With Quote
Old Jan 25th, 2012, 2:40:45 AM   #55
Honko
pronounced "Honko"
is a Tiering Contributoris a Contributor to Smogon
 
Honko's Avatar
 
Join Date: Dec 2009
Posts: 1,023
Default

Quote:
Originally Posted by Fat Violatic View Post
Would it be possible to get it to run a comparison between two pokes at tell you the pokes which one 1HKO's compared to the other (so you could compare say Scald vs Surf) and also 2HKO's.
That's a neat idea! It's certainly possible, but it would take quite a bit of work, so I won't be able to do it anytime soon. I'll keep it in mind though, because that would be an awesome feature.

Minor update: I've fixed Grass Knot, Low Kick, and Heavy Smash. They now have variable BP that adjusts depending on the target's (and user's for Heavy Smash) weight, so your MixApe and CB Aggron calculations should finally be accurate.
__________________
Honko is online now   Reply With Quote
Old Feb 22nd, 2012, 12:31:46 AM   #56
Dcae
 
Dcae's Avatar
 
Join Date: Dec 2011
Posts: 742
Galvatron on Pokemon Showdown and Dcae on IRC. Also Galvatron > Megatron.
Default

For some reason its not working on my comp recently. I used it to great success however, so I was wondering the problem. I use Google Chrome.
__________________
VM for an OU/LC rate.
See Overwhelming Power! Contribute to the LC Next Best Thing! Discuss hazards in LC! Hop on #littlecup and chat!
Dcae is offline   Reply With Quote
Old Mar 18th, 2012, 6:25:56 PM   #57
Honko
pronounced "Honko"
is a Tiering Contributoris a Contributor to Smogon
 
Honko's Avatar
 
Join Date: Dec 2009
Posts: 1,023
Default

I've added a couple of new features to the mass calcs recently. There are two checkboxes down at the bottom now that let you customize how the results come out. Checking the first one (Strict) removes from the results any Pokemon that don't actually qualify for the tiers you've selected; no more Alomomola and Shedinja wasting space on your OU mass calcs, for example.

The second is the long-awaited Copypasta! When this one is checked, the results will come out as plain text that you can easily select, copy, and paste straight to the forums/chat/etc. The format is still a little ugly, so I'm open to suggestions there, but hopefully this will make the calculators easier to use for general discussion. Enjoy!

(Also, anytime the calculator isn't working, try clearing your cache.)
__________________
Honko is online now   Reply With Quote
Old Mar 21st, 2012, 9:50:58 AM   #58
Wobbanaut
 
Wobbanaut's Avatar
 
Join Date: Feb 2012
Posts: 970
India
Default

Thank you for this wonderful creation
Wobbanaut is offline   Reply With Quote
Old Mar 21st, 2012, 9:52:41 AM   #59
Wobbanaut
 
Wobbanaut's Avatar
 
Join Date: Feb 2012
Posts: 970
India
Default

I can't believes it works on IPad and not on IE though
Wobbanaut is offline   Reply With Quote
Old Mar 21st, 2012, 5:07:59 PM   #60
Draycos7
 
Draycos7's Avatar
 
Join Date: Mar 2012
Posts: 168
Default

This is a beautiful thing. Thanks a million for making it.
Draycos7 is offline   Reply With Quote
Old Mar 21st, 2012, 11:05:15 PM   #61
Honko
pronounced "Honko"
is a Tiering Contributoris a Contributor to Smogon
 
Honko's Avatar
 
Join Date: Dec 2009
Posts: 1,023
Default

I've added a piece to the 1v1 (manly) calculator that gives you the % chance for your attack to OHKO, 2HKO, or 3HKO, factoring in Stealth Rock, Spikes, Leftovers, and weather damage, plus abilities like Poison Heal and Ice Body. You can set the entry hazards and weather status in the box on the right side.

Also, I seem to be approaching my bandwidth limit for the month on that domain, so if people could start using this mirror (lol) instead for a while, that would be great.
__________________
Honko is online now   Reply With Quote
Old Mar 30th, 2012, 10:25:38 AM   #62
Furai
standing in the eye of the hurricane
is an official Team Rateris a Forum Moderatoris a Community Contributoris a Tiering Contributoris a Contributor to Smogonis a Smogon Media Contributor Alumnusis a Smogon Premier League defending champion
 
Furai's Avatar
 
Moderator
Join Date: May 2010
Posts: 2,096
Default

Umm, Honko, I was trying to calculate Choice Band Terrakion's Sacred Sword agasint +1 Bulk Up Dialga and I was surprised to find it does not exist in the calculator. Could you fix it by any chance?

EDIT: I also just noticed that if you put an LC Pokemon as the target, it doesn't become automatically at level 5.
__________________
#gohard | Wolfpack (Ubers RMT)

Last edited by Furai; Mar 30th, 2012 at 11:13:46 AM.
Furai is offline   Reply With Quote
Old Mar 31st, 2012, 4:17:08 AM   #63
Honko
pronounced "Honko"
is a Tiering Contributoris a Contributor to Smogon
 
Honko's Avatar
 
Join Date: Dec 2009
Posts: 1,023
Default

Thanks for the heads up Furai, I've added Sacred Sword. Can you clarify what you mean about LC Pokemon not becoming Lv 5 though? It seems to be working for me.

I've also added support for Speed-based moves, so you can finally get accurate calcs for your OTR Zong's Gyro Ball, and of course the unstoppable Choice Scarf Electro Ball Electrode!
__________________
Honko is online now   Reply With Quote
Old Apr 1st, 2012, 4:25:53 AM   #64
Furai
standing in the eye of the hurricane
is an official Team Rateris a Forum Moderatoris a Community Contributoris a Tiering Contributoris a Contributor to Smogonis a Smogon Media Contributor Alumnusis a Smogon Premier League defending champion
 
Furai's Avatar
 
Moderator
Join Date: May 2010
Posts: 2,096
Default

Well, if you try and put Pokemon such as the reintroduced Gligar, Murkrow, and Misdreavus, or even Munchlax, they're put as level 100 by default. Some work perfectly, they're instantly put at level 5 (Mienfoo, Chinchou, Staryu), and some don't, such as the ones I mentioned.

I'm talking manly calc, btw.

EDIT: Psycho Boost is missing as well!
__________________
#gohard | Wolfpack (Ubers RMT)

Last edited by Furai; Apr 1st, 2012 at 6:37:24 AM.
Furai is offline   Reply With Quote
Old Apr 1st, 2012, 11:07:49 AM   #65
Wobbanaut
 
Wobbanaut's Avatar
 
Join Date: Feb 2012
Posts: 970
India
Default

I think that's because all of them have sets in the higher tiers
Wobbanaut is offline   Reply With Quote
Old Apr 1st, 2012, 1:33:08 PM   #66
Honko
pronounced "Honko"
is a Tiering Contributoris a Contributor to Smogon
 
Honko's Avatar
 
Join Date: Dec 2009
Posts: 1,023
Default

Yeah, Wobbanaut's right, it was looking at what tier the Pokemon is listed in to determine the level, rather than what meta the set is for. Fixed that and added Psycho Boost.
__________________
Honko is online now   Reply With Quote
Old Apr 1st, 2012, 4:18:59 PM   #67
Furai
standing in the eye of the hurricane
is an official Team Rateris a Forum Moderatoris a Community Contributoris a Tiering Contributoris a Contributor to Smogonis a Smogon Media Contributor Alumnusis a Smogon Premier League defending champion
 
Furai's Avatar
 
Moderator
Join Date: May 2010
Posts: 2,096
Default

Sweet. I'll tell you if the calculator is missing more moves.
__________________
#gohard | Wolfpack (Ubers RMT)
Furai is offline   Reply With Quote
Old Apr 5th, 2012, 2:28:33 PM   #68
jackm
 
jackm's Avatar
 
Join Date: Dec 2011
Posts: 330
Seattle
Default

This may just be my computer, but I can't access it currently. I believe that the internet free hosting service is rejecting me, but I'm not sure. If it's something that's fixable, that would be great, because this is the easiest and best damage calculator out there (at least for me) and I'm really annoyed by the formatting of some others.

(EDIT: disregard this post. I hadn't noticed the mirror you posted. Sorry.)
jackm is offline   Reply With Quote
Old Apr 9th, 2012, 2:38:18 PM   #69
Furai
standing in the eye of the hurricane
is an official Team Rateris a Forum Moderatoris a Community Contributoris a Tiering Contributoris a Contributor to Smogonis a Smogon Media Contributor Alumnusis a Smogon Premier League defending champion
 
Furai's Avatar
 
Moderator
Join Date: May 2010
Posts: 2,096
Default

The mirror does not work for me though. I'm getting 404 Not Found, and below that nginx/1.1.15. Is that just the site, or is there something wrong with my computer? :c

EDIT: Working now.
__________________
#gohard | Wolfpack (Ubers RMT)

Last edited by Furai; Apr 10th, 2012 at 3:31:05 AM.
Furai is offline   Reply With Quote
Old Apr 9th, 2012, 3:45:59 PM   #70
Melee Mewtwo
Dat Lugiass
is a Community Contributoris a Tiering Contributor
 
Melee Mewtwo's Avatar
 
Join Date: Jan 2011
Posts: 672
France
Default

Thank you so much for this calculator, it's absolutely incredible. By the way, is there any way you can make a filter between special and physical attacks? It would be a lot easier to build a physical Gliscor spread without having to search through all of the Surfs and HP Ices.
__________________
[01:47:47] <+Limi> gamefreak has confirmed the rumour
[01:47:53] <+Limi> that mewtwo now has a tumor
[01:47:59] <+Limi> but please man, chill out
[01:48:03] <+Limi> you don't need to pout
[01:48:08] <+Limi> just take it all in good humour!
Quote:
Originally Posted by Fat trickroom View Post
Blizzard is for the whole Dragon Slayer thing, it OHKOes almost any Dragon in the tier save Kyurem, Giratina, Dialga, Palkia, Reshiram, Zekrom, Latios, Latias and Giratina-O.
Melee Mewtwo is offline   Reply With Quote
Old Apr 14th, 2012, 7:11:01 AM   #71
Furai
standing in the eye of the hurricane
is an official Team Rateris a Forum Moderatoris a Community Contributoris a Tiering Contributoris a Contributor to Smogonis a Smogon Media Contributor Alumnusis a Smogon Premier League defending champion
 
Furai's Avatar
 
Moderator
Join Date: May 2010
Posts: 2,096
Default

Umm, Honko, you're missing burn's effects in your calculator. If it's the same as Reflect though, you might want to put a slash there, because it's kinda confusing.
__________________
#gohard | Wolfpack (Ubers RMT)
Furai is offline   Reply With Quote
Old Apr 24th, 2012, 11:21:55 AM   #72
Furai
standing in the eye of the hurricane
is an official Team Rateris a Forum Moderatoris a Community Contributoris a Tiering Contributoris a Contributor to Smogonis a Smogon Media Contributor Alumnusis a Smogon Premier League defending champion
 
Furai's Avatar
 
Moderator
Join Date: May 2010
Posts: 2,096
Default

Sorry for double posting, but adding to my post above, Gyro Ball's calculations are wrong after you have gotten a Speed boost. Once I add +2 to the opponent, the calculation doesn't change.
__________________
#gohard | Wolfpack (Ubers RMT)
Furai is offline   Reply With Quote
Old Apr 24th, 2012, 10:14:09 PM   #73
Honko
pronounced "Honko"
is a Tiering Contributoris a Contributor to Smogon
 
Honko's Avatar
 
Join Date: Dec 2009
Posts: 1,023
Default

It seems to be working for me. Are you sure the power wasn't maxed out already? If you're doing something like Ferrothorn vs Sharpedo, the +2 won't matter because Gyro Ball is already at full power against +0.

I'll add things like burn, Helping Hand, and spread move power reduction in doubles eventually. I know those things are missing, I just haven't gotten around to it.
__________________
Honko is online now   Reply With Quote
Old Apr 25th, 2012, 12:52:47 AM   #74
Wobbanaut
 
Wobbanaut's Avatar
 
Join Date: Feb 2012
Posts: 970
India
Default

Fling isn't in the Calculator
__________________
Credits for Avatar go to RitterCat
Visit #orangeislands a must go for any islander
Wobbanaut is offline   Reply With Quote
Old Apr 25th, 2012, 12:59:34 AM   #75
I Am
 
Join Date: Feb 2011
Posts: 69
Default

My nigga, you're a legend. Great work.
I Am 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 1:28:50 AM.