#resources #unit #exp #game #farming #power #calc

farm-analyze-lo

A lib to calc for efficient with farming of power lvling

3 stable releases

1.0.2 Aug 11, 2023

#3 in #exp

Download history 3/week @ 2024-02-15 16/week @ 2024-02-22 3/week @ 2024-02-29 28/week @ 2024-03-28 28/week @ 2024-04-04

56 downloads per month

MIT license

16KB
380 lines

farm-analyze-lo

The calc library for efficient about exp and resource at the game called LastOrigin.

Important

The repository has the possibility that this will be deleted. Because this is fan made and I'll delete this if probrems occurred with the official group of LastOrigin. Add, this library is only for jp. This may not use with KR ver.

Examples


// First, decide number of unit menber.
let count = HeadCount::new(5);
// Make input(exp)/output(resource) detail of unit.
let unit_io = UnitIOMaker::new(count)
  .add(accompanyings::EMILY_2)
  .fill(Chicks::Cover(dec!(50)));
// Decide a times.
let laptime = Duration::minutes(1);
let total_time = Duration::hours(1);
// It needs stage's detail, too.
let stage = Stage::new(laptime, total_time, dec!(10000));
// That's the end.
let detail = simulate(unit_io, stage);

What this do

The library works well to analyze about exp per resouces at the farming. For example, about OS called Learning system on Emily's 5-8Ex or Mighty-R's 7-7. However, the clac result has an error by some factors like rounding off. You can use the result as rough guess.

Dependencies

In API, this use chrono crate to handle time in sligntly larger units than std::time::Duration. You can pass times to the library at hours or minutes by it. Add, this use rust_decimal crate to handle float value with smaller errors than default f64.

References

License

MIT

Dependencies

~1.8–2.7MB
~50K SLoC