Roukys / HHauto

GNU General Public License v3.0
45 stars 44 forks source link

Enhancement : Auto equip sandalwood perfume for mythic fights #425

Closed night-ghost-1 closed 9 months ago

night-ghost-1 commented 2 years ago

Sandalwood perfume legendary booster allows to save a massive amout of gold when fighting for mythic girl since it basically provides an additional 11 affection for free, which in general reduces the cost of getting a mythic girl from about 2-2.5 K kobans down to about 1.5 K (booster cost included). So it's only logical to have it equipped during fights.

I personally try to get mythic girl at the end of the second day when there are enough shards available. I switch on the "Mythic event" and "Buy combativity for mythic" switches in script settings and then sit back and watch the script doing its job. The problem is that you need 4-5 perfumes to get 100% affection, so this process can't be fully automated since you have to manually track down whether your current perfume is depleted and when it gets depleted - equip another one, also manually. I would like to aviod these manual actions. It would be great if script checked booster status for me and when it gets depleted - replaced it with a new one from inventory.

YotoTheOne commented 2 years ago

+1, following ;) I think many will be interested by such a feature, great idea !

NinJaraya commented 2 years ago

But there's a catch, I almost never see this booster to buy it myself.

YotoTheOne commented 2 years ago

Almost a full month to stock 5 boosters, with 4 free market reset every day, it's pretty easy ! Or you're very unlucky, or don't play enough. Anyway I guess that could be automated too ;)

Roukys commented 2 years ago

a mythic girl with 2-2.5K kobans ? What I've seen as stats is more around 15K kobans, how do you do it ?

Roukys commented 2 years ago

auto buy should work, need though to have the good code for this particular booster. I think entering it in the buy booster filter should do the trick. Using them joins #234 in the way to implement.

night-ghost-1 commented 2 years ago

a mythic girl with 2-2.5K kobans ? What I've seen as stats is more around 15K kobans, how do you do it ?

Forgot to mention that I'm playing on Nutaku server, and from what I've heard, they have different approaches for gold on Nutaku and Hentaiheroes...

Roukys commented 2 years ago

ah yes there is a x6 factor :)

cossname commented 2 years ago

this approach will work only if you will use x1 fights, otherwise there will be problem to track how much perfume stacks left

Roukys commented 2 years ago

honestly won't be an easy one, I've not worked on booster for the moment. To track it I'll be able to use the tracker of shards won I think. But I don't know when I'll be able to work on that Next version will also allow to buy mythic booster in the same way as legendary ones

cossname commented 2 years ago

also problem to track rewards/shards from troll battle, if used "skip" button

Roukys commented 2 years ago

normally script should be able to track it, but yes it adds complexity

cossname commented 2 years ago

script can check response from ajax-request sent by manual button click?

Roukys commented 2 years ago

@cossname @DrkMfn2 @YotoTheOne @NinJaraya should now be able to auto buy mythic boosters as per 5.6.25

deuxge commented 9 months ago

Mentioned in #912 and done in 7.2