Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Welcome to Smogon! Take a moment to read the Introduction to Smogon for a run-down on everything Smogon, and make sure you take some time to read the global rules.
Possibly making a separate javascript file with the Pokemon's stats and typing and then pulling those stats/typing from that file and incorporating it into my javascript file that runs the calculation itself. Not sure if that would work though.
Yeah sorry, it was a bit confusing. I'll try to reword it lol. Currently, I'm asking the user to input the attacker's type, defender's type, and the stats/other modifiers that would factor into the damage. I'm looking to change the code to where it is like the current Showdown calculator...
Hi Honko! I'm currently writing code for a damage calculator for our school's Computer Science Fair and I have a couple of questions (given that you developed the BW Damage Calculator. What language did you use to write it and how did you catergorize the Pokemon by type so the formulas know...