• 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

Rivalry is showing that pokemon that share a gender with the target (male pokemon vs male pokemon), do less damage than when they attack a pokemon with a different gender (male vs female)
 
https://replay.pokemonshowdown.com/gen8ou-1320198594-jzsprexoyeo85ouoed7qhshuktpedmrpw

It's a calc bug. Zamazenta's on switch in boost is not calculated in the calc. Proof is in the replay and in the calc itself. The tested sets were the ones that are in the calc.
The ranges : +6 252+ Atk Linoone Stomping Tantrum vs. +1 64 HP / 0 Def Zamazenta-Crowned: 346-408 (101.4 - 119.6%) -- guaranteed OHKO
It is supposed to ohko but it deals 69% damage to the zamazenta. Which is the range at "+2"
+6 252+ Atk Linoone Stomping Tantrum vs. +2 64 HP / 0 Def Zamazenta-Crowned: 232-274 (68 - 80.3%) -- guaranteed 2HKO
 
So two issues:
  1. Utility umbrella not ignoring rain's damage boost
  2. Celesteela's "OU usage" set is seems mixed up, the movesets are the typical protect,leech seed set yet the EVs are max spa and max speed with modest as if it's the meteor beam set.
 
sand is misimplemented in adv


1607229493363.png


this ones correct cause it correctly implements sand in the turn order, so it records this as being a sure 2hko


1607229403756.png


which isnt reflected here, sulcalc implements these slightly more niche, harder to catch things p well;

making some more small tweaks to account for more niche stuff like would be great

sorry to bother, awesome tool overall, thanks for all the hard work
 
I was wondering if we could Add Ingrain and Aqua Ring to the Damage Calculator as a Button. We have Leech Seed, so why not Ingrain and Aqua Ring. Its mainly useful to see if Leftis + Ingrain or Aqua Ring get you out of range of something. Would be great if it could get added.
 
Minor Bug since the last Update of the Import function for custom sets few days ago. When I scroll down my imported pkmn and press enter and scroll down from there I automatically jump to the first one instead of the next pkmn in the list when I reach number 30 or 31.
 
Mold Breaker/ability-ignoring moves ignore abilities that increase, decrease, or prevent hazard/end-of-turn damage and gives end-of-turn healing. IIRC this was brought up and fixed for Poison Heal but there's a few others.

Mold Breaker/ability-ignoring moves allow weather damage to occur against Pokemon with Sand Veil, Sand Force, Sand Rush, Snow Cloak, and Overcoat
(Same results for all of the above)
252+ Atk Iron Plate Solgaleo Sunsteel Strike vs. 252 HP / 252+ Def Reuniclus: 195-229 (45.9 - 54%) -- 95.3% chance to 2HKO after sand/hail damage
252+ Atk Iron Plate Mold Breaker Solgaleo Iron Tail vs. 252 HP / 252+ Def Reuniclus: 195-229 (45.9 - 54%) -- 95.3% chance to 2HKO after sand/hail damage
252+ Atk Iron Plate Solgaleo Iron Tail vs. 252 HP / 252+ Def Reuniclus: 195-229 (45.9 - 54%) -- 47.7% chance to 2HKO

Basically every effect that Magic Guard is supposed to prevent is ignored when Mold Breaker/ability-ignoring moves are used (including both entry hazards and end-of-turn damage)
0 Atk Druddigon Iron Tail vs. 0 HP / 0 Def Mew: 85-100 (24.9 - 29.3%) -- 100% chance to 4HKO
0 Atk Druddigon Sunsteel Strike vs. 0 HP / 0 Def Mew: 85-100 (24.9 - 29.3%) -- guaranteed 2HKO after Stealth Rock, Steelsurge, 3 layers of Spikes, Black Sludge damage, Leech Seed damage, poison damage, Vine Lash damage, Wildfire damage, Cannonade damage, and Volcalith damage
0 Atk Mold Breaker Druddigon Iron Tail vs. 0 HP / 0 Def Mew: 85-100 (24.9 - 29.3%) -- guaranteed 2HKO after Stealth Rock, Steelsurge, 3 layers of Spikes, Black Sludge damage, Leech Seed damage, poison damage, Vine Lash damage, Wildfire damage, Cannonade damage, and Volcalith damage

Causes Levitate to be ignored when calculating Spikes damage
0 Atk Druddigon Iron Tail vs. 0 HP / 0 Def Mew: 85-100 (24.9 - 29.3%) -- 0.1% chance to 3HKO after Stealth Rock
0 Atk Druddigon Sunsteel Strike vs. 0 HP / 0 Def Mew: 85-100 (24.9 - 29.3%) -- guaranteed 3HKO after Stealth Rock and 3 layers of Spikes

For Heatproof, burn damage should still be reduced despite the effect on the damage of the attack being ignored.
252+ Atk Mold Breaker Druddigon Fire Punch vs. 252 HP / 4 Def Bronzong: 150-178 (44.3 - 52.6%) -- 22.3% chance to 2HKO after Leftovers recovery and burn damage

The correct result should be:
252+ Atk Druddigon Fire Punch (150 BP) vs. 252 HP / 4 Def Heatproof Bronzong: 150-178 (44.3 - 52.6%) -- 3.9% chance to 2HKO after Leftovers recovery and reduced burn damage
252+ Atk Druddigon Fire Punch vs. (Hardcoded to 349 HP) Bronzong: 150-178 (42.9 - 51%) -- 3.9% chance to 2HKO (252 HP Bronzong has 338 HP, Leftovers heals 21 and reduced burn deals 10 so 349 damage is needed to KO)

For Dry Skin, end-of-turn damage should still apply despite the effect on the damage of the attack being ignored.
0 Atk Druddigon Blaze Kick vs. 0 HP / 0 Def Dry Skin Mew in Sun: 135-159 (39.5 - 46.6%) -- 30.5% chance to 2HKO after Dry Skin damage
0 Atk Mold Breaker Druddigon Blaze Kick vs. 0 HP / 0 Def Mew in Sun: 107-127 (31.3 - 37.2%) -- 84.1% chance to 3HKO

The correct result (with poison mimicking Dry Skin damage) should be:
0 Atk Mold Breaker Druddigon Blaze Kick vs. 0 HP / 0 Def Mew in Sun: 107-127 (31.3 - 37.2%) -- guaranteed 3HKO after poison damage
The same occurs for end-of-turn healing in Rain
+1 0 Atk Mold Breaker Druddigon Liquidation vs. 0 HP / 0 Def Mew in Rain: 161-190 (47.2 - 55.7%) -- 78.5% chance to 2HKO

The correct result (with Poison Heal mimicking Dry Skin recovery) should be:
+1 0 Atk Druddigon Liquidation vs. 0 HP / 0 Def Mew in Rain: 161-190 (47.2 - 55.7%) -- guaranteed 3HKO after Poison Heal
 

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

Top