1. Welcome to Smogon Forums! Please take a minute to read the rules.
  2. New to the forums? Check out our Mentorship Program!
    Our mentors will answer your questions and help you become a part of the community!

Damage Calculator (and other utilities)

Discussion in 'BW OU' started by Slipperjeans, Nov 1, 2010.

  1. Slipperjeans

    Slipperjeans

    Joined:
    Jul 14, 2010
    Messages:
    89
    Jibaku said UT is the best place for this
    If you argue with "you can't know the formula!!", I'll say I am using the gen 4 damage formula available on Smogon with the gen 5 alterations being placed in the most logical member of the equation. For example, the boost from Encourage is placed in the same place as the boost from Iron Fist, the BP mod, while the Multiscale deduction is placed together with the Solid Rock factor, in mod3.


    All the features are:

    Competitive Stuff
    Show Hide

    A damage calculator that includes Gen 5 Pokémon, moves, abilities and items
    [​IMG]

    ...with a tool to quickly export results into chats, posts etc (you can ctrl-c that)
    [​IMG]

    A team weaknesses calculator
    [​IMG]

    A moveset coverage calculator
    [​IMG]

    A team synergy calculator
    [​IMG]

    A stat calculator
    [​IMG]


    Informational Stuff

    Show Hide

    A beautiful type chart
    [​IMG]

    ...which also has a tool for you lazy pricks to figure out dual-typing matchups
    [​IMG]

    A beautiful, organized Pokédex updated with Gen 5 Pokémon that contains relevant information. The information contained for each Poké is: number, name, type 1, type 2, base stats, matchups for each type, abilities (including DW), base exp, EV wield, catch rate, height, weight, species, color and habitat.
    [​IMG]

    A move list
    [​IMG]

    An ability list
    [​IMG]

    A nature list
    [​IMG]

    A TM/HM list for Black and White, complete with locations and prices
    [​IMG]


    Download


    This is it. Please appoint any bugs, errors or suggestions here. I'll do my best to fix them and add nice new features!
  2. GtM

    GtM

    Joined:
    Jun 3, 2009
    Messages:
    717
    Wow, this is basically the best thing ever. <3

    One problem: I don't think Brazen is the official name for raising attack after kills, the general consensus is Overconfidence. Might want to edit that.

    Other than that, beautiful.
  3. Arc Tech

    Arc Tech

    Joined:
    Jan 22, 2009
    Messages:
    740
    Thanks! I've been hunting all over for something to calculate Gen V! I'll to you if I find any bugs.
  4. Venser

    Venser

    Joined:
    Jun 9, 2010
    Messages:
    1,638
    This is incredible, it has everything I need for competetive Pokemon teambuilding (almost) in one! No more hopping around to figure out type coverage/team weaknesses/w.e! Thanks!
  5. Wombat Sky Forme

    Wombat Sky Forme

    Joined:
    Jun 6, 2009
    Messages:
    525
    Incredible. Thank you for all your hard work and effort in doing this. This tool will be an immensely useful utility during battles.
  6. Slipperjeans

    Slipperjeans

    Joined:
    Jul 14, 2010
    Messages:
    89
    Thanks for the positive feedback :)
    I uploaded a new version (4.8.6) that fixes some references to the wrong cell in the damage calculation cells (supposed to refer to ability, didn't, thus ability would have no effect) and added support for Venom Shock and Evil Eye double damage.
    Changed all Earthquake Spiral and Brazen references to Overconfidence as suggested by GtM, although it has no effect in the damage calculator.
  7. yiran

    yiran

    Joined:
    Aug 26, 2010
    Messages:
    283
    Wow this is awesome thanks Slipperjeans!
  8. Seth Vilo

    Seth Vilo

    Joined:
    Mar 6, 2009
    Messages:
    629
    Best thing ever! Who needs candy on Halloween when you wake up to this??
  9. Wafflez

    Wafflez

    Joined:
    Apr 12, 2010
    Messages:
    414
    Awesome!@!!@ Thanks bro ^.^
  10. Goldor

    Goldor

    Joined:
    Oct 10, 2010
    Messages:
    10
    I love you <3

    Thank you very much
  11. thelaytonmobile

    thelaytonmobile

    Joined:
    Jan 26, 2010
    Messages:
    260
    Will this work on OpenOffice Spreadsheet?
  12. Aurabreloom

    Aurabreloom

    Joined:
    Jun 5, 2010
    Messages:
    74
    the scale of this thing is amazing, and all in one place!

    thanks much!
  13. yiran

    yiran

    Joined:
    Aug 26, 2010
    Messages:
    283
    It doesn't work on my mac because of the macros =/

    Never fear, I have PCs at home.
  14. Manxer

    Manxer

    Joined:
    Oct 1, 2010
    Messages:
    50
    Can u fix those bugs in 2003 that u said there could be many, cuz i prefer 2003, it's much easier to use
  15. yiran

    yiran

    Joined:
    Aug 26, 2010
    Messages:
    283
    Talk properly Manxer.

    Anyways it isn't likely that he is going to fix the 2003 bugs for one person while you could easily update your microsoft.
  16. BlackTailedMewtwo

    BlackTailedMewtwo

    Joined:
    Jan 12, 2010
    Messages:
    5
    This is freaking awesome! Exactly what I need.
    Thx a lot
  17. Genmagius

    Genmagius

    Joined:
    Feb 19, 2010
    Messages:
    35
    Great work, seems very usable.

    One little thing I noticed in the stat calculator was that there's a difference in final stats when the EVs are 255 and 252 respectively.

    As far as we all know, those 3 EV shouldn't make any difference at all. Might be a kinda meh thing. but just like to keep it looking perfect ;)

    Edit: This happens in all the + Natures
  18. Aeron Ee1

    Aeron Ee1 Nom nom nom
    is a Contributor Alumnus

    Joined:
    Nov 30, 2009
    Messages:
    743
    Fuck. You, sir, are amazing! Never will I be unable to Theorymon when my Internet is down, ever again!
  19. Dead Gardeviors

    Dead Gardeviors

    Joined:
    Oct 15, 2010
    Messages:
    2
    It lists Enbuoo's dream world ability as thick fat in the damage calculator, should be reckless

    also is there a way to get the damage calculator to say the chance for 2HKOs or 3HKOs? I can't figure that out
  20. Slipperjeans

    Slipperjeans

    Joined:
    Jul 14, 2010
    Messages:
    89
    I don't know. Ete has had success in running it so I think so. Maybe with some bugs...

    Well, if I recall correctly, these are all the things that depend on macros:
    • Moveset Coverage Calculator
    • Exporting Tool in the Damage Calculator
    • All the buttons in Damage Calculator
    You should be able to run it without macros and still have all the other features

    Well, around 500 of the 600 are due to formatting. The other 100 may be functional but I will never be sure if you never tell me what's going wrong.

    Fixed. Thanks!

    Thanks, fixed Enbuoo!

    For the 2HKO or 3HKO, I may add in the future something that calculates multi-turn KOs involving things like Leftovers, Poison, Sandstorm and Leech Seed.

    But for now, you could just deduct the average damage from the defender and then run another calculation.

    ---/---

    Thanks for the positive feedback!
    I uploaded a new version (4.8.7) which contains bug fixes and a few new Pokémon sets for Gen 5 Pokémon that are common.
  21. Mekkah

    Mekkah
    is a Super Moderatoris a Tutor Alumnusis a Site Staff Alumnusis a CAP Contributor Alumnusis a Smogon Media Contributor Alumnusis a Contributor Alumnusis an Administrator Alumnus
    Super Moderator

    Joined:
    Feb 8, 2005
    Messages:
    14,006
    Hey, I might not use this, but this is definitely a lot of awesome work you did right here!
  22. thelaytonmobile

    thelaytonmobile

    Joined:
    Jan 26, 2010
    Messages:
    260
    I had a go at both versions using OpenOffice.
    The damage calculator (which is what I really want to work):
    The Excel2007 version has "Error 511" or something in the damage boxes.
    Excel2003 has "Error520".
    So no luck, but I'll have another go.

    EDIT: When I open it up, it says something like:
    "This spreadsheet contains links to other files. Update these links?"
    No matter whether I pick yes or no, I get the errors.

    EDIT2: Here are what the error messages mean:
    Err:511 Missing variable: The function requires more variables than are provided, e.g. AND() and OR() without parameter.
    Err:520 Internal syntax error: The compiler created an unknown compiler code.
  23. sax king

    sax king

    Joined:
    Mar 6, 2010
    Messages:
    769
    ^^^^
    What he said.
    Also, If I click on a box such as the ability box, it doesn't give me a drop down menu, if just gives me a long line of numbers that won't go away and I have to restart the program.
  24. wavedash

    wavedash

    Joined:
    Mar 7, 2009
    Messages:
    337
    Works great in OpenOffice 3.2. Also, this is beautiful on so many levels.
  25. SupremeDirt

    SupremeDirt

    Joined:
    Apr 15, 2009
    Messages:
    609
    It appears you're using the PO translations, correct? Perhaps mention that in the OP, to get rid of any confusion regarding that?

Users Viewing Thread (Users: 0, Guests: 0)