• 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, and make sure you take some time to read the global rules.

Programming Pokémon Showdown Damage Calculator

I believe triple axel in the damage calculator is wrong
The damage calculator does 40 40 40 for the 3 hits, when it should be 20 40 60
This fails because of rounding


252 Atk Weavile Triple Axel (40 BP) (3 hits) vs. 0 HP / 0 Def Metagross-Mega: 63-78 (20.9 - 25.9%) -- approx. 0.1% chance to 4HKO Possible damage amounts: (21, 22, 22, 22, 23, 23, 23, 24, 24, 24, 24, 24, 24, 25, 25, 26)
thats 3 triple axel hits with 40 40 40, does 63 hp damage min


252 Atk Weavile Ice Punch vs. 0 HP / 0 Def Metagross-Mega: 11-13 (3.6 - 4.3%) -- possibly the worst move ever Possible damage amounts: (11, 11, 11, 11, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 13) (20 base power axel)
252 Atk Weavile Ice Punch vs. 0 HP / 0 Def Metagross-Mega: 21-26 (6.9 - 8.6%) -- possibly the worst move ever Possible damage amounts: (21, 22, 22, 22, 23, 23, 23, 24, 24, 24, 24, 24, 24, 25, 25, 26) (40 base power axel)
252 Atk Weavile Ice Punch vs. 0 HP / 0 Def Metagross-Mega: 33-39 (10.9 - 12.9%) -- possible 8HKO Possible damage amounts: (33, 33, 33, 33, 34, 34, 35, 35, 36, 36, 36, 36, 37, 37, 38, 39) (60 base power axel)
min roll is 11+21+33, which is 65, not 63
 
Is there an error with Low Kick on the damage calculator, or am I doing something wrong? By comparing the Smogon Damage Calc with the Pikalytics damage calc, it looks like Low Kick's damage is receiving a hidden +1 boost (slightly more, maybe due to rounding):

Smogon damage calc for level 50 mons, doubles, no field effects other than sun, no boosts applied to any stats:

252 Atk Life Orb Technician Marshadow Low Kick (120 BP) vs. 252 HP / 4 Def Groudon: 146-173 (70.5 - 83.5%) -- guaranteed 2HKO
Possible damage amounts: (146, 148, 149, 152, 153, 156, 156, 157, 160, 161, 164, 165, 168, 169, 172, 173)

252 Atk Life Orb Marshadow Spectral Thief vs. 252 HP / 4 Def Groudon: 74-87 (35.7 - 42%) -- guaranteed 3HKO
Possible damage amounts: (74, 74, 75, 75, 78, 78, 78, 79, 79, 82, 82, 83, 83, 86, 86, 87)

Pikalytics damage calc for same sets and conditions:

252 Atk Life Orb Marshadow Low Kick (120 BP) vs. 252 HP / 4 Def Groudon: 99-117 (47.8 - 56.5%) -- 80.9% chance to 2HKO
(99, 99, 101, 101, 103, 105, 105, 107, 107, 109, 110, 110, 113, 113, 114, 117)

252 Atk Life Orb Marshadow Spectral Thief vs. 252 HP / 4 Def Groudon: 74-87 (35.7 - 42%) -- guaranteed 3HKO
(74, 74, 75, 75, 78, 78, 78, 79, 79, 82, 82, 83, 83, 86, 86, 87)

Note that the amounts for Spectral Thief match, but Low Kick does not.

Pikalytics damage calc for same sets but giving Marshadow a +1 Attack boost:

+1 252 Atk Life Orb Marshadow Low Kick (120 BP) vs. 252 HP / 4 Def Groudon: 144-172 (69.5 - 83%) -- guaranteed 2HKO
(144, 146, 148, 149, 152, 153, 156, 156, 157, 160, 161, 164, 165, 168, 169, 172)

+1 252 Atk Life Orb Marshadow Spectral Thief vs. 252 HP / 4 Def Groudon: 109-130 (52.6 - 62.8%) -- guaranteed 2HKO
(109, 110, 113, 113, 114, 117, 117, 118, 121, 121, 122, 125, 125, 126, 129, 130)

The Low Kick calcs are now closer to the Smogon Damage Calc (although they differ by 1 damage point).

As much as I'd love for Marshadow to be able to chunk ~75% of Groudon's health with low kick, in an in-game test it only did a little bit less than 50%, more consistent with the Pikalytics calc than Smogon's. (The test was with lvl 100 mons and Groudon maybe had 0 def, but this wouldn't account for the difference).
 
Is there an error with Low Kick on the damage calculator, or am I doing something wrong? By comparing the Smogon Damage Calc with the Pikalytics damage calc, it looks like Low Kick's damage is receiving a hidden +1 boost (slightly more, maybe due to rounding):

Smogon damage calc for level 50 mons, doubles, no field effects other than sun, no boosts applied to any stats:

252 Atk Life Orb Technician Marshadow Low Kick (120 BP) vs. 252 HP / 4 Def Groudon: 146-173 (70.5 - 83.5%) -- guaranteed 2HKO
Possible damage amounts: (146, 148, 149, 152, 153, 156, 156, 157, 160, 161, 164, 165, 168, 169, 172, 173)

