Closed bluetidepro closed 8 years ago
Any update on this?
So the rolls for each item is calculated here:
Calculate future rolls predicts the stats at max light (335) https://github.com/dasilva333/TowerGhostForDestiny/blob/a67a98eb6022b843e7e845f03491f5845db1974d/www/js/app/Item.js#L309
Each stat is calculated using cornman0101's formula here: https://github.com/dasilva333/TowerGhostForDestiny/blob/a67a98eb6022b843e7e845f03491f5845db1974d/www/js/app/Item.js#L332
Calculate Infused Stats can be found here: https://github.com/dasilva333/TowerGhostForDestiny/blob/a67a98eb6022b843e7e845f03491f5845db1974d/www/js/tgd/bonusStat.js
Closing this ticket as it really isn't an issue, @bluetidepro are you planning a PR for stat rolls?
Let me know thanks
Thanks @dasilva333! 💃 Not planning any changes or anything, was more just wondering what it was for my own curiosity! :D
For the code that deals with the stat roll min/max, how does that actually work?
https://github.com/dasilva333/TowerGhostForDestiny/blob/a67a98eb6022b843e7e845f03491f5845db1974d/www/js/app/Profile.js#L653
I tried to dig into the code some, but couldn't really full make it out. Can you give me a better idea of how that logic actually works to show you how good the roll of an item is?