This is what im trying to achieve, I want the bot to do, hit blind stab first, then constantly use shadowstab till energy runs out, after that, use holy strike 3 times, then use punishment, then rinse and repeat. What it does currently is it hits shadowstab, then blind stab, then holy strike once then punishment, and this is really screwing me big time. Also whats the code to log off, if I die?
<skills_knight>
<skill name="KNIGHT_ENHANCED_ARMOR" modifier="" hotkey="VK_U" priority="100" />
<skill name="KNIGHT_HOLY_SEAL" modifier="" hotkey="VK_F" priority="100" />
<skill name="KNIGHT_CHARGE" modifier="" hotkey="VK_2" priority="95" />
<skill name="ROGUE_SHADOWSTAB" modifier="" hotkey="VK_6" priority="90" />
<skill name="ROGUE_BLIND_STAB" modifier="" hotkey="VK_7" priority="93" />
<skill name="KNIGHT_HOLY_STRIKE" modifier="" hotkey="VK_3" priority="80" />
<skill name="KNIGHT_PUNISHMENT" modifier="" hotkey="VK_4" priority="75" />
<skill name="KNIGHT_MANA_RETURN" modifier="" hotkey="VK_V" priority="70" manaper="60" />
</skills_knight>
Question about Knight/Rogue skills
Re: Question about Knight/Rogue skills
Any ideas how to set those skills up?
- Administrator
- Site Admin
- Posts: 5353
- Joined: Sat Jan 05, 2008 4:21 pm
Re: Question about Knight/Rogue skills
Use a macro.
Re: Question about Knight/Rogue skills
What you mean? What i press?
- Administrator
- Site Admin
- Posts: 5353
- Joined: Sat Jan 05, 2008 4:21 pm
Re: Question about Knight/Rogue skills
I mean you use the /macro command or use an addon that provides this feature for you. A queued skill list requires too many decisions. All it would take is one skill on cooldown to mess up the whole thing in some situations (ie. a skill that puts a debuff on target, followed by skills that require that debuff). People would tend to wait for the skill to be cooled down before continuing the skill-chain, but computers aren't very good at planning things out like this.
You could take advantage of the onSkillCast event to emulate this, though. See here.
You could just mark all skills as autocast="false" (tell the bot to not use them) except for the starting skill. Then, just do this:
You could take advantage of the onSkillCast event to emulate this, though. See here.
You could just mark all skills as autocast="false" (tell the bot to not use them) except for the starting skill. Then, just do this:
Code: Select all
<onSkillCast><![CDATA[
if( arg1.Name == "MAGE_FIREBALL" ) then -- begin skill chain with fireball
player:cast("CLASS_SKILL1");
player:cast("CLASS_SKILL2");
player:cast("CLASS_SKILL3");
end
]]></onSkillCast>