252 Atk Life Orb Marshadow Spectral Thief vs. 252 HP / 4 Def Groudon: 74-87 (35.7 - 42%) -- guaranteed 3HKO
Possible damage amounts: (74, 74, 75, 75, 78, 78, 78, 79, 79, 82, 82, 83, 83, 86, 86, 87)

Pikalytics damage calc for same sets and conditions:

252 Atk Life Orb Marshadow Low Kick (120 BP) vs. 252 HP / 4 Def Groudon: 99-117 (47.8 - 56.5%) -- 80.9% chance to 2HKO
(99, 99, 101, 101, 103, 105, 105, 107, 107, 109, 110, 110, 113, 113, 114, 117)

252 Atk Life Orb Marshadow Spectral Thief vs. 252 HP / 4 Def Groudon: 74-87 (35.7 - 42%) -- guaranteed 3HKO
(74, 74, 75, 75, 78, 78, 78, 79, 79, 82, 82, 83, 83, 86, 86, 87)

Note that the amounts for Spectral Thief match, but Low Kick does not.

Pikalytics damage calc for same sets but giving Marshadow a +1 Attack boost:

+1 252 Atk Life Orb Marshadow Low Kick (120 BP) vs. 252 HP / 4 Def Groudon: 144-172 (69.5 - 83%) -- guaranteed 2HKO
(144, 146, 148, 149, 152, 153, 156, 156, 157, 160, 161, 164, 165, 168, 169, 172)

+1 252 Atk Life Orb Marshadow Spectral Thief vs. 252 HP / 4 Def Groudon: 109-130 (52.6 - 62.8%) -- guaranteed 2HKO
(109, 110, 113, 113, 114, 117, 117, 118, 121, 121, 122, 125, 125, 126, 129, 130)

The Low Kick calcs are now closer to the Smogon Damage Calc (although they differ by 1 damage point).

As much as I'd love for Marshadow to be able to chunk ~75% of Groudon's health with low kick, in an in-game test it only did a little bit less than 50%, more consistent with the Pikalytics calc than Smogon's. (The test was with lvl 100 mons and Groudon maybe had 0 def, but this wouldn't account for the difference).
I think the first calc has the technician boost applied even though low kick exceeds 60 BP
 
I think the first calc has the technician boost applied even though low kick exceeds 60 BP
Ah, cheers, that indeed seems to be the issue on Smogon's calc; changing the ability lowers the damage. The pikalytics calc seems to account for this interaction.
 
2 things ADD BDSP calc pls, is very annoying to customize items/moves in sm, in a game with timer i'm saying this specially for rands game where u have no idea about the sets
The second is to fix the error of rands calc where the megaevolutions doesn't appear in the calc and even worse is that they can't identify abilities like pixilate+return
 
So I've discovered when trying to use the dmg calculator in regards to OM's it's rather frustrating having to type out the base stats of mons (for OMs that allow you to do this) especially when doing multiple pokemon. So I think it would be handy if there was an option that you can click on at the top, that had OM and then the various OMs that allow base stats to be changed (such as godly gift and re-evolution) and then when you select or input a mon it has the correct base stats. Sort of like how you can go /reevo to see the correct stats of mons for that format in showdown. Could do it via a command instead of a drop down option. Would love to see something like this be implemented, thanks.

p.s. could also do something like when you import/export the teams it has the changed base stats as another line above the ev spreads if that works better.
 
Hi!

The Metronome item does nothing in the damage calculator in the DPP section. It's also only allowing you to select only up to 5 consecutive uses, which makes sense if it's trying to use the Black/White version of the item. I think it is because if you switch the calc to BW the item works as you think it would.

Steps to reproduce:
1. Open up damage calc
2. Switch to DPP at the top
3. Change the item of either Abomasnow to Metronome
4. Adjust any of the "how many times was this used before and consecutively" dropdowns
5. Notice no amount of fiddling with the settings for the Metronome causes damage calc differences.

I thought this was a bug related to having protect on the set. I removed protect from both Abomanow, but no change arose.
 
Expanding force does not take into account non-grounded Pokemon. Either with the flying type, levitate or air balloon
 

sharpclaw

is a Forum Moderatoris a Community Contributor
Moderator
When clicking the Dynamax button for Urshifu-Rapid-Strike-Gmax, the Crit button for Surging Strikes persists as On, even though G-Max Rapid Flow isn't an auto-crit move. Thanks!
 
Hi !
I have one request that I'm sure many will agree: Adding a dark theme option in damage calculator !

Due to low vision and being prone to eye inflamation (which cause photophobia during flareups), light themes are uncomfortable for me, so I use dark mode everywhere when possible: cellphone settings, discord, twitch, facebook, youtube, showdown, etc. Even people with no vision issue find dark themes easier to read than light theme.

I hope this feature is planned to be added because it's the main reason why I don't use the calculator often.

Regards
Gardevoir Queen Ishimaru
 
