1. Welcome to Smogon! Check out the Smogon Starters Hangout for everything you need to know about starting out in the community. Don't forget to introduce yourself in the Introduction and Hangout Thread, too!
  2. Welcome to Smogon Forums! Please take a minute to read the rules.

Programming Mass Damage Calculators

Discussion in 'Technical Projects' started by Honko, Sep 4, 2011.

  1. Honko

    Honko
    is a Programmeris a Tiering Contributoris a Contributor to Smogon

    Joined:
    Dec 6, 2009
    Messages:
    1,172
  2. Honko

    Honko
    is a Programmeris a Tiering Contributoris a Contributor to Smogon

    Joined:
    Dec 6, 2009
    Messages:
    1,172
    Update! I cleaned up the detailed damage result a lot, both on the manly calc and the copypastable results for the mass calcs. It now gives all the relevant info, and only the relevant info.

    For example:
    252+ Atk Choice Band Sheer Force Darmanitan Flare Blitz vs. 252 HP / 252+ Def Politoed through Reflect in rain: 47-56 (12.23 - 14.58%) -- 9HKO at best :pirate:
    -1 252+ Atk Wacan Berry Technician Scizor Natural Gift (60 BP Electric) vs. 56 HP / 0 Def Gyarados: 352-416 (102.02 - 120.57%) -- guaranteed OHKO :toast:
    252+ SpA Choice Specs Reshiram Blue Flare vs. 252 HP / 84+ SpD Parasect in sun on a critical hit: 4624-5448 (1427.16 - 1681.48%) -- guaranteed OHKO :naughty:

    Also, I finally deactivated the freehosting.com link. I'd been locked out of that account for months so that version was super outdated. If you're wondering why it's a 404 now, it's because you've been using the wrong version! The byethost link in my sig is the one you want.
  3. Furai

    Furai a ╬ędefender // a ╬▒guardian
    is a Site Staff Alumnusis a Team Rater Alumnusis a Forum Moderator Alumnusis a Community Contributor Alumnusis a Contributor Alumnusis a Smogon Media Contributor Alumnusis a Past SPL Winner

    Joined:
    May 4, 2010
    Messages:
    2,836
    Bullet Seed is also missing~
  4. Honko

    Honko
    is a Programmeris a Tiering Contributoris a Contributor to Smogon

    Joined:
    Dec 6, 2009
    Messages:
    1,172
    No it isn't ;)
  5. hoult66

    hoult66

    Joined:
    Aug 19, 2012
    Messages:
    84
    Is a guts boost accounted for?
  6. alkinesthetase

    alkinesthetase <@dtc> every day with alk is a bad day
    is a Smogon IRC SOp Alumnus

    Joined:
    Nov 8, 2010
    Messages:
    825
    if you mark the status appropriately in the status field, then yes, a guts boost is provided
  7. EtherDrive

    EtherDrive

    Joined:
    Mar 15, 2011
    Messages:
    497
    Shelmet isn't in the defensive calc
  8. Honko

    Honko
    is a Programmeris a Tiering Contributoris a Contributor to Smogon

    Joined:
    Dec 6, 2009
    Messages:
    1,172
    Fixed an annoying 1-character bug in the All vs One calc that was causing most offensive abilities to be ignored there. (Any set that didn't have multiple power-related ability options or multiple power-related item options was dropping the ability completely). This only affected the All vs One calc.
  9. Chieliee

    Chieliee

    Joined:
    Sep 26, 2010
    Messages:
    1,811
    Why is LC no longer supported?
  10. mikel

    mikel @ air baloon
    is a Contributor to Smogonis a Battle Server Admin Alumnusis a Forum Moderator Alumnus

    Joined:
    Jun 26, 2011
    Messages:
    983
    It still is, just look over to the right and there's a dropdown that has "Singles" selected by default. Just swap that to LC by clicking on it and it shows all the LC sets.
  11. hoult66

    hoult66

    Joined:
    Aug 19, 2012
    Messages:
    84
    By VCG in the calcuator dont you mean CAP.
  12. Arcticblast

    Arcticblast
    is a Forum Moderator Alumnusis a Community Contributor Alumnusis a Battle Server Moderator Alumnusis a SPL Winner

    Joined:
    Nov 29, 2008
    Messages:
    5,637
    Would it be possible to implement NFE Pokemon? This would help greatly for Other Metagames or even trying out an NFE in an official tier (for example, Gothorita or Scraggy in RU). Sure, you can manually implement the stats, but if you need to do repeated damage calculations it's annoying to input it every time.
  13. JRank

    JRank
    is a Forum Moderator Alumnusis a Contributor Alumnus

    Joined:
    Jan 16, 2010
    Messages:
    1,299
    Couple of things in the VGC portion of the damage calculator.

    1) Muddy Water shows the same amount of damage whether the doubles/triples box is checked or not; it should be at 75% strength in those situations, a la Blizzard.

    2) Feint is not a selectable move (30 BP, Normal-type, Physical)

    3) You can not run calculations with the Therians. They are legal in VGC now so it would be great to have them.

    If you could implement these changes it would be great!
  14. NixHex

    NixHex musty_yugoslavian_teacher
    is a member of the Site Staffis a Forum Moderatoris a Pokemon Researcheris a Contributor to Smogonis a Battle Server Moderator
    Moderator

    Joined:
    Oct 6, 2009
    Messages:
    2,678
    If you want feint, simply set a blank attack to 30 BP, Normal, Physical. Tornadus-T and Thundurus-T have sets, and Landorus-T has a placeholder, so I don't see the issue there... Just choose any Pokemon and edit the base stats and typing manually. Only pokemon with sets on-site will appear in the damage calculator which is why the Therians aren't there.
  15. Honko

    Honko
    is a Programmeris a Tiering Contributoris a Contributor to Smogon

    Joined:
    Dec 6, 2009
    Messages:
    1,172
    Added temporary VGC placeholders for the Therians, added Feint and Foul Play, fixed issues with Muddy Water and Stored Power and Punishment.
  16. V4Victini

    V4Victini Free Ohmagod
    is a Battle Server Administratoris a Smogon IRC AOPis a Programmeris a Forum Moderatoris a Pokemon Researcher
    Moderator

    Joined:
    Apr 20, 2011
    Messages:
    947
  17. Honko

    Honko
    is a Programmeris a Tiering Contributoris a Contributor to Smogon

    Joined:
    Dec 6, 2009
    Messages:
    1,172
    Added Petal Dance and fixed GK/LK power.
  18. Agonist

    Agonist Even as I tear your fucking throat away.
    is a Forum Moderator
    Moderator

    Joined:
    May 22, 2010
    Messages:
    4,402
    Is there any way to factor in Dry Skin recovery (or did I miss something)?
  19. Sciztar

    Sciztar

    Joined:
    Mar 24, 2012
    Messages:
    259
    When will Technichan Breloom be uploaded onto Honko?
  20. Lucario312

    Lucario312

    Joined:
    Jan 2, 2013
    Messages:
    1
    Is it possible to view offensive coverage. What I mean is that instead of seeing what 1 pokemon can do to the entire metagame, if I upload/enter in data for 2 or more pokemon, can I see what their moves can do to the metagame?
  21. The Unlucky one

    The Unlucky one

    Joined:
    Jun 5, 2012
    Messages:
    1,003
    Sky uppercut is not available.
  22. Slashmolder

    Slashmolder 'Ello Governor
    is a Programmer Alumnusis a Researcher Alumnus

    Joined:
    Mar 27, 2011
    Messages:
    278
    The move Sky Attack is missing from the list.
  23. Agent Gibbs

    Agent Gibbs

    Joined:
    Dec 8, 2011
    Messages:
    904
    I've noticed that multi-hit moves are calculated with the damage output of of 3 hits, but would it be possible to just calculate it with one hit? There have been times where I've wondered, "How many times does Breloom need to hit Pokemon X with Bullet Seed to OHKO?" or something, and so I usually have to just plug in Seed Bomb and manually set its base power to 25.

    Otherwise this is an amazing calculator. Thanks for putting so much effort into this!

    Also:

    +6 252+ Atk Metronome Pure Power Shuckle Helping Hand Rollout vs. -6 0 HP / 0- Def Shedinja on a critical hit: 37877428-44561688 (3787742800 - 4456168800%) -- guaranteed OHKO

    That's a Level 100 Power Trick'd Shuckle using Rollout (5th Hit) with a Metronome (10th Hit) after using Defense Curl earlier against a Level 1 Shedinja that somehow had its secondary typing changed from Ghost to Fire. Just saiyan.
  24. lousy918

    lousy918

    Joined:
    Jun 15, 2012
    Messages:
    325
    how about helping hand and flower gift :)
    also why doesn't the calc include sandstorm damage
  25. Others1212

    Others1212

    Joined:
    Jul 15, 2012
    Messages:
    6
    Amazing

    I love this calculator it is incredibly useful. I am really curious how you managed to pull the data off the Smogon website do you mind giving a small explanation honko?

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