Code: Select all
<skill name="KNIGHT_HOLY_SHIELD" hotkey="VK_6" maxhpper="40" InBattle ="true" />
<skill name="KNIGHT_RESOLUTION" hotkey="VK_7" maxhpper="40" InBattle ="true" />
there is absolut no reason what so ever to activate either one of these AFTER completet battle with 95% of the life.
my full command line looks like this:
Code: Select all
<profile>
<options>
<option name="HP_LOW" value="50" />
<option name="HP_LOW_POTION" value="65" />
<option name="MP_LOW_POTION" value="30" />
<option name="COMBAT_TYPE" value="melee" />
<option name="COMBAT_DISTANCE" value="200" />
<option name="ANTI_KS" value="true" />
<option name="WAYPOINTS" value="test5.xml" />
<option name="RETURNPATH" value="test5.xml" />
<option name="PATH_TYPE" value="waypoints" />
<option name="WANDER_RADIUS" value="500" />
<option name="WAYPOINT_DEVIATION" value="100" />
<option name="LOOT" value="true" />
<option name="LOOT_TIME" value="2000" />
<option name="LOOT_DISTANCE" value="100" />
<option name="ENERGY_STORAGE_1" value="mana" />
<option name="ENERGY_STORAGE_2" value="none" />
<option name="POTION_COOLDOWN" value="15" />
<option name="MAX_FIGHT_TIME" value="30" />
<option name="DOT_PERCENT" value="90" />
<option name="TARGET_LEVELDIF_BELOW" value="4" />
<option name="TARGET_LEVELDIF_ABOVE" value="3" />
</options>
<friends>
<friend name="friendsname1" />
<friend name="friendsname2" />
<friend name="friendsname3" />
<friend name="friendsname4" />
<friend name="friendsname5" />
<friend name="friendsname6" />
</friends>
<hotkeys>
<hotkey name="HP_POTION" key="VK_MINUS" />
<hotkey name="MP_POTION" key="VK_EQUAL" />
<hotkey name="ATTACK" key="VK_1" />
<hotkey name="RES_MACRO" key="VK_0" />
</hotkeys>
<skills>
<skill name="KNIGHT_HOLY_SMITE" hotkey="VK_2" priority="150" level="0" />
<skill name="KNIGHT_PUNISHMENT" hotkey="VK_3" priority="100" level="0" />
<skill name="KNIGHT_SHIELD_OF_ATONEMENT" hotkey="VK_4" priority="100" level="0" />
<skill name="KNIGHT_ENHANCED_ARMOR" hotkey="VK_5" priority="100" level="0" />
<skill name="KNIGHT_HOLY_SHIELD" hotkey="VK_6" maxhpper="40" InBattle ="true" />
<skill name="KNIGHT_RESOLUTION" hotkey="VK_7" maxhpper="40" InBattle ="true" />
</skills>
<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>
thanks in advance