• The moderator of this forum is Austin.
  • Welcome to Smogon! Take a moment to read the Introduction to Smogon for a run-down on everything Smogon.

Programming Pokémon Showdown Damage Calculator

Austin

Schismatic
is a Programmeris a Forum Moderatoris a Community Contributoris a Battle Simulator Moderator Alumnus
Moderator
this is rather nitpicky so im posting it here but is it possible to either add a second wingull set with flyinium z or just change the wingull set rn from life orb to flyinium? its pretty annoying to calc wingull because the wingull on the calc is set to hold life orb rather than flyinium, which is what most wingull run nowadays, and having to find and change the item just to not mess with calcs can be inconvenient. not to mention that wingull will often be in play multiple times during a match so having the set hold flyinium instead would make it less time consuming to calc. and yes i realize you can import sets onto the calc but that set only appears for your computer so it would make it more universally convenient to just change the item wingull holds from life orb to flyinium or to just add a flyinium set.
Change the set on smogon and sure, we rip all of our sets from here
 
Last edited:
Just noticed there is a dedicated thread to damage calc bugs. Discovered in the bug report thread so I'll repost here since it's more appropriate.



Metronome (the item) does not function correctly, giving incorrect boost values. Here's a specific quote from the thread with more detail.

The damage calculator is implementing Metronome as no boost for the first use, then x1.1, then x1.32 (applying both a 1.1 and a 1.2 boost), then x1.716 (all of 1.1, 1.2, and 1.3), then x2.4024 (tacking on a 1.4 as well). Battle source, on the other hand, simply adds a flat 1.2 to the multiplier each time...with the implication that the move wouldn't max out until the 6th use, rather than the 5th?
Easy example:

1 time: 252 SpA Abomasnow Blizzard vs. 0 HP / 0 SpD Abomasnow: 162-192 (50.4 - 59.8%) -- guaranteed 2HKO
5 times: 252 SpA Metronome Abomasnow Blizzard vs. 0 HP / 0 SpD Abomasnow: 389-461 (121.1 - 143.6%) -- guaranteed KO in 1 turns


Metronome's maximum damage multiplier is 2x, so it's clear to see that the damage here is way off.
 

BigPimpin12

Banned deucer.
While using the calculator I noticed that Rocky Helmet wasn't available as an item and it seems like it should be given that it affects damage output and ranges. I asked in Help if this was something intentional or if I was just missing something and was asked to post about it here so here I am.

dmgcalc.png

This is currently what is listed for items beginning with 'R.'
 

MacChaeger

Go ahead, I’m bulletproof!
is a Programmer Alumnusis a Battle Simulator Moderator Alumnus
Noticed a bug where switching from the default Abomasnow set to a blank Gyarados set didn't change the displayed max hp, so it still showed 321 instead of 331. Also, if you're going to have weather persist after changing out the Pokemon whose ability set it automatically, can the default Pokemon not be Abomasnow? It's pretty annoying to have to turn off the hail for every first calculation.
 
Not all of the berries for natural gift work, and one isn't even there, which forces you to make up a move and adjust the BP to do an accurate calc.
Wiki
Aguav
Aspear
Bluk
Cheri
Cornn
Figy
Grepa
Hondew
Iapapa
Kelpsy
Mago
Magost
Nanab
Nomel
Pamtre
Pecha
Persim
Pinap
Pomeg
Qualot
Rabuta
Razz
Spelon
Tamato
Wepear

