Page 1 of 1

making my mage not use melee attacks

Posted: Thu Mar 19, 2009 11:51 am
by jlhromeo
heres my script, what do i need to edit out? thanks a bunch! works great other than she opens with a melee attack...grr!

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

<option name="COMBAT_TYPE" value="melee" />
<option name="COMBAT_DISTANCE" value="200" />
<option name="ANTI_KS" value="true" />
<option name="WAYPOINTS" value="jesse.xml" />
<option name="LOOT" value="true" />
<option name="LOOT_TIME" value="2000" />
<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" />
</options>

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

<hotkeys>
<hotkey name="HP_POTION" key="VK_7" modifier="" />
<hotkey name="MP_POTION" key="VK_6" modifier="" />
<hotkey name="ATTACK" key="VK_1" modifier="" />
</hotkeys>

<skills>
<skill name="MAGE_FLAME" hotkey="VK_2" modifier="" />
<skill name="MAGE_FIREBALL" hotkey="VK_3" modifier="" />
</skills>

<onDeath>
-- Additional Lua code to execute on death
</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: making my mage not use melee attacks

Posted: Thu Mar 19, 2009 4:14 pm
by 3cmSailorfuku
How about using ranged instead of meele?

Re: making my mage not use melee attacks

Posted: Fri Mar 20, 2009 6:40 am
by jlhromeo
i thought of that too, do i need to change the attack distance or whatever its called?

Re: making my mage not use melee attacks

Posted: Fri Mar 20, 2009 7:32 am
by 3cmSailorfuku
Obviously just change from meele to ranged.