Skip to content
This repository was archived by the owner on Mar 24, 2025. It is now read-only.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dtmath-wit

Wasm interface for dtmath which is used to simulate Darktide mechanics in the wartide calculator.

dtmath supports:

  • damage (not all attacks currently)
  • cleave
  • weapon stats (for damage/cleave)
  • stat buff modifiers (like rending)
  • action resolver (sequence names for attacks)

All data used in dtmath for weapons/breeds/etc is embedded in the binary.

Usage

Get the latest dtmath.wasm from releases and generate bindings with supported runtimes.

A JavaScript/TypeScript package is also available with each release.

See JavaScript examples at examples.

Wasm Component Runtimes

dtmath-wit currently uses a version of WIT that requires Wasmtime 7.0.0 or older. The following runtimes can generate bindings to use wasm components like dtmath.wasm.

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors