Damn man, you're going for the median. I was going to do the median calculation. You were supposed to make a mistake and go for the mean like most people do.My mathematical mind couldn't help not find a formula for the switching rate in general.
Assuming:
General case: .5 >= (move accuracy)(1- ((1-crit rate)(1-added effect rate))^switch rate)
we get:
Switch Rate = ceil([log(2*MA-1) - log(2*MA)] / [log(1-CH) + log(1-AER)])
Where MA = move accuracy, CH = crit rate, AER = added effect rate, and ceil(x) is x rounded up.
This is actually pretty worthwhile and I'm going to be an ass and state that the multitude of the posters here don't get what the hell this all means.
I'll leave AA's terminology out of this for a second and explain something about what he is saying with a practical example. Just assume everything I say about the Pokemon is true.
You are using Snorlax and Salamence. Your opponent is using Starmie and Skarmory. You're in a vicious stall circle:
- Snorlax cannot beat Skarmory ever (there's no last-Poke-Curselax option and it doesn't have a Fire or Electric move)
- Starmie cannot beat Snorlax ever, because it keeps Resting off the damage and does damage back with its STAB move.
- Salamence cannot beat Starmie ever as Salamence does not have a Choice item - it either does less than 50% damage which can be Recovered off, or perhaps it could Dragon Dance up and do more but then it would die to Ice Beam
- Skarmory cannot beat Salamence ever, because it carries no attacks, no Toxic and there's no Stealth Rock (or Spikes/Toxic Spikes for that matter) and Salamence can dispose of it with Fire Blast
So basically, the match is boring. Starmie switches into Salamence, Salamence is switched for Snorlax, who in turn does nothing to the incoming Skarmory, who then gets threatened by Salamence again, etcetera.
But there is actually a breaking point in this match! The side with Starmie will win on average. Why? Because Starmie can freeze Snorlax with Ice Beam. It has 10PP (16 with PP Ups), which means that on average it will freeze once. You could call it "lucky" or "hax" then again it's like having a chance of 1 out of 10 to hit the bullseye with your bow-and-arrow set and repeatedly shooting: it's bound to happen.
Then Snorlax will be frozen and Starmie will march through the last two Pokemon.
Don't have time to apply this to the OP right now but I hope you get a clear idea of what I'm going at.
Mine or AA's?Hmm, I'd like to see how this formula was derived because I keep getting the feeling that trial and error resulted in this. It's probably just me, though...
Okay. Let's start with AA's first.Well, both would be nice. Maybe then it'd be possible to come up with a better one. (Then again, it could end up being a moot effort, but I'm not sure...)
Let the probability of a crit happening be CH, and that of the added effect happening be AER. Also, let the probability that the move hits be MA.AA said:The main presumptions are:
1. The Pokemon being hit is hit while switching in.
2. The Pokemon being hit will lose if either the crit or the added effect happen, even if hit from full health.
Please quote me where I said Salamence would OHKO with Fire Blast, because I clearly didn't. Also note that it is merely an example of a completely stale match, made to illustrate my point. I did not say it was a realistic situation at all ever. The point of it was not to show a realistic battle scenario, but merely one where the match would get repetitive to the point where Starmie would be using Ice Beam often enough that Snorlax would have odds against it that it'd get frozen. Which occurs pretty often really, but I just wanted to have a very very stale situation to get the idea across.oh my fucking god why wont it motherfucking postadfla;sdfjka;fa;slfjda;slk ffucking shitanyways, for the third time of me trying to type this and keep getting this not sent throughmekkah your example is probably the worst ever.for one thing, that situation will never happen 99 out of 99.1 times. to have such 'novel' situations to occur owuld mean the limited movesets being used, such as spikesless/swordsdanceless skarmory, in which case its amazing how the situation ever occured to those 2 idiots getting to 2-2.second of all, i dont see how starmie can outspeed salamence, have enough special attack to ohko, and still take less than 50%, it's just impossible
XDSeriously, when I'm going out of my way agreeing with Amazing Ampharos I usually have a good reason for it.
Jesus christ man. Dont scare us normal people with your foreign language. I barely learned how to multiply in the 9th grade.crazy math
But Jeebus, that was too insane for my brain. My head asplode. With all of that, I;m not even going to try to make a formula against it. @-@Sorry about that. I only posted that "crazy math" post because it was requested by CardsOfTheHeart.