Skip to content

Kenivia/Honing-Forecast

Repository files navigation

Honing Forecast

discord

Honing Forecast is a Lost Ark honing calculator that takes into account owned mats and generates free tap & juice usage instructions that minimizes average gold used.

Try it here! https://honing-forecast.pages.dev/

Table of Contents

What's different about this calculator

We want to calculate Average gold used. Naively (and I believe this is what other calculators do), you might think to do the following:

  1. Find the average mat cost
  2. Subtract how much we have
  3. Multiply by the price.
  • ^ (This is incorrect) ^

This breaks down very quickly if you think about it. For example, for a +25 weapon, it costs ~2.15m shards on average. Suppose we have 2.15m bound shards on hand. If we get lucky, we have bound shards leftover, netting us no gold; If we get unlucky, we have to buy shards, costing us gold. Clearly the average gold used should be some positive number, but the above would tell us that the average cost is 0.

What we calculate instead (Average gold used)

  1. For all outcomes, find the material cost (e.g. 1 tap, 2 tap ... pity)
  2. (For each outcome) Subtract how much we have, then turn any negatives to 0.
  3. Multiply by the price and take the weighted average

So the difference is that we do the subtraction prior to averaging, and that we consider leftover bound mats as 0. This makes the average significantly more difficult to compute, and we use some very clever maths to do so in a reasonable amount of time (instead of what's described above).

This allows us to consider the bound mats and juices that the player owns and make a much better suggestion as to how to spend them.

How to use

1. Tick your upgrades, and input how much char-bound mats you have. (you may optionally also input you roster bound & tradable mats on a separate page)

Inputs

2. Follow the instruction for juice usage. If you run out, you should buy from market.

Instructions

Note: Before following the instructions, make sure you have inputted your bound mats or unticked mats you don't plan on buying! For example, if you say you have 0 shards and leave it ticked, the optimizer will assume you're buying all the shards.

Resources

For anything else, you can ask me in the Discord server!

Contributing

You'll need the following:

  1. Rust (this should be all you need if you just want to improve the optimizer engine)
  2. wasm-pack
  3. Node.js

Run npm install for the dependencies, then npm run dev for the dev server.

You can take a look at good first issues or the WIP doc, but any help will be greatly appreciated!

Bug report / feedback

If you find a bug or spot an error, please submit an issue on GitHub or send a message on Discord!

Disclaimer

Honing Forecast not affiliated with Smilegate and Amazon Games Studio. Copyrights for game-related images and names belong to SG / AGS. The rest is open source and licensed under AGPLv3.

About

Lost Ark honing calculator that takes into account owned mats and generates instructions to minimize average gold used.

Resources

License

Stars

Watchers

Forks

Contributors