Log inGet started
Package

forecastKit.package

Newest version

README.md

forecastKit_odds

Checks forecastKit.odds and the result styles of forecastKit.preview: hit-chance clamping (min/max, guaranteed), the cover / range / height / custom modifiers and flanking in the breakdown, armor and crit damage ranges, graze chance and graze damage (default band, capped band, graze = 0, custom band and multiplier), exact kill chance including grazes, determinism of resolve, seed and rng (with pinned values so the stream cannot drift), that 10,000 seeded resolves on five specs always stay inside the preview (grazes only in the graze band with damage in grazeDamage, graze = 0 never grazing) with hit, graze and crit rates within 2 points of the shown chances, heal previews, that the result styles are listed and switchable, and that every result style builds for HIT, CRIT, GRAZE, MISS, HEAL and a kill in every theme. Long loops yield so the engine never stalls.

The look of the on-screen preview is verified by capture in the demo scene. Run: asset.resolve("forecastKit.tests.forecastKit_odds", "testSuite"):run().