Page 1 of 1

Upgrading Skills on LevelUp, According to Primary Class

Posted: Tue Oct 27, 2009 10:23 am
by snygg
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.

Re: Upgrading Skills on LevelUp, According to Primary Class

Posted: Tue Oct 27, 2009 1:48 pm
by d003232
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;

Re: Upgrading Skills on LevelUp, According to Primary Class

Posted: Wed Oct 28, 2009 4:49 am
by snygg
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