need help
Posted: Thu Nov 15, 2012 11:35 am
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?
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" />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>