Masuzu / SarasaBot

A GBF bot for automated raid farming with scriptable behaviour
https://gbtools.azurewebsites.net/SarasaBot/en/Home
27 stars 4 forks source link

Suggestion: can we have an option to "force" refresh the game for "x" condition to skip animations, bypassing any other lua script settings? #235

Open xerance opened 5 years ago

xerance commented 5 years ago

Hello, would be neat for a function/option where the bot "pauses" current input option from the lua script to force a refresh of the raid.

for example: no matter what skill/action I have set in the combat lua, when for example grimnir hits 50% and play his long as animation, the current lua script "pauses" to refresh the page to skip it and then resume actions afterward.


Tried to do this with a bunch of if hp check conditions, but it seems like the bot doesn't accurate check the hp all the time? cause it stills try to do actions while i have set it to refresh page if boss is around <55(%) current hp once. And not only that, it would be helpful to have a function for this to not cluster the .lua script and make it raid boss specific.