wing8169 / genshin-impact-tracker

Genshin Impact Tracker is a non-commercial personal project for tracking and studying the respawn time of the resources on the map.
MIT License
3 stars 0 forks source link

[Suggestion] Ley Line Outcrop (Mora) trip calculator submodule #5

Open MRDGH2821 opened 4 years ago

MRDGH2821 commented 4 years ago

Even though this can be calculated mentally, or while playing, still it's useful to get an estimate.

I'm currently at AR 35. And for 1 trip I get 36,000 mora.

If built as a submodule to other calculators, it becomes useful 🤔. Let me explain using example.

Example 1

Suppose I did character exp calculation. And found out that I need 1,00,000 mora.

Inputs for the submodule

AR rank = 35 Mora required = 1,00,000

Logic

trips = mora required / ley line outcrop mora reward

trips = 1,00,000/36,000 = 2.77777777777777.... trips = 3 (after rounding it off to nearest greater integer)

resin = trips * 20 resin = 60

Output

3 trips required for 1,00,000 mora 60 Resins required for 3 trips

Example 2

Input

AR = 35 Mora required = 3,42,341

Output

Trips required = 10 Resin required = 10*20 = 200

Final notes

Ultimately its all coming down to resin 😂😂