Upgrade A - 900k, profit per hour 2k (PPR = 2k/900k)
Upgrade B - 900k, profit per hour 1k (PPR = 1k/900k)
At first iteration automator will purchase Upgrade A. Cause it has higher PPR.
At second iteration it purchase Upgrade B.
it ignores that there are possible new level of Upgrade A that still has a higher PPR that Upgrade B and maybe for this card there no CD.
When started with some coins This cycle ignores new upgrades after purchase https://github.com/vherasymenk0/hamster-kombat-automator/blob/6cdfaa9714c22c82367fc2a317955315b0999c8e/src/automator/automator.ts#L304
For example: Balance: 2m coins Upgrades:
Upgrade A
- 900k, profit per hour 2k (PPR = 2k/900k)Upgrade B
- 900k, profit per hour 1k (PPR = 1k/900k)At first iteration automator will purchase
Upgrade A
. Cause it has higher PPR. At second iteration it purchaseUpgrade B
. it ignores that there are possible new level ofUpgrade A
that still has a higher PPR thatUpgrade B
and maybe for this card there no CD.