• 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

Silver Powder appears not to be working (not boosting bug type moves). I tested this on heracross, yanma and yanmega in gens 3, 4, and 8; none seem to be working.
Looking at the code on GitHub (I hope I have the right to do so '_'), this has been fixed but maybe they are waiting to fix more things before pushing it to the live version
 
Triple Kick isn't getting calc'd properly with Technician. This is against a Corviknight, so the attacks are neutral.
Triple Kick and Thundurus Kick should deal the same damage if I'm not mistaken.

Screenshot 2020-12-26 at 11.15.54 AM.png
 
Triple Kick isn't getting calc'd properly with Technician. This is against a Corviknight, so the attacks are neutral.
Triple Kick and Thundurus Kick should deal the same damage if I'm not mistaken.

View attachment 302581
The problem is not about Triple Kick + Technician, it's just Triple Kick alone.
It seems to be computed like a move that does 3 hits where each hit uses the input base power (which defaults to 10).
So by default, it's similar to a 30bp move.
On the other hand, its counterpart Triple Axel seems to be hard coded as a 40bp move so it's computed like a move that does 3 hits of 40bp each.
So neither move is really computed exactly like it should.
To mimic Triple Axel, Triple Kick should have a hardcoded base power of 20 though.
 

SparksBlade

is a Forum Moderatoris a Community Contributoris a Battle Simulator Driver
Moderator
Neuroforce currently doesn't work in the calc.

0 SpA Neuroforce Heatran Lava Plume vs. 0 HP / 4 SpD Abomasnow: 496-588 (154.5 - 183.1%) -- guaranteed OHKO

0 SpA Heatran Lava Plume vs. 0 HP / 4 SpD Abomasnow: 496-588 (154.5 - 183.1%) -- guaranteed OHKO
 
I don't know if this has been brought up before, but IMO its slightly inconvenient that the four default moves for the calc can include status moves.
AFAIK the sets are ripped from analyses, but when you're calcing, status moves don't do anything. For example, the doubles Diancie set is
Code:
Diamond Storm
Moonblast
Trick Room
Protect
Time entering moves could potentially be saved if it was instead
Code:
Diamond Storm
Moonblast
Body Press
Play Rough
Its not a big deal, but it could really matter in a time sensitive game. Another big thing is that scrolling through the list of moves is extremely painful on mobile.

My proposed solution is to allow all new analyses written to include a 'four most common offensive moves' set specifically used for the calc and update older analyses to include it. This will be hidden on the analysis page, just directly submitted to the calc. This is the best solution, but it could be unfeasible to update all existing sets. An automatic solution is to include 2 slashed (alternate) moves over status moves where possible (executed by whatever program in charge of ripping the analyses sets for use in the calculator). This doesn't seem too difficult to implement in my head.
 
Last edited:
Hello there

I'm new to the forums but have been using the calculator for a few weeks now in my personal offline gaming challenge runs.

I'm not very knowledgeable in Pokémon calculations and mechanics but I noticed a few minor UI bugs that I could fix, so I've registered a few issues on the GitHub page and also created the pull requests with the fixes for them.

Hopefully, you guys can review the changes and approve them if they don't interfere with anything else.

Regards
 
When I close the tab with the calculator and reopen the tab with ctrl+shift+t, it messes up the calculator in a way I don't fully understand. I doubt many people run into this and it might be on my end, but here's a screenshot.

1610840370012.png
 
Hello!
I've noticed that reflect prevents a different amount of damage in singles than in doubles.
That is the intended behavior. From Bulbapedia:
Instead of doubling the Defense of affected Pokémon, Reflect now technically halves the damage done to them by physical moves; it still does not reduce damage done by moves that deal direct damage.

If multiple Pokémon are present on the user's side of the field, all of them are protected by Reflect, but physical damage is only reduced by a third rather than half.
 
I noticed that Rivalry doesn't seem to calculate properly. According to Bulbapedia's description:

"When a Pokémon with Rivalry uses an attack, the attack's power is raised by 25% if the target and the user have the same gender, and is reduced by 25% if the target and the user have opposite genders."

However, when input with Rivalry, it doesn't seem to calculate properly. Rather, it says same-gender is weaker than opposite genders. This doesn't seem like intended behavior. Screenies below.



 
More of a QoL suggestion, but would it be possible that when you check Unburden as activated, Acrobatics is powered up to 110 BP automatically ? This would be faster than manually doubling the BP of the move or removing the item. It would make sense, as Acrobatics is always doubled in power if Unburden is active.

Alternatively, we could add a "knocked off" button in the center part of the calculator. This would affect Knock Off and Acro BP as well as Poltergeist, and also disable item effects for the concerned Pokemon (such as Leftovers recovery, Heavy Duty Boots, etc)
 
The boosts of Intrepid Sword and Dauntless Shield are automatically included on the "message" part:
1612363540757.png

but not from this pop-up bar thingy (sorry idk what it's called):
1612363552336.png

The two should be consistent. If I give Zacian a +2 boost in the bar thingy the message part displays +3 instead. It might confuse players if they're careless like me.
1612364037993.png


Also, would you consider making Intimidate automatically inputting the -1 to the opponent's attack on both the message and pop-up bar thingy? Intimidate does work similarly with Intrepid Sword.
 
The boosts of Intrepid Sword and Dauntless Shield are automatically included on the "message" part:
View attachment 313060
but not from this pop-up bar thingy (sorry idk what it's called):
View attachment 313061
The two should be consistent. If I give Zacian a +2 boost in the bar thingy the message part displays +3 instead. It might confuse players if they're careless like me.
View attachment 313064

Also, would you consider making Intimidate automatically inputting the -1 to the opponent's attack on both the message and pop-up bar thingy? Intimidate does work similarly with Intrepid Sword.
Intimidate is one of those abilities with a little check box next to it, which means if you click that check box it'll automatically lower the opponent's attack by one stage.
 
i would like to request a feature to add a "total evs" line where it shows how many evs added up there are on your pokemon (out of 508) to make it much easier for optimization since (especially for the communities i'm in) you're constantly flicking evs around trying to make a spread optimized, and sites like ps can often be laggy or you can't connect to them and its very tedious to insert the evs into there / an online calculator every time you want to check. (this would not mean adding a limit, it could just say something like 520/508 if it's over since when calcing against an opponent sometimes you need to go over for convenience)

example of what i mean:
- something like this would be nice

thank you!
 
Calc shows 0 damage for Sludge Bomb from Neutralizing Gas Koffing vs Bulletproof Hakamo-o (or for any other 'mons for that matter - Ability is the important part)
 
According to https://dex.pokemonshowdown.com/moves/shellsidearm Shell Side Arm picks a category at random in the case of a tie, but the calculator acts like the tie always goes to picking Special. Also, I don't know if this is the appropriate forum to report bugs with the Randoms mode, but there are some checks in the set generator that lower EVs in some situations, and the calculator is missing the case where sets with Shell Side Arm and Choice Specs have their Atk EVs reduced by 4.

Edit: Shell Side Arm is also being calculated as if it takes Choice Specs into account when determining its category, but it’s not supposed to use any modifiers except stat stages (and Wonder Room, but erroneously).
 
Last edited:

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

Top