Thread: Programming Mass Damage Calculators
View Single Post
Old Jun 2nd, 2012, 2:17:16 AM   #80
Honko
pronounced "Honko"
is a Tiering Contributoris a Contributor to Smogon
 
Honko's Avatar
 
Join Date: Dec 2009
Posts: 1,042
Default

Pretty big behind-the-scenes update: I've updated the calculator to use the complete BW damage formula, so everything should now be 100% accurate to the actual cartridges, down to the last point of damage. I had to rewrite a lot of the code, which means it's possible some new typos slipped in there, so let me know if you see anything wonky in your calcs! Huge thanks to Xfr, Bond697, Kaphotics, and V4Victini for their work researching the damage formula and explaining it so thoroughly.

In a slightly more visible change, I also took the opportunity to add a few new variables, particularly for 2v2 players. Damage reduction for spread moves in doubles, Reflect/Light Screen's reduced effectiveness in doubles, Helping Hand, critical hits, and a couple other things that I can't recall at the moment have been added to the equation.
__________________
Honko is offline   Reply With Quote