Page 1 of 1

Self healing question

Posted: Tue Aug 18, 2009 3:57 pm
by zomagad
hello, I am having the problem that when ever my character reaches a certain percentage of health, it does not auto use the healing spell, but rather waits until it gets the lowest HP to use a pot.

My character info is:

<profile>
<options>
<option name="HP_LOW" value="70" />
<option name="MP_LOW_POTION" value="40" />
<option name="HP_LOW_POTION" value="40" />

<option name="COMBAT_TYPE" value="ranged" />
<option name="COMBAT_DISTANCE" value="200" />
<option name="ANTI_KS" value="true" />
<option name="WAYPOINTS" value="anteaters.xml" />
<option name="RETURNPATH" value="" />
<option name="PATH_TYPE" value="waypoints" />
<option name="WANDER_RADIUS" value="500" />
<option name="WAYPOINT_DEVIATION" value="0" />
<option name="LOOT" value="true" />
<option name="LOOT_TIME" value="2000" />
<option name="LOOT_IN_COMBAT" value="true" />
<option name="LOOT_DISTANCE" value="100" />
<option name="POTION_COOLDOWN" value="15" />
<option name="MAX_FIGHT_TIME" value="15" />
<option name="DOT_PERCENT" value="90" />

<!-- rest if HP or Mana is below that level -->
<option name="HP_REST" value="15" />
<option name="MP_REST" value="15" />

<option name="LOGOUT_TIME" value="0" />
<option name="LOGOUT_SHUTDOWN" value="false" />

<!-- attack monsters 10 levels above or below your level -->
<option name="TARGET_LEVELDIF_BELOW" value="10" />
<option name="TARGET_LEVELDIF_ABOVE" value="10" />

<option name="QUICK_TURN" value="false" />
</options>

<friends>
<friend name="MyOtherCharacter1" />
<friend name="MyOtherCharacter2" />
</friends>

<hotkeys>
<hotkey name="HP_POTION" key="VK_MINUS" modifier="" />
<hotkey name="MP_POTION" key="VK_EQUAL" modifier="" />
<hotkey name="ATTACK" key="VK_0" modifier="" />
<hotkey name="RES_MACRO" key="VK_9" modifier="" />
<hotkey name="LOGOUT_MACRO" key="VK_8" modifier="" />
</hotkeys>

<skills>
<skill name="MAGE_FLAME" hotkey="VK_3" modifier="" />
<skill name="PRIEST_REGENERATE" hotkey="VK_4" modifier="" />
</skills>

<onDeath>
-- Additional Lua code to execute on death
pauseOnDeath(); -- Stop the script
</onDeath>

<onLeaveCombat>
-- Additional Lua code to execute after killing an enemy
</onLeaveCombat>

<onSkillCast>
-- Additional Lua code to execute when casting a skill
-- Note: arg1 contains the skill being used.
-- i.e. arg1.Name will be the name of the skill being cast.
</onSkillCast>
</profile>

Re: Self healing question

Posted: Tue Aug 18, 2009 6:27 pm
by d003232
zomagad wrote:hello, I am having the problem that when ever my character reaches a certain percentage of health, it does not auto use the healing spell, but rather waits until it gets the lowest HP to use a pot.

Code: Select all

		<option name="HP_LOW" value="70" />
		<option name="MP_LOW_POTION" value="40" />
		<option name="HP_LOW_POTION" value="40" />
...
		<skill name="PRIEST_REGENERATE" hotkey="VK_4" modifier="" />
Please use the

Code: Select all

 tag if posting code.

Check if your 'regenerate' skill is ingame really at the hotkey '4'. By that, if your health is below 70%, regenerate should be used. And if the problem still exist, please post the content of your MM window.