In addition, Lum does not appear in the calc at all, much less to use for natural gift purposes (It's typically an 80 BP flying move).

Thanks,
Bortortle
 

Alakazam

You are filled with Determination
is a member of the Site Staffis a Forum Moderatoris a Contributor to Smogon
Moderator
0- Atk Blaze Mewtwo-Mega-Y Fire Spin vs. 0 HP / 4 Def Kartana: 68-84 (26.2 - 32.4%) -- guaranteed 3HKO after trapping damage

If I'm not mistaken, Calc considers fire spin a physical move (was calcing a nonserious balanced hackmons set when I noticed this)
 

Alakazam

You are filled with Determination
is a member of the Site Staffis a Forum Moderatoris a Contributor to Smogon
Moderator
"I have two bugs to report, both having to do with the Showdown calculator. Not sure if either have been reported before. The first, and most important one, is that the calculator will sometimes carry over HP stats to other mons without indicating with the Base Hp Stat. This can be remedied if you add HP evs to the Pokemon, but it can still lead to miscalcs if the player isn't expecting the bug. I notice this usually happens if I switch to calcing a specific custom set I have imported to the calc, which leads me to believe it is an issue with the cookies.

The second bug is a minor one: For Necrozma's Photon Geyser, it does not ignore multiscale when calcing. Seems like an easy fix. edit: irrelevant bc it was already fixed

TYVM, have a good one"

(Originally posted this in a Bug Reports thread, moving it here)
 
Last edited:
I don't know if this is a bug or a design choice, but the chance-to-KO feature goes a bit screwy when the maximum damage is exactly enough to KO.
+2 252 SpA Life Orb Thundurus Thunderbolt vs. 212 HP / 0 SpD Tyranitar in Sand: 250-294 (63.4 - 74.6%) -- guaranteed 2HKO after Stealth Rock and 1 layer of Spikes
+2 252 SpA Life Orb Thundurus Thunderbolt vs. 208 HP / 0 SpD Tyranitar in Sand: 250-294 (63.6 - 74.8%) -- guaranteed 2HKO after Stealth Rock and 1 layer of Spikes
+2 252 SpA Life Orb Thundurus Thunderbolt vs. 204 HP / 0 SpD Tyranitar in Sand: 250-294 (63.7 - 75%) -- 6.3% chance to OHKO after Stealth Rock and 1 layer of Spikes
+2 252 SpA Life Orb Thundurus Thunderbolt vs. 200 HP / 0 SpD Tyranitar in Sand: 250-294 (63.9 - 75.1%) -- guaranteed 2HKO after Stealth Rock and 1 layer of Spikes
+2 252 SpA Life Orb Thundurus Thunderbolt vs. 196 HP / 0 SpD Tyranitar in Sand: 250-294 (64.1 - 75.3%) -- 6.3% chance to OHKO after Stealth Rock and 1 layer of Spikes
+2 252 SpA Life Orb Thundurus Thunderbolt vs. 192 HP / 0 SpD Tyranitar in Sand: 250-294 (64.2 - 75.5%) -- 6.3% chance to OHKO after Stealth Rock and 1 layer of Spikes
 
I don't know if this is a bug or a design choice, but the chance-to-KO feature goes a bit screwy when the maximum damage is exactly enough to KO.
+2 252 SpA Life Orb Thundurus Thunderbolt vs. 212 HP / 0 SpD Tyranitar in Sand: 250-294 (63.4 - 74.6%) -- guaranteed 2HKO after Stealth Rock and 1 layer of Spikes
+2 252 SpA Life Orb Thundurus Thunderbolt vs. 208 HP / 0 SpD Tyranitar in Sand: 250-294 (63.6 - 74.8%) -- guaranteed 2HKO after Stealth Rock and 1 layer of Spikes
+2 252 SpA Life Orb Thundurus Thunderbolt vs. 204 HP / 0 SpD Tyranitar in Sand: 250-294 (63.7 - 75%) -- 6.3% chance to OHKO after Stealth Rock and 1 layer of Spikes
+2 252 SpA Life Orb Thundurus Thunderbolt vs. 200 HP / 0 SpD Tyranitar in Sand: 250-294 (63.9 - 75.1%) -- guaranteed 2HKO after Stealth Rock and 1 layer of Spikes
+2 252 SpA Life Orb Thundurus Thunderbolt vs. 196 HP / 0 SpD Tyranitar in Sand: 250-294 (64.1 - 75.3%) -- 6.3% chance to OHKO after Stealth Rock and 1 layer of Spikes
+2 252 SpA Life Orb Thundurus Thunderbolt vs. 192 HP / 0 SpD Tyranitar in Sand: 250-294 (64.2 - 75.5%) -- 6.3% chance to OHKO after Stealth Rock and 1 layer of Spikes
Does this only happen when the target is taking damage from stealth rock and spikes?
 

Felixx

I'm back.
Mold Breaker, Teravolt and Turboblaze are not ignoring Multiscale/Shadow Shield as intended at the moment:

252+ Atk Teravolt Zekrom Outrage vs. 0 HP / 0 Def Multiscale Dragonite: 250-295 (77.3 - 91.3%) -- guaranteed 2HKO

252+ Atk Mold Breaker Rampardos Stone Edge vs. 0 HP / 0 Def Multiscale Dragonite: 225-265 (69.6 - 82%) -- guaranteed 2HKO

252 SpA Choice Specs Turboblaze Kyurem-White Ice Beam vs. 0 HP / 0 SpD Multiscale Lugia: 186-219 (52.6 - 62%) -- guaranteed 2HKO

252 Atk Marshadow Spectral Thief vs. 0 HP / 0 Def Shadow Shield Lunala: 318-374 (76.6 - 90.1%) -- guaranteed 2HKO


Also when calculating, Multiscale/Shadow Shield aren't taking into the effect that the second and consecutive attacks do twice the amount of the first:

252 Atk Lopunny Return vs. 0 HP / 0 Def Multiscale Dragonite: 61-72 (18.8 - 22.2%) -- possible 5HKO (it should be 3HKO)
Mold Breaker, Teravolt, and Turboblaze aren't suppose to ignore Shadow Shield, they do bypass Multiscale though
 
252+ SpA Seviper Acid Downpour (175 BP) vs. 0 HP / 4 SpD Tapu Koko: 660-776 (234.8 - 276.1%) -- guaranteed OHKO after poison damage
Why does the poison damage matter? If it doesn't, then why does it display?
 
why don't add the moves, items and abilities that left in the calc? Aswell might want to updated some sets that are still being old in the cal (even they got updated on the analysis)
 

Austin

Schismatic
is a Programmeris a Forum Moderatoris a Community Contributoris a Battle Simulator Moderator Alumnus
Moderator
why don't add the moves, items and abilities that left in the calc? Aswell might want to updated some sets that are still being old in the cal (even they got updated on the analysis)
Which moves, items, and abilities are missing? If you give me the list I’ll add them asap
 
So as you requested to me to here is the list of the moves, items and abilities that left to be added on the calculator:

Absorb, Acid, Acid Armor, Acupressure, After You, Ally Switch, Aqua Ring, Aromatic Mist, Assist, Attract, Aurora Veil, Baby-Doll-Eyes, Baneful Bunker, Barrage, Beat Up, Bide, Block, Bubble, Camouflage, Captitative, Celebrate, Charge, Charm, Comet Punch, Confide, Confusion, Constrict, Conversion/2, Copycat, Cosmic Power, Cotton Spore, Counter, Crush Grip, Cut, Detect, Dizzy Punch, Dragon Dance, Dragon Breath, Echoed Voice, Eerie Impulse, Egg Bomb, Electrify, Embargo, Ember, Entrainment, Fairy Lock, Fairy Wind, Fake Tears, False Swipe, Feather Dance, Fissure, Flash, Flatter, Flower Healing, Flower Shield, Focus Energy, Follow Me, Foresight, Fury Attack, Fury Cutter, Gastro Acid, Gear Up, Grass Whistle, Grassy Terrain, Gravity, Growl, Growth, Grudge, Guard Split, Guard Swap, Guillotine, Hail, Happy Hour, Harden, Happy Hour, Headbutt, Heal Block, Heart Swap, Hear Crash, Hold Back, Hold Hands, Horn Drill, Howl, Hypnosis, Ice Ball, Imprison, Ion Deluge, Instruct, Karate Chop, Kinesis, Laser Focus, Leafage, Leer, Lick, Lock On, Lucky Chant, Magic Room, Magnetic Flux, Magnitude, Mat Block, Mean Look, Meditate, Mega Drain, Mega Kick, Mega Punch, Memento, Metal Burst, Metal Sound, Metronome, Mimic, Mind Reader, Minimize, Miracle Eye, Mirror Coat, Mist, Misty Terrain, Morning Sun, Mud Slap, Mud Spot, Nightmare, Noble Roar, Octazooka, Odor Sleuth, Pain Split, Parting Shot, Pay Day, Peck, Perish Song, Petal Blizzard, Play Nice, Poison Gas, Poison Powder, Poison Sting, Pound, Powder, Powder Snow, Power Split, Power Swap, Power Trick, Present, Psybeam, Psychic Terrain, Psych Up, Psywave, Purify, Quash, Rage, Rain Dance, Razor Wing, Reflect Type, Role Play, Rolling Kick, Rollout, Rototiller, Safeguard, Sand Attack, Sandstorm, Scary Face, Scratch, Screech, Sharpen, Shore Up, Simple Beam, Sketch, Skill Swap, Slam, Sleep Powder, Smelling Salts, Smog, Smokescreen, Snatch, Snore, Soak, Speed Swap, Spider Web, Spike Cannon, Spite, Spit Up, Splash, Spotlight, Stomp, Strength, Strength Sap, String Shot, Stun Spore, Supersonic, Swallow, Sweet Kiss, Sweet Scent, Tail Whip, Tearful Look, Teeter Dance, Telekinesis, Teleport, Thunder Shock, Tickle, Topsy-Turvy, Torment, Toxic Thread, Transform, Trick-or-Treat, Triple Kick, Trump Card, Twister, Venom Drench, Vine Grip, Vine Whip, Water Sport, Withdraw, Wonder Room, Work Up, Worry Seed.

//deal with ability functions//
Anger Point, Anticipation, Aroma Veil, Big Pecks, Cheek Pouch, Color Change, Competitive, Compound Eyes, Cursed Body, Cute Charm, Damp, Early Bird, Effect Spore, Flame Body, Flower Veil, Frisk, Friend Guard, Gluttony, Gooey, Healer, Heavy Metal, Heatproof, Harvest, Hustle, Hydration, Honey Gather, Illuminate, Illusion, Inmunity, Imposter, Inner Focus, Insomnia, Iron Barbs, Keen Eye, Leaf Guard, Light Metal, Limber, Magic Bounce, Magician, Magma Armor, Magnet Pull, Moody, Moxie, Multiscale, Multitype, Mummy, Natural Cure, No Guard, Normalize, Oblivious, Own Tempo, Persistent, Pickpocket, Pickup, Poison Point, Prankster, Pressure, Serene Grace, Shadow Tag, Shed Skin, Speed Boost, Stall, Stance Change, Static, Steadfast, Stench, Suction Cups, Super Luck, Sweet Veil, Symbiosis, Synchronize, Tangled Feet, Telepathy, Trace, Truant, Unburden, Victory Star, Vital Spirit, Water Veil, Wonder Skin, Zen Mode.

Hope it helps out to make calculator better Austin
 
Last edited by a moderator:
So as you requested to me to here is the list of the moves, items and abilities that left to be added on the calculator:

Absorb, Acid, Acid Armor, Acupressure, After You, Ally Switch, Aqua Ring, Aromatic Mist, Assist, Attract, Aurora Veil, Baby-Doll-Eyes, Baneful Bunker, Barrage, Beat Up, Bide, Block, Bubble, Camouflage, Captitative, Celebrate, Charge, Charm, Comet Punch, Confide, Confusion, Constrict, Conversion/2, Copycat, Cosmic Power, Cotton Spore, Counter, Crush Grip, Cut, Detect, Dizzy Punch, Dragon Dance, Dragon Breath, Echoed Voice, Eerie Impulse, Egg Bomb, Electrify, Embargo, Ember, Entrainment, Fairy Lock, Fairy Wind, Fake Tears, False Swipe, Feather Dance, Fissure, Flash, Flatter, Flower Healing, Flower Shield, Focus Energy, Follow Me, Foresight, Fury Attack, Fury Cutter, Gastro Acid, Gear Up, Grass Whistle, Grassy Terrain, Gravity, Growl, Growth, Grudge, Guard Split, Guard Swap, Guillotine, Hail, Happy Hour, Harden, Happy Hour, Headbutt, Heal Block, Heart Swap, Hear Crash, Hold Back, Hold Hands, Horn Drill, Howl, Hypnosis, Ice Ball, Imprison, Ion Deluge, Instruct, Karate Chop, Kinesis, Laser Focus, Leafage, Leer, Lick, Lock On, Lucky Chant, Magic Room, Magnetic Flux, Magnitude, Mat Block, Mean Look, Meditate, Mega Drain, Mega Kick, Mega Punch, Memento, Metal Burst, Metal Sound, Metronome, Mimic, Mind Reader, Minimize, Miracle Eye, Mirror Coat, Mist, Misty Terrain, Morning Sun, Mud Slap, Mud Spot, Nightmare, Noble Roar, Octazooka, Odor Sleuth, Pain Split, Parting Shot, Pay Day, Peck, Perish Song, Petal Blizzard, Play Nice, Poison Gas, Poison Powder, Poison Sting, Pound, Powder, Powder Snow, Power Split, Power Swap, Power Trick, Present, Psybeam, Psychic Terrain, Psych Up, Psywave, Purify, Quash, Rage, Rain Dance, Razor Wing, Reflect Type, Role Play, Rolling Kick, Rollout, Rototiller, Safeguard, Sand Attack, Sandstorm, Scary Face, Scratch, Screech, Sharpen, Shore Up, Simple Beam, Sketch, Skill Swap, Slam, Sleep Powder, Smelling Salts, Smog, Smokescreen, Snatch, Snore, Soak, Speed Swap, Spider Web, Spike Cannon, Spite, Spit Up, Splash, Spotlight, Stomp, Strength, Strength Sap, String Shot, Stun Spore, Supersonic, Swallow, Sweet Kiss, Sweet Scent, Tail Whip, Tearful Look, Teeter Dance, Telekinesis, Teleport, Thunder Shock, Tickle, Topsy-Turvy, Torment, Toxic Thread, Transform, Trick-or-Treat, Triple Kick, Trump Card, Twister, Venom Drench, Vine Grip, Vine Whip, Water Sport, Withdraw, Wonder Room, Work Up, Worry Seed.

Absorb Bulb, Cell Battery, Damp Rock, Full Incense, Heat Rock, Icy Rock, Lax Incense, Odd Incense, Rock Incense, Rose Incense, Sea Incense, Wave Incense.

Anger Point, Anticipation, Aroma Veil, Big Pecks, Cheek Pouch, Color Change, Competitive, Compound Eyes, Cursed Body, Cute Charm, Damp, Early Bird, Effect Spore, Flame Body, Flower Veil, Frisk, Friend Guard, Gluttony, Gooey, Healer, Heavy Metal, Heatproof, Harvest, Hustle, Hydration, Honey Gather, Illuminate, Illusion, Inmunity, Imposter, Inner Focus, Insomnia, Iron Barbs, Keen Eye, Leaf Guard, Light Metal, Limber, Magic Bounce, Magician, Magma Armor, Magnet Pull, Moody, Moxie, Multiscale, Multitype, Mummy, Natural Cure, No Guard, Normalize, Oblivious, Own Tempo, Persistent, Pickpocket, Pickup, Poison Point, Prankster, Pressure, Serene Grace, Shadow Tag, Shed Skin, Speed Boost, Stall, Stance Change, Static, Steadfast, Stench, Suction Cups, Super Luck, Sweet Veil, Symbiosis, Synchronize, Tangled Feet, Telepathy, Trace, Truant, Unburden, Victory Star, Vital Spirit, Water Veil, Wonder Skin, Zen Mode.

Hope it helps out to make calculator better Austin
A lot of these have no effect on damage, so I think adding them would be a waste of time. Remember, programmers are people, too.
 
A lot of these have no effect on damage, so I think adding them would be a waste of time. Remember, programmers are people, too.
I know some of them might be useless adding but some others none and it gives a more realistic usage just trying to help, i made the post now they can ignore it, add some or add everything, is up to them, i'm not trying to pressure or make anyone work for no reason, just thought that if they are real moves/abilities/items why don't just add them :blobshrug:
 

Mellow

balls batty and dick
is a Contributor Alumnus
Not sure if this is the place to post it but there seems to be a bug in how the calculator works out the % chance to kill of repeated use of moves that weaken offensive stats (like Superpower and Draco Meteor for example). It seems to show the reverse percentage of what it should - as in, say if a move has a 75% chance to 2HKO, it will say it has a 25% chance to 2HKO. Examples below.



 
Last edited:
https://media.discordapp.net/attachments/374666310035963905/456926047624232974/unknown.png

https://media.discordapp.net/attachments/374666310035963905/456926120319647754/unknown.png

https://media.discordapp.net/attachments/374666310035963905/456926167132536854/unknown.png

so as u can see in the last imagine, when using Once, Twice or more times for draco, it doesnt take choice specs into the count, with everything else it works and like if u put Lifeorb on kingdra instead of specs, doing calc by last picture it will deal more damage with lifeorb then specs.
 
https://media.discordapp.net/attachments/374666310035963905/456926047624232974/unknown.png

https://media.discordapp.net/attachments/374666310035963905/456926120319647754/unknown.png

https://media.discordapp.net/attachments/374666310035963905/456926167132536854/unknown.png

so as u can see in the last imagine, when using Once, Twice or more times for draco, it doesnt take choice specs into the count, with everything else it works and like if u put Lifeorb on kingdra instead of specs, doing calc by last picture it will deal more damage with lifeorb then specs.
I don't understand what you are saying, the calcs you see are good.
Draco Meteor (once) without Choice Specs does 29.2 - 34.8% , so with Choice Specs it should do as with +1 SpA, which is 44.2 - 52.2% if you check the calc. This is exactly the value you are reporting, so there is no mistake here.
Also Life Orb does not do more damage, it does 38 - 45.3%.

EDIT: removed my comments about more hits since I didn't test it completely, see below
 
Last edited:
uhh, no its not that, check last post, after using 1st draco it ignores specs calculations in there. try putting that u already used specs draco once second time it will be -2 as supposed but specs dmg is not calced.
 
Ok, I understood, there is indeed a bug that I will develop further down so it gets fixed more easily.
But I realized it after much testing, since your explanation was really not clear and misleading:
- your first post makes believe that even with 'Once', the calc doesn't work, but it does
- currently Life Orb does not do more damage at 'Twice' than Specs, you have to go to '3 times' for it to happen and make the bug obvious, which is what mislead me
- the pics you provided do not make obvious what the bug is (a pic with 3 times with Specs, and 3 times with Life Orb would clearly show there is a problem for instance)

Anyway thanks for the hint, and here is a detailed report:
Choice items (I tested both) do not work well with multi-hit moves (I tested Superpower for instance too).
From the second hit on, these items are not taken into account anymore.

Here is the proof:
252+ SpA Choice Specs Kingdra Draco Meteor vs. 248 HP / 208+ SpD Mantine: 165-195 (44.2 - 52.2%)
so the min damage is 165.
-2 252+ SpA Choice Specs Kingdra Draco Meteor vs. 248 HP / 208+ SpD Mantine: 84-99 (22.5 - 26.5%)
so the min damage at -2 SpA is 84, so the total min damage of 'Twice' Draco Meteor should be 249.
But currently we have: 252+ SpA Choice Specs Kingdra Draco Meteor over 2 turns vs. 248 HP / 208+ SpD Mantine: 220-261 (58.9 - 69.9%)
And 220-165=55 which is the result of no choice Specs for the second hit:
-2 252+ SpA Kingdra Draco Meteor vs. 248 HP / 208+ SpD Mantine: 55-66 (14.7 - 17.6%)
demonstrating that indeed after the first hit, the Choice Specs is not taken into account anymore.
 

FriendOfMrGolem120

aka. FOMG
is a Forum Moderatoris a Community Contributoris a Contributor to Smogonis a Battle Simulator Moderatoris a defending SPL Champion
Moderator
Screenshot-2018-6-27 A Pokémon Calculator.png

This occured after I removed the primary type of a pokemon (as can be seen in the screenshot in the spoiler). I would not consider this a real bug myself since primary typings are mandatory but since the calculator tells me to: Austin
Also attack reductions should affect the struggle damage in this gen and not special attack reductions (which is right in battles but wrong in the calculator).
Screenshot-2018-6-27 A Pokémon Calculator(1).png

Edit: This happened for Gen 2
 
Last edited by a moderator:
Since the removal of ORAS movesets, some errors have crept in. Machoke, despite its NFE status, no longer works in combo with Eviolite. See the following calcs:
To compare, I did the calcs with Gurdurr but with the BST of Machoke:
This is the only malfunction that I found but it is not impossible that other NFEs are concerned.
There is someone?
 

Users Who Are Viewing This Thread (Users: 1, Guests: 0)

Top