Closed dr-ishmael closed 8 years ago
You're actually about a minute late, but don't worry about angel scale.
I do see that your values are the same as mine, however I've noticed that my values are causing the calculated price to be incorrect. Say for example Upgrading Fightingfrogs from 2 -> 5, it tells me this will cost 2941.24 however by adding up each cost I did actually spend I get 1069.38, so something is wrong with our values or this event acts different, if you'd like to help me figure this out, it would be appreciated.
Yeah, I didn't see your commit until after I submitted this.
I just figured it out. Our "baseCost" values are based on what we see when the event starts, which is actually the cost for the second of each investment (because the event gives us 1 of each by default). So we have to calculate backwards to get the cost of the first one:
$scope.insertcoin.baseCost = [2.5, 5, 7.5, 10, 12.5, 30, 50, 70, 125];
That should fix the calculations.
My calculations left me with 2.5, 5, 7.5, 10, 12.5, 32.7, 58.3, 70, 125
That did fix it though, Gonna close this.
The cost of the second Crow&Jack is 90, scale is 3, so 90/3 = 30. For Street Skid, the second costs 175, scale is 3.5, so 175/3.5 = 50.
You're right, I divided it by the wrong number.
Just noticed you have a typo - investment 8 is "Rad Cap," not "Red Cap."
Yep, I'm just playing a bit myself to see more cash upgrades and all this will be in the next push in a few seconds. I did notice that myself.
Cool, I'll leave you to it. :)
I've got everything in except for the angel scale.