I am reviving this old thread as I've made some significant changes to the script. I DO NOT KNOW HOW TO CODE. I have just used some common sense and learned from the previous code. Some of the changes I've made will undoubtedly be done in a very amateur fashion, but I believe the script is functional, and provides some major improvements including improving potion economy, death prevention, and greater user flexibility.
I will continue testing through my current playthrough but after half a game, I haven't encountered any issues. Do feel free to get in touch!
Changes:
- Please read the comments! They should explain how to tailor the script to your specific needs.
- Now uses Absorption. This will save you a bunch of potions and allow you to take on slightly harder enemies, especially early game. You can comment this out.
- Now heals when outside of combat!
- If you run out of your chosen types of potions, the script will stop functioning (instead of getting you killed).
- Healing, both inside and outside combat, requires the user to tailor the script to suit. You will need to set %health to heal at, and select preferred potion types (by commenting out unwanted types). Different potions can be selected for inside and outside combat. It uses potions weakest to strongest but can be easily adjusted.
- I have left the script with mid-game potion settings, which I hope will facilitate user comprehension.
Removed link, see below
Edited by kauri, 11 September 2021 - 01:04 AM.