need help
Re: need help
at tope your profile you seemrphil wrote:Hello, may I know what do I need to write in my profile so that the bot won't drink hp/mp potions during combat?
Code: Select all
<option name="HP_LOW" value="85" />
<option name="MP_LOW_POTION" value="50" />
<option name="HP_LOW_POTION" value="50" />
<option name="USE_HP_POTION" value="best" /> <!-- potion select strategy: best|minstack -->
<option name="USE_MANA_POTION" value="best" /> <!-- potion select strategy: best|minstack -->
<option name="USE_PHIRIUS_POTION" value="false" /> <!-- false | true if you want to use the Phirus Potions -->
<option name="PHIRIUS_MP_LOW" value="40" />
<option name="PHIRIUS_HP_LOW" value="40" />
Re: need help
Hmm, if I do that, I won't be drinking potions when I'm not in combat.
I just don't want to drink potions when I'm IN combat.
I just don't want to drink potions when I'm IN combat.
Re: need help
anything is of course possible, you just have to work it out.
So you want to only use potions (health or mana?) when not in combat, honestly I can't see why that would be good but what ever.
in profile
So when it leaves combat it will change to this % to use potions
so when it is using damaging skills (fighting) it will change it to 5% and so won't use any potions unless you are basically dead.
So you want to only use potions (health or mana?) when not in combat, honestly I can't see why that would be good but what ever.
in profile
Code: Select all
<onLeaveCombat><![CDATA[
settings.profile.options.HP_LOW_POTION = 50
settings.profile.options.MP_LOW_POTION = 50
]]></onLeaveCombat>
Code: Select all
<onSkillCast><![CDATA[
if arg1.Type == STYPE_DAMAGE and settings.profile.options.HP_LOW_POTION ~= 5 then
settings.profile.options.HP_LOW_POTION = 5
settings.profile.options.MP_LOW_POTION = 5
end
]]></onSkillCast>
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Who is online
Users browsing this forum: Ahrefs [Bot] and 7 guests