Back
D2TTK

Astro, TypeScript

A weekend replacement

I have around 6,000 hours in Destiny 2. When D2Foundry shut down, the community lost its weapon-roll and time-to-kill tool. An integral piece when it comes to PvP video games. I gave myself a weekend to build the core again as an experiment.

That first release had a weapon database, TTK calculations and lookup by name, perk or source. It worked. Since then, my solo build has gained browse functionality, data updates, shareable rolls, a shooting range, and further improvements.

Correcting the source

Bungie’s API contains incomplete (and sometimes incorrect) gameplay values. I cross-check community tables, Discord feedback, and my own audits. As an example, there’s a perk called “Elemental Capacitor”, which gives an advantage based on whatever element you’re using. In Bungie’s data, it just incorrectly assumes you are using all elements at once, tremendously inflating its impact.

Calculations start with decimal damage against 230 health (the normal amount a player should have). Regression tests cover the timing paths where a tiny mistake may change the answer.

The browse view listing all 2,208 weapons with filters for perks, type, damage, ammo and tier
A weapon page with perks selected in the grid, stat bars showing their bonuses, and time-to-kill values beside buffs and effects