Rate selected default phase pets for pest farming#686
Conversation
880b691 to
c820fd6
Compare
|
Good idea, but I don't want a hardcoded priority like this to exist here. We have an existing (albeit not amazing) way to pick the most optimal spawn set in the code elsewhere based on the rate impact, so I think that same concept should be applied to what pet is selected by default as well so we always pick the pet that actually gives the most coins when used here. Right now this hardcoded list would need to be adjusted in the future as the pets get changed by Hypixel, and currently misses out on the nuance of different pet rarities, levels, pet items, and etc |
Thats fair. I thought maybe a small improvement until the rate stuff could be implemented. I have been trying to get a "Suggested by profit" function added. I have the calculation using existing Calculator and sorting. I'm just having issues updating the pet in a way thats saved. Still working through how I can get the pest-farming-context and pestfarmingplayer working together in a nice way. Will keep working on it and see where I get |
|
Pest farming pets are now picked using Profit calculations by default with ability for users to change to whatever pet they want. Examples below show that Hedgehog was picked as it is calculated to make more money for farming/killing compared to the Rose Dragon pet. |



Update best pet selection to use Rates calculation to determine best pet for each phase.
Changes:
refreshPestPlayerto reduce duplicate calls togetRateSelectedDefaultPhaseLoadoutsduringsyncDefaultPhaseLoadouts