This is an amazing plugin with huge possibilities - awesome contribution from toNyx - making the bot one step closer to its true manifestation Skynet! As my very small contribution I am going to show you how to create some default flask settings.
NOTE: If you are using Flask nodes to extend the length and power of your Flasks, then you can probably set all of the values below lower as your Flasks effects will last longer, giving them more time to recharge.
The default settings below are mainly for melee characters, for casters you would still use the same conditions, but mostly increase the distance values.
So - here we go - once you have the plugin enabled lets start easy with Life Flask:
Life Flasks
Pick "Life Flask" from the drop down.
IGNORE the box with Selector and a line of code in it - we
DON'T want to touch that or things will go crazy and you will die! (this line of code is simply the bots way of identifying the flask)
Simply Tick
Enable Usage - now the bot knows you have a Life Flask.
Next we need to tell it when to use them - so click in the table (blank space) just underneath CONDITION and paste the following:
Then tick ENABLED next to it.
Now when your health goes below 80% the bot uses your life flask.
Instant Life Flasks
Do the same for Instant Life Flask, but change 80 to 65. If you find you are still dying because you are too squishy, then up the values.
Mana Flask
If you have mana reserved, then you need to adjust this so that it is less than your reserved percentage otherwise the bot will keep using your Mana Flask:
Quicksilver Flask
If you only want to use this when you get value from it - we check there are no mobs within 70f and hit it:
If you have quick refills with Surgeons on Crit, then you might want to spam Quicksilver off cooldown:
Diamond Flask, Vessel of Vinktar (And most other offensive flasks)
We want our Crit boosted when there are a few mobs, or tough mobs so:
If you find you are always at max flask charges, then lower the 2,4 (you will spend flasks charges more quickly) if you keep running out of charges during a fight then increase them. For
Vessel of Vinktar you will also want Energy Shield Detection:
Granite Flask (And most other defensive flasks)
Defensive flasks we want to increase the range a bit because of those annoying jumping things and other fast moving mobs.
You will also want some health or Energy shield protection:
or
Dispelling (Remove xxxxx)
Each of your flasks should have some kind of dispel e.g. Burning, Shocked, Poisoned etc - to make the bot use the dispel you should paste the relevant condition below into to the flask conditions for the flask it is on:
So if your Life Flask has Removes Bleeding, then you add FH.IsBleeding as a condition to the Life Flask.
Resistance Flasks (Ruby, Topaz etc)
Resistance Flasks are very dependent upon the Map level and danger level you are running - increase the mob count an the distance if you are running EZ game EZ life settings, reduce them if you are pushing higher Maps where insta-death is a regular occurrence. If you are running a CI build you want to have these up before pretty much any fight and any time that you experience the related debuff like Burning etc. I have used the mobs more than >2 setting along with the Unique and Rares - smaller distances as hopefully most stuff is dead before it gets within 8f, you should increase or decrease this depending on how much of the time you are out of Flask Charges.
Ruby Flask
You should also add your Flasks's Dispel e.g. Removed Shock on Use
It is worth adding in an "O Shit" press all flasks button for low health:
or low Energy Shield
Spamming Flasks Off Cooldown
If you are OP, then you probably just want to spam resistance and quicksilver all the time, so this is one way you can do that:
Essentially telling the bot to use the flask if there are no mobs within 70f or if there is 1 or more mobs within 70f i.e. all the time. FlaskHelper will detect when your buff has expired and recast appropriately - awesome right!?
NOTE: If you are using Flask nodes to extend the length and power of your Flasks, then you can probably set all of the values below lower as your Flasks effects will last longer, giving them more time to recharge.
I will update this post with more as I set them up.