hzla / Dynamic-Calc

Home Page:https://hzla.github.io/Dynamic-Calc/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Screen Shot 2024-02-20 at 2 00 43 PM

Dynamic Calc

A showdown calculator fork with dynamic data source loading and expanded features for nuzlockes

Features for Nuzlockers

Imported Set Preview

Screen Shot 2024-02-20 at 2 03 36 PM

All imported sets are treated as your box and can be clicked to be quickly loaded into the left side of the calc

Enemy Trainer Team Preview

Screen Shot 2024-02-20 at 2 04 29 PM

Enemy Trainers have their teams shown on the right side and can be clicked to load into the right side of the calc.

Switchin Bait Order Preview (Gen 4-9)

On supported games next pokemon to be switched in will always be the left most pokemon in the preview. For gen 4, you will need to make sure you current HP is accurate for full accuracy. In addition, in gen 4, some moves with unconventional damage calculations like grass knot may cause switchin in preview errors.

Automatic PKHex move import adjusting

For all games in the romhack dropdown, pkhex imported movesets are autocorrected to the correct moves in game.

Hotkeys for common actions

f - toggle "F"ield info

i - "I"mports set data from clipboard

c - toggle all opposing moves "C"rit

l - toggle "L"earnset window if available

Features for Rom Hack Developers

Load data for any Rom Hack

Host your romhack's data on npoint.io and specify the npoint ID in the url to load it into Dynamic Calc. Example data can be seen here. Move/Pokemon/Item names use Smogon showdown format and spellings.

Trainer set names are specified with the following Format Lvl LEVEL TRAINER_NAME

Customize your calc with URL parameters

data the npoint data source for your calc

gen the movepool and species pool to draw from for your calc

dmgGen the damage calc mechanics generation to use

types the type chart generation to use

switchIn the generation of switchin mechanics to use

Easy Calc data generation with Pokeweb (Gen 5)

Generate the data in one click with Pokeweb for Gen 4/5 only.

Use pokeweb prod-g4 branch for gen 4. Replace all relevant text files in Pokeweb/texts with your rom hack's text files before exporting calc. Adjust Pokeweb/models/trpok.rb for further customization.

Use this modified pkhex to export a calc for gen 6/7.

Mastersheet Mode

Warning: Mastersheet mode uses about 500mb of ram and is not recommended for low end computers or mobile devices.

Mastersheet

Press tab to switch between calc mode and mastersheet mode

Trainers

Click on a pokemon icon or name to display it's stats, learnset, and locations found on the side bar

Click on a move name to display it's type, power, accuracy and pp on the sidebar

Click on a trainer icon to switch to calc mode and load the trainer

Trainers highlighted in purple are marked as mandatory.

Encounters:

Click on a pokemon icon to display it's stats, learnset, and locations found on the side bar

Left click on a pokemon to mark it as a dupe to update the encounter percents

In the sidebar, you can enter a level for repel manips and the percents will update automatically

Click on the grass icon or wave icon to view the raw encounter data

Side Bar

Type a pokemon or move name to view it's info in the sidebar. Capitalizations don't matter. Use showdown spellings for alt forms.

License

This package is distributed under the terms of the MIT License.

About

https://hzla.github.io/Dynamic-Calc/


Languages

Language:HTML 97.7%Language:JavaScript 2.0%Language:CSS 0.3%Language:Ruby 0.0%