How to change priority and autouse of skills

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
Rickster
Posts: 291
Joined: Sun Oct 24, 2010 4:23 pm

How to change priority and autouse of skills

#1 Post by Rickster » Sat Dec 03, 2011 4:58 am

In some of my WP files I do not need every skill, wich is set up in my profile.
So I read something about the option autouse and added it to the skills, which I do not want to use in generall WP files.

e.g.

Code: Select all

<skill name="KNIGHT_WHIRLWIND_SHIELD" modifier="" hotkey="MACRO" priority="85" autouse="false"/>
Now I want to do three different things:

1. In a WP file I want to activate all skills which are not used in normal WP files. How do I change the autouse option for all pofile skills?

2. For a specific WP file I want to activate an additional skill, not all autouse="false" skills, but one of them.

3. In other WP files I additionally need to change the priority of a skill. Is it possible to do this from within a WP file?

For some WP files it is important to change the skill usings (on/off, priority) within the file, depending on the situation and WP# the bot is at.

Thanx
Ric

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: How to change priority and autouse of skills

#2 Post by rock5 » Sat Dec 03, 2011 5:48 am

1.

Code: Select all

for k,v in pairs(settings.profile.skills) do
    v.AutoUse = true
end
2.

Code: Select all

changeProfileSkill(skillname, "AutoUse", true)
3.

Code: Select all

changeProfileSkill(skillname, "priority", 100)
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

Rickster
Posts: 291
Joined: Sun Oct 24, 2010 4:23 pm

Re: How to change priority and autouse of skills

#3 Post by Rickster » Sat Dec 03, 2011 9:23 am

Thank you rock! :)

Post Reply

Who is online

Users browsing this forum: Semrush [Bot] and 1 guest