hectorgimenez / koolo

Diablo II Resurrected bot written in Go
MIT License
64 stars 34 forks source link

Foh holybolt #291

Closed SoundsLegit closed 4 weeks ago

SoundsLegit commented 1 month ago

Added usage of holy bolt in between (approximate) cooldowns of fist of the heavens when fighting a demon-type boss (Mephisto, Andariel, Duriel, Diablo, Baal)

AquaRush commented 1 month ago

Hi, it would be best to modify the script to work only with all the super bosses except Andariel. Andariel area is filled with unique monsters sometimes, where FoH works well on cleaning them, it creates a safer environment for HC players :) Thanks for the contribution!

SoundsLegit commented 1 month ago

Hi, it would be best to modify the script to work only with all the super bosses except Andariel. Andariel area is filled with unique monsters sometimes, where FoH works well on cleaning them, it creates a safer environment for HC players :) Thanks for the contribution!

The idea is not to just use holy bolt on demon bosses, but to switch to using holy bolt 3 times quickly while FoH is on cooldown and then switch back to FoH and use it again. The character will still use FoH on andariel. This is the best of both worlds. Also, to deactivate this feature, it is enough to just not have the holy bolt/Foh mouse 1 hotkeys binded

AquaRush commented 1 month ago

Hi, it would be best to modify the script to work only with all the super bosses except Andariel. Andariel area is filled with unique monsters sometimes, where FoH works well on cleaning them, it creates a safer environment for HC players :) Thanks for the contribution!

The idea is not to just use holy bolt on demon bosses, but to switch to using holy bolt 3 times quickly while FoH is on cooldown and then switch back to FoH and use it again. The character will still use FoH on andariel. This is the best of both worlds. Also, to deactivate this feature, it is enough to just not have the holy bolt/Foh mouse 1 hotkeys binded

I see, that makes more sense then, thanks!

SoundsLegit commented 1 month ago

With the latest commit I made it simpler. Holy bolt can be set as a mouse button 2 key bind, and the bot only does 2 holy bolts before switching back to FoH.

SoundsLegit commented 1 month ago

Ready for merge on last commit, fixed the bug of potentially not switching back to FoH for normal mobs. If the bindings for mouse button 1 exist for holy bolt and FoH, the bot will alternate between them for bosses while maintaining conviction.

TDLofCC commented 4 weeks ago

Been running this change on my FoH pala since it was made, seems to run very well.