Would it be possible to make it so that if you used /calc in a battle room for a past generation format the link it gave was with the calc set to that generation?
definitely possible, I'll make this happen!Would it be possible to make it so that if you used /calc in a battle room for a past generation format the link it gave was with the calc set to that generation?
Unfortunately the HP DV still isn't updating correctly. It seems to change to the correct value if you modify the DVs directly, but if you are on a 15 DV set and choose certain Hidden Powers it isn't updating correctly. Examples of the incorrect values include: Hidden Power Dragon should give a HP DV of 11 because it makes the Defense DV even, but it is staying at 15. HP Grass requires an even Attack and Defense DV meaning the maximum DV should be 3 but it is staying 15 in the calc currently.Oops, I cleverly accounted for the expected HP DV if you selected a set with Hidden Power, but didn't have it update (properly) if you selected Hidden Power as a move after the fact. Fixed, thanks!
I made a mistake with my code. I used >79 over >=79.Water Shuriken (4 hits) vs 79 hp Dragapult : KO chance = 77.73% (calc says 87.5) (I don't know how you got your ~63.65% here)
I said it didn't make sense because the values resemble a normal distribution, and the mean damage output is 80.25Water Shuriken (4 hits) vs 81 hp Dragapult : KO chance = 47.15% (calc says 37.5)
Water Shuriken (4 hits) vs 82 hp Dragapult : KO chance = 30.52% (calc says 37.5)
(I don't understand why you think that 37.5% to KO doesn't make sense in these 2 cases, it's not very accurate but still in the good range of values)
Water Shuriken (4 hits) vs 317 hp Dragapult but weak to Water instead : KO chance = 82.97% (calc says 87.5)
Sorry forgot to mention the battle is very long, skip to turn 169So I had this weird moment in an gen 7 Ag match where my lvl 1 magnemite got hit by a critical hit precipice blades from primal groundon and sturdy did not get triggered. It did not go to 1 hp instead it took 72%. I tried replicating it in a friendly but without succes. I am assuming it was a bug, but I have heard similar things happen in the real games. So I am really sorry if this is not relevant. I saved the battle so the link wil be below this, thanks for checking it out.
https://replay.pokemonshowdown.com/gen7anythinggoes-1166391156-o6i7hayqnf4wa1ip2ne31zec043hoabpw
I did a damage calcSo I had this weird moment in an gen 7 Ag match where my lvl 1 magnemite got hit by a critical hit precipice blades from primal groundon and sturdy did not get triggered. It did not go to 1 hp instead it took 72%. I tried replicating it in a friendly but without succes. I am assuming it was a bug, but I have heard similar things happen in the real games. So I am really sorry if this is not relevant. I saved the battle so the link wil be below this, thanks for checking it out.
https://replay.pokemonshowdown.com/gen7anythinggoes-1166391156-o6i7hayqnf4wa1ip2ne31zec043hoabpw
unburden doesn't give you a speed boost for not having an item, it boosts your speed when you lose your item until you switch out. there's a check box next to the ability that applies the speed boost for unburdenI think Unburden is not implemented correctly on the calculator. If a Pokemon is holding no item, their speed will not be doubled, as shown below:
View attachment 268536
This is the set for Hawlucha. Normally it would be about 670 Speed after an Unburden boost. Of course, it's only 335 speed with an item, so I think this deserves a refix.
This was a bug (was relying on the past sets DVs instead of the updated one), thanks for pointing it out.Unfortunately the HP DV still isn't updating correctly. It seems to change to the correct value if you modify the DVs directly, but if you are on a 15 DV set and choose certain Hidden Powers it isn't updating correctly. Examples of the incorrect values include: Hidden Power Dragon should give a HP DV of 11 because it makes the Defense DV even, but it is staying at 15. HP Grass requires an even Attack and Defense DV meaning the maximum DV should be 3 but it is staying 15 in the calc currently.
Random calc sets have been updated.Kind of annoying that [Zarude] that appears in random battles isn't in the random battle calculator
Fixed, thanks (though Gen 1 still correctly has it not affecting Ghosts).Struggle does not affect ghost type pokemon, even though it should.
FixedLevitate isn't making pokemon non-grounded in regards to rising voltage
If you take away levitate you get the same calc
I think I know what the issue is.Hello. There seems to be an error with the damage calculation for the move Nature Power. I can attach a screenshot. It is supposed to become the exact move it replicates, but the calculator shows it doing way less. I was mainly trying it for terrains, but even misty terrain nature power does less than Moonblast so the terrains aren't affecting the core damage in the Calc. please fix
Oh that makes sense! I could just input the morphed moves for my calcs in that case. Would it be alright on showdown though? Damage-wise I mean. I have not tested it, but I've always been unsure if the two were directly linked.I think I know what the issue is.
Nature Power is considered as a variable power physical move by default.
The power is correctly updated on various terrains but not the category of the move.
So for instance in Misty Terrain, the calculator essentially computes the damage from a physical Moonblast, hence the difference in the results.
Both of those screenshots are of the powder.Silver Powder doesn't seem to be working on the damage calculator. It should normally function exactly like Insect Plate.