Apparently black sludge and leftovers are ignored in the process of calculating probablity that involves offensive stat changing moves that is used for over 2 turns.

22nd September 2022: added 2 more calcs because i thought stealth rock was the cause of this chaos but nope it was just these moves as a whole that needs repairing in the calc

252 SpA Contrary Serperior Leaf Storm over 2 turns vs. 252 HP / 152+ SpD Toxapex: 268-316 (88.1 - 103.9%) -- guaranteed KO in 2 turns after Stealth Rock and Black Sludge recovery

252 SpA Contrary Serperior Leaf Storm over 2 turns
vs. 252 HP / 152+ SpD Toxapex: 268-316 (88.1 - 103.9%) -- guaranteed KO in 2 turns after Stealth Rock and Leftovers recovery

252 SpA Contrary Serperior Leaf Storm over 2 turns
vs. 252 HP / 152+ SpD Toxapex: 268-316 (88.1 - 103.9%) -- 25% chance to 2HKO after Black Sludge recovery

252 SpA Contrary Serperior Leaf Storm over 2 turns
vs. 252 HP / 152+ SpD Toxapex: 268-316 (88.1 - 103.9%) -- 25% chance to 2HKO after Leftovers recovery

26th September 2022: i didn't want to double post so this bug is edited in
Utility umbrella is ignored in the calculation process
1664158979243.png
 
Last edited:

Bobsican

Powerscaler at heart
is a Tiering Contributor
Knock Off should have its BP changed after the first hit for the purpose of 2HKOs and above, namely as the move is no longer boosted if the opponent has no held item anymore, although exceptions exist like targets with Sticky Hold and a otherwise removable item.
 
Last edited:
Hello, just created an account after witnessing something weird on the calculator.

Playing randoms, I just noticed that when doing calcs for Urshifu (on my match a Dark Urshifu), the calculator will always activate the flag for critical hit on Wicked Blow. If you then do the calculations for G-Max One Blow, the crit flag will still be on, and in my case missed to OHKO the opposing pokémon (it didn't matter).

Dunno if here is the people that maintain the calculators, but would be nice that the trigger that activates the crit flag on Wicked Blow/Surging Strikes/all other 100% crit attacks probably, also deactivates the flag in case of dynamax.

Hope it helps, cheers.
 
idk if this has been reported or not but : 252+ SpA Choice Specs Kyogre Water Spout (150 BP) vs. 252 HP / 252+ SpD Blissey in Rain: 393-463 (55 - 64.8%) -- guaranteed 2HKO
wtf.PNG
The calc ignores the item; utility umbrella which normally ignores "rain- and sun-based effects."
 

Karthik

heroes & villains
is a Programmeris a Battle Simulator Moderator
idk if this has been reported or not but : 252+ SpA Choice Specs Kyogre Water Spout (150 BP) vs. 252 HP / 252+ SpD Blissey in Rain: 393-463 (55 - 64.8%) -- guaranteed 2HKO
This is correct. Utility Umbrella only affects moves used by the holder, not moves targeted at the holder. If Kyogre were to hold the Utility Umbrella then it wouldn't receive the damage boost from rain.
 
This is correct. Utility Umbrella only affects moves used by the holder, not moves targeted at the holder. If Kyogre were to hold the Utility Umbrella then it wouldn't receive the damage boost from rain.
no ur wrong! In the game (pokemon showdown-wise) utility umbrella ignores the effect of both. It reduces the power of a water spout regardless of who holds it between blissey and kyogre. thats a fact.
 

Karthik

heroes & villains
is a Programmeris a Battle Simulator Moderator
no ur wrong! In the game (pokemon showdown-wise) utility umbrella ignores the effect of both. It reduces the power of a water spout regardless of who holds it between blissey and kyogre. thats a fact.
oh yeah you are right my bad lol, I had it mixed up. I know for sure that it won't affect the damage for both though, should only affect the defender.
 
Last edited:

Karthik

heroes & villains
is a Programmeris a Battle Simulator Moderator
I was actually the one to submit a fix for this a year ago funnily enough. Just hasn't been merged yet.
 
oh yeah you are right my bad lol, I had it mixed up. I know for sure that it won't affect the damage for both though, should only affect the defender.
Wut I meant by “affect both” was the fact that — let’s assume a Kroger has an umbrella and is vs a groudon in the normal sun. The water attacks kyogre will unleash won’t have thei power diminished by the sun as it normally would. And the fire attacks groudon might launched on kyogre wont be boosted by the sun. That is how the utility umbrella works.
 

Karthik

heroes & villains
is a Programmeris a Battle Simulator Moderator
let’s assume a Kroger has an umbrella and is vs a groudon in the normal sun. The water attacks kyogre will unleash won’t have thei power diminished by the sun as it normally would.
This part is not true. As seen in this replay, Kyogre deals the same damage with and without the umbrella. Here's the calc to show that the sun is reducing the damage in both hits of scald

0 SpA Kyogre Scald vs. 0 HP / 0 SpD Groudon in Sun: 134-158 (39.2 - 46.3%) -- guaranteed 3HKO
 

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

Top