Open MRDGH2821 opened 4 years ago
the 780 resins are equivalent to me playing Genshin Impact without coding lol xD
But thanks, this seems like an interesting problem to solve, however I don't have much time especially in the weekdays (have some software projects and university work to handle), will check out during weekends haha
I have another suggestion regarding resin for the Experience calculator.
Resins are refillable by 3 methods -
Total limit - 120 resins.
By Waiting
1 Resin every 8 minutes. Regenerating all 120 Resin would take around 16 hours (960 minutes) to complete. For 20 Resins 160 minutes.
By using Fragile resin
1 Fragile resin gives 60 Original resin
By using Primo gems
1 Refill gives 60 Original resin Maximum 6 refills can be done
Approach 1 - Simple but accuracy differs.
Example 1
Suppose I require 380 resins to level up a character. And I have 20 resins in hand.
So, I need 360 more.
The output would be -
Example 2
Suppose I now require 450 resins to level up a character. And I have 30 resin in hand.
So, I need 420 more.
The Output would be -
Approach 2 - The more complicated route but more precise too
Keeps primogems & fragile resin in check
Example 3
Suppose I need 1000 resins. ~I have 40 in hand for Day 1~ Let's remove initial thingy. Stuff becomes complicated π
Negative "Resins left to acquire" means we got excess resins
Example 4
Suppose I need 360 resins.
All this stuff might take a day or 2 to implement π π π
Let's take another example - Consider you spend 8 hours a day to code this. And you managed to implement it in total 48 hours. Which means it took you 6 days. You play Genshin Impact before starting to code. And after 6 hours of coding, you again play Genshin Impact. So, in these settings -
You get to spend 780 resins !!!!!