Skip to content

to-metrion/to-metrion.github.io

 
 

Repository files navigation

BATTLE FACILITIES DAMAGE CALCULATOR // SV EDITION

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

Calculation Accuracy:

This damage calculator is committed to accurate and correct calculations. It uses the following resources to verify calculations:

If there are any errors found while using the calc, please reach out through the Battle Facilities Discord.

Contributing:

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.

Build Instructions

  1. Install Ruby and Bundler.
  2. Double-click setup.bat (NOTE: This only needs to be done once!)
  3. Double click run.bat to view your changes!

Testing and PRing changes

We use travis-ci to maintain code standards. Please ensure your code passes our tests before submitting your PR!

  1. Install nodejs.
  2. Double click test.bat.
  3. Fix any errors (fix.bat could help with this!) turned up by the test!
  4. PR your changes!

Handy Links:

About

Damage calculator for Battle Facilities

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 94.2%
  • HTML 3.9%
  • CSS 1.9%