Upgrading Skills on LevelUp, According to Primary Class

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
snygg
Posts: 5
Joined: Mon Oct 19, 2009 5:38 am
Location: Hamburg, Germany

Upgrading Skills on LevelUp, According to Primary Class

#1 Post by snygg » Tue Oct 27, 2009 10:23 am

Howdy folks,
I've been playing around with my profile settings lateley, as I wanted my new Mage/Druid
to level up. This is a relatively new char with some upgraded whites, doing several levelups
per bot session.

I read the wiki and tried the "Levelup a Single Skill by Name" command,
levelupSkill(_skillname [, _times] )
but it did not work as an error in the settings.xml was reported.
With the "Levelup a Single Skill by Skill Parameters"
send_macro("SetSpellPoint( 4, 2 );");
way it works, but when I change my druid to primary I would have to change my profile file or a wrong skill will be upgraded.

So here comes my question: Is there any way I can execute certain OnLevelUp commands only if a certain primary class is active? If so how would I implement it my profile?
Thanks in Advance

My Current Profile Settings:
<onLevelup>
sendMacro("SetSpellPoint(_4, _2);");
--levelupSkill(_MAGE_FLAME [, _1] )
--levelupSkill(_DRUID_EARTH_ARROW [, _1] )
--levelupSkill(_DRUID_RECOVER [, _1] )
</onLevelup>
Just had a levelup with mage as active first class, and an error msg showed on my RoM screen, resulting in no skill upgraded whatsoever.

d003232
Posts: 1252
Joined: Wed Jun 03, 2009 4:27 pm

Re: Upgrading Skills on LevelUp, According to Primary Class

#2 Post by d003232 » Tue Oct 27, 2009 1:48 pm

snygg wrote: So here comes my question: Is there any way I can execute certain OnLevelUp commands only if a certain primary class is active? If so how would I implement it my profile?
Look into the l1-10.xml for that example:

Code: Select all

		if(player.Class1 == CLASS_SCOUT ) then
			changeProfileOption("ARROW_QUIVER", 2);
		end;
The RoM Bot Online Wiki needs your help!

snygg
Posts: 5
Joined: Mon Oct 19, 2009 5:38 am
Location: Hamburg, Germany

Re: Upgrading Skills on LevelUp, According to Primary Class

#3 Post by snygg » Wed Oct 28, 2009 4:49 am

Thank you so much!

Well, in the end I created a new profile from the lvl1-10 one, after many updates a solid idea.
But now I got it all to work just fine.

Keep up the good work, and thanks again for all the efforts you guys put into this.

See ya around

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 4 guests