Releases: D2-Insight/D2_Calculation_API
Releases · D2-Insight/D2_Calculation_API
Beta v0.2
Basically done
Features include:
- dynamic trait based dps calculations with per-bullet info
- dynamic trait based ttk calculations with optimal and body ttk for all resilience values
- Range falloff(start and end), Reload(total time and time for ammo), magazine/reserve, damage per bullet(pve/pvp), rpm
- all damage calculations can be made relative to set activity and player light
- and more
NOTE: this zip is only JS bindings, python will also be included in next release(like previous)
Beta v0.1
Fundamentally working,
Included:
- Over 125 unique trait functions*
- All info calls can be dynamically affected by perks i.e. slick draw buffing handling times. kill clip changing ttk
- A robust dps calculator that re-evaluates buffs every bullet and returns a ton of info
- A dynamic ttk calculator that returns optimal and body ttk for every resill value and tells you how far away that ttk works
- Accurate Range, Handling*, Mag*, Reserve*, Reload and damage/rpm equations
- JavaScript and Python bindings to be accessible as possible
Missing:
- GL and Bow archetype profiles
- Some reserve calculations, relying on averages
- NOTHING involving swords is implemented
- ammo time values for reload response data
- perk option return func
- some exotic traits and I definitely missed some normal traits
Both these binaries below are compiled for file size(due to wasm) but if you want faster than ~2ms dps calculations for 900 bullets feel free to compile yourself with opt_level 1
*if has an asterisc means its not 100% implemented