Gen 3 doubles battle only apply a 25% reduction to spread moves damage when it should be 50%
This is now fixed, despite causing inconsistencies with PS. Maybe it will motivate us to fix PS as well :)
Gen 3 doubles battle only apply a 25% reduction to spread moves damage when it should be 50%
What i think is a bug with the +1 All Stats button
from what i understand it is supposed to emulate the effects of z-celebrate/hold hands/happy hour
When clicking on the button and then checking Stored Power, it shows its BP as 140 (and calcs 140 BP) when in game it should be 120. likely a bug not certain but im psure thats a mistake
^In addition, Stored Power damage is being negatively affected by negative stat changes, when those should not affect it.
E.g. If you have +2 attack, Stored Power does 60 instead of 20. If you have +2 attack and -2 defense, it should still do 60.
Is it possible without stupid amounts of coding to make showdown damage calculator (in particular all vs one and one vs all) damage formatted in number% - number%?
Please use the package. The UI is not intended to be processed programmatically, you will have a much better time using the API directly.
When you click a sample set whose name ends in "-Mega", the item doesn't import properly. Manually changing the form to the mega form and manually changing the item to the mega stone both work just fine. It breaks only when it tries to import a mega evolved sample set from Smogon.Hello, was just looking at acrobatics and aerial ace on mega scizor, and doing damage callcs against marshadow. Acrobatics says it will do 92% min (max attack adamant) but aerial ace says 75% min. I think acrobatics is not being correctly calculated due to scizor holding a mega stone over another item
This is for the PS calc, not to help you with your calc. You could post a thread in TP(after you’re read the section readme) or feel free to contribute to our calc :)I've got a question about the damage formula. I built my own calculator in a spreadsheet a while back but I've never been able to exactly match showdown's calcs. The min and max rolls will always be extremely close but a little bit off. My calculator is linked here (I've left this sheet open for edits so you can change things). I've looked through the github to try to find the exact damage formula used but I'm not really a programmer and kinda got lost in all the text.
Would anyone be able to check out my calculator and help me find out what is making my results slightly off? I feel like it has to come down to rounding somewhere and I've triple checked everything twice. The formula I'm using to get a damage percentage is shown below. This is getting me the results I show in the example below.
=(FLOOR.MATH(FLOOR.MATH(FLOOR.MATH(2*100/5+2)*BasePower*Attack/Defense)/50)+2)*Modifier/HP
Where the showdown calc gives this:
252+ SpA Life Orb Triage Charizard-Mega-Y Oblivion Wing vs. 252 HP / 252 SpD Kartana: 320-376 (99.3 - 116.7%) -- 87.5% chance to OHKO
My calculator gives the min roll as 99.0% and max roll as 116.5%.
First, contrary to what you stated in the replay, Gigantimaxing does not give more health. Both Dyna and Giga double your Pokemon's HP.Hi! I'm here to report a calculator mistake in Gen 8 Battle Stadium Doubles.
Well, besides the immediate issue that there is still no Gigantamax.
https://replay.pokemonshowdown.com/gen8battlestadiumdoubles-1014558947
So, I have a Dynamax Gengar, and my opponent has a Dynamax Charizard. On turn 3, he uses Max Flare, and it takes 100% of my Dynamax Gengar's health. In spite of the Sun/Solar Power, something about that seemed very off to me.
I know PS's calc is still set to Gen 7, so I went over to Trainer Tower's calculator. https://damagecalc.trainertower.com
I put in all the options to make the scenario exactly as the one I had encountered, and sure enough, the calculator said the damage should have been 75.5%-88.8% for a Charizard with max SpA investment to my Gengar. That is under no circumstance a OHKO, as the Pokemon Showdown engine determined it to be.
Can someone please look into this? I'm playtesting for VGC, I would really appreciate it to be accurate!
Fixedguys,where's the sp.def column?
Hi this happens to me on Chrome too. I’d take a screenshot but it looks exactly the same.Hello ! When you're using the calculator and you take a Pokemon whose set name is very long (like "Scizor-Mega (Monotype Offensive Swords Dance (Steel))," or the BSS Aegislash blade set ) there's a shift in the calculator page. It does that with Mozilla Firefox, but seems to be working fine using Microsoft Edge. Here's a screen View attachment 196836
Monotype is literally an official tier and one of the largest communities on Smogon and PS. We also have one of the largest ladder usages amongst Smogon tiers as well. I completely disagree with the idea that we are “super niche” compared to certain metagames on the list that aren’t limited. This is a breaking change for our community.Removal of old gen sets for these metagames was a deliberate decision by Honko: https://github.com/smogon/damage-calc/issues/343#issuecomment-521694883. "...Balanced Hackmons, Monotype, 1v1, and CAP. The last four are only whitelisted for the current gen."
I see no problem including sets for old metagames with a new calc design where sets are lazily loaded on demand, but I am not a fan of forcing all users to download large amounts of super niche sets that they'll never use with the current architecture. At least in the short term I'm OK with extending the whitelist to include Gen 7 as well during this transitional period, but will draw the line at supporting generations further back than that until the calculator has been redesigned.
if you have an odd iv number then the first 4 evs increase the stat by one, and then every 8 from then on. if you have even iv then it works as you described it. this is because at level 50 the sum of the ev/4 and the ivs are divided by two and then floored. (you can read more at https://www.smogon.com/dp/articles/mechanics_level50 or https://bulbapedia.bulbagarden.net/wiki/Statistic#Formula)Hi, I was asked by the Help Chat to post here.
I wanted to calculate EVs for my pokemon but on lvl 50. As far as I know I get 1 stat point for exactly 8 EV points. When I have less than 8, it grants 0 stat points.
So I took Wash-Rotom and set the HP EVs to 172 (which is 21.5 when divided by 8). I thought it should give 21 extra HP but the calculator showed 22.
So my question is: Is the rounding wrong or is my assumption wrong?
Granted points should be something like:
C++://stat bonus calculation: //to explain the code (which I think it does itself): //floor is the rounding down function no matter what // getHPEVs is a sample function to get EVs. Could have used an enum for the type but meh. We don't have coding lessons here. ;) // multiply by 0.25 is the same as dividing by 4 (4 EV points are one stat point) but faster. // then we have a factor that uses the quotient of the current level and the max level. // I hope I don't have to say that getCurrentLvl and getMaxLvl should return doubles/floats int bonus = (int)floor( getHPEVs() * 0.25 * (getCurrentLvl() / getMaxLvl()) );