By Eisenherz & SilverstarStream, based on the BSS damage calculator by cant say (@jakecantsay) and Lego.
The calculator includes all BDSP Tower / SwSh Tower / Restricted Sparring / Battle Tree / Battle Maison / Battle Subway sets preloaded and has been updated for SV.
Custom sets can be input within the calculator using the official Pokemon Showdown format.
Nickname (Species) @ Item
Ability: Name
Level: #
EVs: # Stat / # Stat / # Stat
Serious Nature
IVs: # Stat
- Move Name
- Move Name
- Move Name
- Move Name
This damage calculator is committed to accurate and correct calculations. It uses the following resources to verify calculations:
- Gen III-IV: the damage code was taken from a fork of Showdown's calc and verified (Gen III decomp | Gen IV damage formula)
- Gen V-IX: this calculator is a fork of a calculator based on the Gen V damage formula research (the formula explained up through Gen VII: DaWoblefet's Damage Dissertation)
- Gen VIII-IX: additional effects are researched on Smogon (SwSh mechanics research | SV mechanics research)
If there are any errors found while using the calc, please reach out through the Battle Facilities Discord.
The site is powered by Jekyll, with linting by nodejs' eslint.
Do NOT Edit anything under the _site
folder, it is regenerated whenever you make changes to the other files and edits made there will NOT be saved.
Jekyll uses the Liquid templating language, combined with a YAML Front-Matter to serve pages. This allows us to use templates and {% includes %}
tags (see /_layouts/default.html
) to avoid repeating content (such as the header used by both index.html
and /_pages/privacy.html
) with the following in the YAML Front-Matter:
---
layout: default
---
This means that any page with this Front-Matter will use default.html
injected with its contents where it says {{ content }}
.
Different layouts can be used but they would have to be created separately.
Aside from that, the repo should be fairly simple to navigate.
- Install Ruby and Bundler.
- Double-click
setup.bat
(NOTE: This only needs to be done once!) - Double click
run.bat
to view your changes!
We use travis-ci to maintain code standards. Please ensure your code passes our tests before submitting your PR!
- Install nodejs.
- Double click
test.bat
. - Fix any errors (
fix.bat
could help with this!) turned up by the test! - PR your changes!